on 09-15-2009 3:29 PM
Hi All,
I have a problem with the data that is being passed from SRM to ECC to create the invoice for Procurement Cards.
In the IDoc fields HEADER_TXT and REF_DOC_NO are populated for segment E1BPPCGEN. However when the ACLPAY IDoc is created field xblnr is blank for segment E1ACH3. After debuggin the code it seems that the xblnr field is populated from field XACCIT-XBLNR however I cannot see anywhere in the program where field XACCIT-XBLNR is actually updated.
I am getting an error in ECC because the document type expects the reference field (xblnr) to be populated.
Anyone any ideas?
Cheers
Chris
Hi Chris,
You can use BAdI BBP_PC_ACLPAY_BADI to populate the reference document number field (xblnr) in idoc segment E1ACH3.
Cheers,
Serguei
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chris,
You may need to populate the reference number into a parameter in user exit EXIT_SAPLBBP_PC_001, called prior to BBP_PC_ACLPAY_BADI. Then, in the BBP_PC_ACLPAY_BADI, you just import the reference number from that parameter. This is as far as I can advise on this from the programming logic perspective; ABAP is not my expertise area. Hope it gives you enough direction, though.
Cheers,
Serguei
Any ideas?
also does anyone know whether BADI BBP_PC_ACLPAY_BADI is actually called?
Cheers
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.