Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BADi INVOICE_UPDATE

Former Member
0 Likes
813

Hi All,

I am using Badi INVOICE_UPDATE to change the value of 'Tax Amount' with some other value when i am going to create a Invoice for the Purchase Order. I am not able to set the flag inside the BADi which for which i need to make the changes. So please any of have worked on the same scenario plz suggest me.

Waiting for quick replies from your end.

Thnks in advance.

Santosh

Hi All,

I am using Badi INVOICE_UPDATE to change the value of 'Tax Amount' with some other value when i am going to create a Invoice for the Purchase Order. I am not able to set the flag inside the BADi which for which i need to make the changes. So please any of have worked on the same scenario plz suggest me.

Waiting for quick replies from your end.

Thnks in advance.

Santosh

3 REPLIES 3
Read only

Former Member
0 Likes
664

Hi ,

You achieve this using the ABAP memory:

From the place you want to capture the FLAG:

export flag to memory id 'YOURID'.

.

At the place you want to check the FLAG and do some operations:

import flag from memory id 'YOURID'.

Now when you have the FLAG value, you can check that and do the desired operations.

Hope these option might have clarified most of your doubts.

Regards,

Ashish Arora

Read only

0 Likes
664

Hi Ashish,

Thanks for ur reply.

I am writing the required code in the BADi itself to make the changes and want to capture the flag in the same BADi after making the changes. So where to export the flag and where to import the flag.

I didnt get your solution how to do it. so will you please eloborate your answer little bit more.

Waiting for your reply.

Regards,

Santosh

Read only

Former Member
0 Likes
664

Hi All,

I am using Badi INVOICE_UPDATE to change the value of "Tax Amount-MWSKZ" with some other Tax Amount value when i am going to create a Invoice for the Purchase Order from MRIS Tcode. I am not able to do it with the INVOICE_UPDATE BADi because there are no export parameters in the BADi. So please any of have worked on the same scenario plz suggest me.

Waiting for quick replies from your end.

Thnks in advance.

Santosh