on 04-23-2014 5:45 AM
Hii experts, we have a gl named CENVAT (Purchase) Clearing Account.. in that document Re is processed when J1iex is done and some line items in that are generated automatically... soo fbl reports.. specially for this a/c ... Purchase doc. is blank for document Re... now i have changed the sort key from posting date to purchase document no..now the assignment fields comes blank or 0000 in document type re...please help to solve the issue
Regards,
Abhay
Hi Abhi
We had this requirement for Auto clearing of CENVAT in F.13
PO Number was populated in CENVAT Account during MIGO and not populated during MIRO (Or vice versa)
We had to use substitution in OBBH using user exit to populate the PO Number in the "Purchase Order" field
Br. Ajay M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhi
Write a substitution like this
Prerequisite:
BKPF-BUKRS = XXXX and BSEG-HKONT = 00YYYYYYYY (Ensure full 10 digit length)
Field to be substituted:
BSEG-EBELN (Using Exit ZGGBS000)
Br. Ajay M
PS: If BSEG-EBELN is not available for substitution, you need to modify the Table entry in GB01 for field EXCLUDE against BSEG-EBELN
Hi Abhay,
Please follow the link below where I have answered this question.
http://scn.sap.com/thread/1844331
Regards,
Kavita
HI Abhay,
I am also pasting the code here.. You can give it to your Abaper and use the exit in substitution to substitute on ZUONR field.
FORM u900.
*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
*RM08M-EBELN
*SAPLMR1M
FIELD-SYMBOLS : <fs_ebeln> TYPE RM08M-EBELN .
FIELD-SYMBOLS : <fs_ebelp> TYPE RM08M-EBELP .
FIELD-SYMBOLS : <w_ebelp> TYPE ANY .
DATA : l_fname1(50) TYPE c,
l_fname2(30) TYPE c VALUE '(SAPLFACI)ACCIT_FI-TAXPS',
ebelp LIKE bseg-ebelp.
l_fname1 = '(SAPLMR1M)RM08M-EBELN' .
ASSIGN (l_fname1) TO <fs_ebeln> .
IF sy-subrc = 0 AND <fs_ebeln> IS NOT INITIAL .
IF bseg-hkont = '0010018400'.
l_fname2 = '(SAPLFACI)ACCIT_FI-TAXPS' .
ASSIGN (l_fname2) TO <w_ebelp> .
ebelp = <w_ebelp>+2(4) * 10.
bseg-xref1 = ebelp .
bseg-zuonr = <fs_ebeln>.
ELSE.
bseg-zuonr = <fs_ebeln>.
ENDIF.
endif.
ENDFORM. "U900
Regards,
Kavita
Note : Chnage the GL in the code as applicable for your organization
hey ajay sir.. 1st i went to obbh .. double clicked the substitution and created that perquisite and( should i select OR) i had 2 gl where one gl has assignment is blank and another posting date which was changed to purchase order... then in substitution i selected BSEG-ZUONR and i select exit( hope i right).. selecting the exit name and saved it now...
hiii Ajay Sir and Kavita Mam... i have created the substitution but still not getting the the assignment field.... i will show u my substitution and the assignment.. please guide me .. the abaper has created a exit.. but the form in which he mapped the gl.. is not coming in selection.. he copied the same as Kavita Mam suggested.. Please guide me
Hi Abhay,
You have mentioned 2 GL accounts in your Exit. It should be your CENVAT clearing account only. Why have you maintained 2 GL's?
This code is tried and tested. so ask ABaper to put breakpoint and check what is missing. Logic is simple, concatenate P.O. no. and item no. and populate in ZUONR field.
Regards,
Kavita
User | Count |
---|---|
97 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.