2014 Feb 05 5:19 AM
hi,
can any one explain me the exits for xd01 where i can store the customer number while debugging and not internal as value of customer number.
hi,
can any one explain me the exits for xd01 where i can store the customer number while debugging and not internal as value of customer number.
2014 Feb 05 5:25 AM
Can you explain me little bit more with examples ! Not clear for me!
2014 Feb 05 5:37 AM
Did u try any BADI methods? for e.g.in BADI- CUSTOMER_ADD_DATA, there is SAVE_DATA method wherein you can get the customer number.
2014 Feb 05 5:46 AM
Hi Kiran,
in xd01 m putting account group as g one-time client,and company code as us01 after thet m putting values for title,streetno,postal code,region.then i put values for industry code.then on extra i put values on classification.thet is udns number,name,uhc duns number,name.now when after clicking on back button it is taking me to exit_saplclfm_002 there i have written the logic.but after debugging m seeing that the customer number it has stored is internal.so i need a point where i can insert the actual client number in place of internal
Regards,
Rakesh
2014 Feb 05 6:06 AM
Hi Rakesh,
If it is one time customer! Please create the external number range for this! You are trying to change the internal number of a customer with the external client number! I guess it is not good idea to change from internal number to external.
Even it is not avoidable!
Check exact place where the number will be generated and play with implicit enhancements as per your requirment!
For your information it works if you do it beck before function! Please find the example I created!
Changed from internal to external ( Kiran).
2014 Feb 05 5:41 AM
Hi,
Put the breakpoint in the code ( Program : MF02DFK0 ; Function : NUMBER_GET_NEXT). After the function call, the KNA1-KUNNR will contain the customer number.
Also don't forget to put breakpoint on statement for the following statements:
i) Call customer ( Customer exit )
iii) get_badi ( give information on kernel BADI )
Breakpoint on method: ( Classic BADI)
i) Class - CL_EXITHANDLER
ii) Method - GET_INSTANCE .
You can make use of any exit, triggered after FM 'NUMBER_GET_NEXT'.
Regards,
DPM
2014 Feb 05 5:49 AM
Hi,
Yesterday u have posted the same question and deleted i guess, anyways
for ur issue, either use conversion routine to get the internal or external customer number.
or check whether you are using the correct customer account group, because for few account group the internal assignment is done.
regards,
2014 Feb 05 5:50 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |