2005 Dec 01 6:00 PM
Hello..Requirement is to capture 'Sold-To' customer # which gets generated internally by SAP. I tried exit 'EXIT_SAPMF02D_001' but not successful. I am using transaction 'XD01' to create 'Sold-to' customer and I need to capture internally generated customer # before KNA1 gets updated.
PLEASE ADVISE!.
THANKING YOU IN ADVANCE!.
FELLOW ABAPER.
2005 Dec 01 7:21 PM
You can use BTE (business transaction events) 1320 (Customer master save) or 1321( customer master save with data transfer) or 1340( final checks :customer master data). Use transaction FIBF, Environment, Info system(P/S) to find about it more.
2005 Dec 01 6:08 PM
Normally the number is generated internally. This updates KNA1. For what purpose ru trying to use it. If u want to check it u will not be able to it. But, when u try to save it, u can check it using the corresponding user exit and use it internally for ur purpose. I dont exactly remember the user exit for save, but u can use it in it.
Pl. reward points if this is what u needed.
2005 Dec 01 7:06 PM
thanks ramesh..I found a way, now getting kunnr on commit..thanks for help.
2005 Dec 01 6:22 PM
Hi,
The user exit EXIT_SAPMF02D_001 is fire before its save the data into customer master table so when you check the KNA1(importing) data in this exit you will see the customer number.
Thanks
Rajeev
2005 Dec 01 7:04 PM
Rajeev..I used that exit and import structure value for kunnr is blank, I got the solution and now extracting kunnr on commit.
thanks for the help.
2009 Apr 29 5:05 PM
Dear friend, can you pls. give me the code to capture the customer number you wrote in this exit?
It will be of great help to me.
thanks
regards
tanu
2005 Dec 01 7:21 PM
You can use BTE (business transaction events) 1320 (Customer master save) or 1321( customer master save with data transfer) or 1340( final checks :customer master data). Use transaction FIBF, Environment, Info system(P/S) to find about it more.
2005 Dec 02 3:26 PM
Sharad..Thanks, I already completed the task using "perform get kunnr on commit level nnnn" in the userexit. Let me try using BTE as suggested and update you..thanks again.
2005 Dec 02 4:17 PM
Sharad..BTE 1340 did not work, 1321 worked...thank you so much.
2008 Nov 24 12:59 PM
hi ,
Can u suggest me the way or tips for use of BTE 1321?
Regards
Ricky
2008 Nov 24 5:39 PM
Hi
Can you plz explain me about BTE( Step by Step procedure ) and how they can be implemented..
Thanks
Swathi