Skip to Content
0

Question Parameter SPACKAGESIZE

Mar 24, 2017 at 06:10 PM

60

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Vadim Kalinin Mar 25, 2017 at 05:39 AM
1

"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!
Show 2 Share
10 |10000 characters needed characters left characters exceeded

Thank you very much for the answer Vadim, I will ask the ABAP Consultant to include the code. I also found a way to change the parameter: I modified the code for the package:

I added the parameter size in the package.

code.png (58.6 kB)
1

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!

1