on ‎2017 Mar 24 6:10 PM
Hello Experts,
I am using the Retraction implementation from BPC to CO, but I have an issue. The number of data that is send to the BADI is 40,000 I asume that it is bc is the parameter is configured that way:

I have search and change the parameter VALUE in the IMG configuration to 100,000 to test. But the value doesn't change it remains the same.

I tried to chant it at Model level, Environment level even at Global level but the parameter won't change. Am I getting the right parameter?
I it other way that the parameter should be changed??
Best regards.
Request clarification before answering.
"The number of data that is send to the BADI is 40,000" - incorrect, the data is sent in packets with 40,000 lines and the badi is called multiple times. Please debug the code and you will see 🙂
Just write badi in the way it will correctly accept next packet.
ABAP sample:
method IF_UJD_RETRACT~RETRACT.
DATA: l_more_data TYPE C.
IMPORT more_data = l_more_data FROM MEMORY ID 'Z_RETR_MORE_DATA'.
IF I_MORE_DATA = 'X'.
EXPORT more_data = I_MORE_DATA TO MEMORY ID 'Z_RETR_MORE_DATA'.
ENDIF.
IF l_more_data IS INITIAL.
"First run!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good finding!
Also if you add:
TASK(/CPMB/BADI_TARGET,SELECTION,%SELECTION%)
You will be able to analyse the user selection in the badi code!
| User | Count |
|---|---|
| 30 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.