2008 Oct 24 3:47 AM
Hi friends,
I tried to store a data in the Memory (using the EXPORT and IMPORT statement) during GR creation.
What I wanted is that the value that will be coming from BADI MB_DOCUMENT_BADI (this is where I put my Exporting) will be passed to BADI LE_SHP_DELIVERY_PROC (this is where I put my Import)....
But when I debug, nothing is retrieved from the memory when I reached my 2nd BADI. But the Export - Import is working when I tried it to another BADIs. But I need the data in my 2nd BADI 'coz at this BADI, the material document is already created. The other BADIs that are able to retrieve the data in the memory is not appropriate because Mat. Doc. is not yet created to those BADI.
Any help is much appreciated and rewarded. Thanks.
2008 Oct 24 4:26 AM
Hi,
Which method in the BADI mb_document_badi are you exporting the values..
and in which method are you importing the values..
Thanks
Naren
Hi friends,
I tried to store a data in the Memory (using the EXPORT and IMPORT statement) during GR creation.
What I wanted is that the value that will be coming from BADI MB_DOCUMENT_BADI (this is where I put my Exporting) will be passed to BADI LE_SHP_DELIVERY_PROC (this is where I put my Import)....
But when I debug, nothing is retrieved from the memory when I reached my 2nd BADI. But the Export - Import is working when I tried it to another BADIs. But I need the data in my 2nd BADI 'coz at this BADI, the material document is already created. The other BADIs that are able to retrieve the data in the memory is not appropriate because Mat. Doc. is not yet created to those BADI.
Any help is much appreciated and rewarded. Thanks.
2008 Oct 24 4:26 AM
Hi,
Which method in the BADI mb_document_badi are you exporting the values..
and in which method are you importing the values..
Thanks
Naren
2008 Oct 24 5:24 AM
export and imports will work only when you define the parameters with same name and type.
export side.
data: matnr type mara-matnr.
export matnr from matnr to memory id 'AAA'.
"need to define variable same in the import side
"exactly with the same nameimport side
data: matnr type mara-matnr.
import matnr to matnr from memory id 'AAA'.
2008 Oct 24 7:24 AM
Thanks for your time for the 2 of you. I've already managed it now. I've found another BADI to do my IMPORTING.
I used MB_DOCUMENT_BADI for my EXPORTING
and DELIVERY_PUBLISH for my IMPORTING...
Have a nice day ahead!
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |