on 03-18-2011 5:21 AM
Hi All,
Is there any user exit or badi after save of J1iin where i can get the excise invoice No. which is being saved.
Thanks & Rgds
Hi,
MJ1IINF01- FORM read_exc_ref_details.
*----
***INCLUDE MJ1IIF01 .
*----
&----
*& Form READ_EXC_REF_DETAILS
&----
Read the excise refrence documennt details *
----
here EXCITM * excise item details for the excise invoice
vbeln_b LIKE vbrp-vbeln, "pro forma no,
posnr_b LIKE vbrp-posnr, "pro forma item
vgbel LIKE vbrp-vgbel, "delivery
vgpos LIKE vbrp-vgpos, "delivery item
aubel like vbrp-aubel,
aupos like vbrp-aupos,
xaubel like vbrp-aubel,
xaupos like vbrp-aupos,
matnr LIKE vbrp-matnr, "material no.
arktx LIKE vbrp-arktx, "material desc.
fkimg LIKE vbrp-fkimg, "invoice quantity
meins LIKE vbrp-meins, "unit
werks LIKE vbrp-werks, "plant
lgort LIKE vbrp-lgort, "storage location
charg LIKE vbrp-charg, "batch
excbase LIKE komv-kawrt, "excise base
kursk LIKE vbrp-kursk, "exchange rate
bed LIKE j_1iexchdr-exbed,
aed LIKE j_1iexchdr-exaed,
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Please check include MJ1IINF01. There are enhancement point available in MJ1IINF01. See the line no 2058 where actually system insert data into J_1IEXHDR table, where you can find whole details of excise invoice and excise invoice no also.
Edited by: Dhiraj Bhaskar on Mar 18, 2011 11:17 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Update table J_1IEXCHDR *
----
FORM save_excise_header.
j_1iexchdr-docno = idata-docno.
j_1iexchdr-docyr = idata-exyear.
j_1iexchdr-exnum = idata-excnum.
INSERT j_1iexchdr.
IF sy-subrc <> 0.
MESSAGE a308(8i) WITH 'J_1IEXCHDR' .
ENDIF.
ENDFORM. " SAVE_EXCISE_HEADER
This is the spot where enhancement point is available in inclued MJ1IINF01. where u can get data in ITAB. where u can get the reference no, excise invoice no as well as other details which are stored in J_1IEXCHDR table.
Hi,
Check User exit J_1I7_USEREXIT_EXCISE_BEF_SAVE
regards,
Siraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.