Q
Problem solve Get help with specific problems with your technologies, process and projects.

Sorting out multiple user exit calls

I have been assigned to make a modification to USEREXIT_SAVE_DOCUMENT (MV50AFZ1). The purpose is get RFC_CALL_TRANSACTION...

to do GR ref. PO on another R/3 system when Goods Issue has been completed on the vendor system. Thing is, both Save and Post-GI buttons come to this exit. How can we determine which one is coming from the Post-GI trigger?


It is quite a common occurence that a userexit gets called in multiple circumstances. Find a flag somewhere that specifies the calling event. This could be a value in a field, or even a supplied parameter. In your case, I'd check which field is used to trap the okcode from the screen. If it contains SICH then save was pressed. If it contains DLWA_T then Post Goods Issue was pressed.


This was last published in March 2003

Dig Deeper on SAP Basis administration and NetWeaver administration

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close