2009 Apr 09 6:00 AM
Dear Experts,
I have a custom developed screen using which I am getting the customer details from user and then using BDC to create the customer in SAP(in XD01) I want to capture the SAP generated customer number and update it back in my z-table. Can some one guid me as to how I can achieve this?
I tried to capture it using BDCMSGCOLL but the SAP no. is not getting captured here.
Awaiting your reply,
Bhavin
2009 Apr 09 7:11 AM
u must get customer number in MSGV1 MSGV2 MSGV3 MSGV4 fields of BDCMSGCOLL.. If not then read the PARAMATER ID 'KUN' for customer number using GET statement..
hope this ll help
u must get customer number in MSGV1 MSGV2 MSGV3 MSGV4 fields of BDCMSGCOLL.. If not then read the PARAMATER ID 'KUN' for customer number using GET statement..
hope this ll help
2009 Apr 09 6:14 AM
After a customer is created a success message is displayed with Customer number.You can cathc that messages value.
Just after every 'CALL TRANSACTION 'XXX' USING BDCTABLE' any one system field will capture the Customer number (SY-MSGV1,SY-MSGV2,SY-MSGV3,SY-MSGV4) i am not in front of the system just check with these system field on of them will capture the Number.
Regards,
gurpreet
2009 Apr 09 7:11 AM
u must get customer number in MSGV1 MSGV2 MSGV3 MSGV4 fields of BDCMSGCOLL.. If not then read the PARAMATER ID 'KUN' for customer number using GET statement..
hope this ll help
2009 Apr 09 11:19 AM
Thanks for the reply guys, The customer no is getting captured with MSGTYP = 'S' and MSGNR=174.
Regards,
Bhavin
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |