on 01-22-2013 10:16 AM
Hi All,
I tried to set in copy control for reference number in billing document is: B- Sales Order document.
My creating document process as below:
Contract --> Normal sales order: number AAAAA1 - Billing: number 100000 -->Sales order for Credit note request: number BBBBB1--> Credit note: number 20000
I set in copy control of Billing is B. But in credit note, reference field is AAAAA1. I want reference number is preceding document, in here it should be BBBBB1.
When Abaper uses BAPI to create so everything is ok but when I use SAP GUI, the reference number for credit note above is always normal sales order.
Do you have any idea to solve this thing? I really appreciate your support.
Best regards.
Nguyen Pham.
Hi
Check the subroutines (VOFM) in tcodes for copy control (VTAA, VTAF, VTFA and so on). You can create your own subroutines with tcode VOFM.
I hope this helps you
Regards
Eduardo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
What BAPI are you using?. Set a break-point and check the logs in table RETURN (structure BAPIRET2), although I think you don't have errors. I suggest you to check your VOFM in your copy rules as a way to know the reason your GUI processing set the number for the preceding document.
Regards
Eduardo
Hello,
Before going to proceed further, Plz check & confirm your presettings in transcation Code: NACE.
Regards,
Akg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
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.