Application Development 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: 

User exit while changing J1IG document

Former Member
0 Kudos

Dear All

In J1IG transaction,

I needed to build control to make AED field mandatory so I used function module J_1I7_USEREXIT_EXCISE_BEF_SAVE

While testing, I posted a document through J1IG and the check worked correctly.

Now when I am editing the posted document, I removed the AED value and saved the document.

On save, the user exit did not trigger and the document was saved incorrectly.

I tried several exits including

J_1I7_USEREXIT_UNIT_MULTIPLE  

J_1I7_USEREXIT_UPDATE_CHALLAN 

J_1I7_USEREXIT_UPDATE_DETAIL  

J_1I7_USEREXIT_UPDATE_STYPE

but none is working for me(not triggering at the time of save(modifying the posted doc)).

Please suggest a way to control this at the time of modifying the document

Regards

Iyer Kartik

5 REPLIES 5

former_member192897
Active Contributor
0 Kudos

How can you edit a posted excise document? Can you share the screenshot of your posted document where you are allowed to change the AED..

0 Kudos

I have attached the screenshot.

Earlier document was posted with AED as 40.

After that I modified it to zero.

Regards

0 Kudos

Attachment missing. Did you try with the following Badi's

MB_CHECK_LINE_BADI

MB_MIGO_BADI

0 Kudos

Dear Ashok

We post J1IG separately and not at the time of migo.

Regards

0 Kudos

That is fine. Can you share your J1IG screen shot where you are allowed to change the AED for a Posted document.