Skip to Content
0
Former Member
May 14, 2013 at 07:05 AM

Connection between J1IJ and J1IG

26 Views

Hello Friends

I have a query while preparing logic for a check I need in J1IG transaction.

The check is that I want to make Additional Excise Duty(AED) mandatory while posting J1IG for a certain range of products.

For this I am making use of J_1I7_USEREXIT_EXCISE_BEF_SAVE function module

I am stuck in below scenario

5 Materials moves from one Depot to another Depot, sending depot creates delivery, does PGI and posts J1IJ with multiple materials in the document.

Now receiving depot posts goods receipt and posts J1IG. In our business practice, J1IG is posted only for 1 material at a time.

Thus for above case against one J1IJ, 5 different J1IG documents will be posted

Here I want to check while posting each J1IG, whether AED is captured in the J1IJ document, if not then I will give an error message.

I am trying to use J_1IEXCDTL and J_1IEXCHDR tables.

How do I achieve this?

Regards

Iyer Kartik