BADI,s

pts.
Tags:
SAP ABAP
Hi I call a method in a BADI more than once. The values of the first call is kept and the second call just adds to the previous calls values. i can solve this by clearing all the exporting parameters in the begining of the BADI.Is ther no easier way like just clearing the BADI after the method call. Tried free and clear, that just derefernces the badi but the values are still kept regards Jan

Answer Wiki

Thanks. We'll let you know when a new response is added.

Have you, or are you able to create another instance of the method?

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Esmeralda
    Hi Janjan, Try to pass the exporting parameters by value instead of by reference (default) then they will be initialized automatically at beginning. In parameter definition, there is a checkbox called 'Pass value' : clik on it for each of your exporting parameters. Esmeralda
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: