Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting ABAP runtime error while doing MIGO-GR against PO.

Former Member
0 Kudos

Hi,

Getting ABAP runtime error message while doing GR against PO.


47 ENHANCEMENT-POINT MB_POST_GOODS_MOVEMENTS_01 SPOTS ES_SAPLMBWL STATIC.
48
49 ENHANCEMENT-POINT MB_POST_GOODS_MOVEMENTS_02 SPOTS ES_SAPLMBWL.
50    CALL FUNCTION 'MB_CREATE_MATERIAL_DOCUMENT_UT'
51         EXCEPTIONS
52           error_message = 4.
53 *  As soon as we have started to put things into UPDATE TASK, we must
54 *  ensure that errors definitely terminate the transaction.
55 *  MESSAGE A is not sufficient because it can be catched from
56 *  external callers which COMMIT WORK afterwards, resulting in
57 *  incomplete updates. Read note 385830 for the full story.
58    IF NOT sy-subrc IS INITIAL.
>>       MESSAGE ID sy-msgid TYPE x NUMBER sy-msgno WITH            "385830
60                  sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
61 *     MESSAGE A263.
62    ENDIF.
63 * Optische Archivierung
64 * Spaete Erfassung mit Barcode
65 * Redesign of barcode handling -> note 780365
66   PERFORM barcode_update(sapmm07m) USING xmkpf-mblnr
67                                          xmkpf-mjahr
68                                          barcode.
69
70   MOVE-CORRESPONDING xmkpf TO emkpf.
71   CALL FUNCTION 'MB_MOVEMENTS_REFRESH'
72     EXCEPTIONS
73       error_message = 4.
74    MOVE-CORRESPONDING xmkpf TO emkpf.
75    CALL FUNCTION 'MB_MOVEMENTS_REFRESH'
76         EXCEPTIONS
77           error_message = 4.
78    IF NOT sy-subrc IS INITIAL.

Any pointers

Code Formatted by: Alvaro Tejada Galindo on Jan 14, 2010 6:00 PM

3 REPLIES 3

Former Member
0 Kudos

Hi ,

Any inputs

for this error

No RFC destination is defined for SAP Global Trade Services

Regards

Ashu

Former Member
0 Kudos

ansd

0 Kudos

Hi Ashutosh,

I am getting exactly the same error and same short dump in MIGO - can you share how this problem was solved?

Thanks a lot...