06-21-2011 11:03 AM
Hi All,
While posting material document through MIGO against purchase order, when all details are filled on the MIGO screen, check item button is pressed, after that BACK button on the screen is pressed, it asks us to save the material document. This is leading to DUMP.
Basically, an implementation has been created for this BADI.
It gives dump on the following line.
CONCATENATE 'Batch' gwa_mseg-charg
'was already posted to plant' wa_mcha-werks
INTO MSG_STR SEPERATED BY SPACE.
CONDENSE MSG_STR.
MESSAGE W000(ZZ) WITH MSG_STR. (This statement gives dump in MIGO)
The length of variable MSG_STR is 150 char of type C.
Let me know if anyone has any inputs on this.
06-21-2011 11:19 AM
Try declaring MSG_STR as a string.
Also provide few more details on what exactly is the dump.
-Muktar