Uderc programming article aggregator sites

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

Tags:
Answers: Have 4 answers
Advertisement
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
Advertisement
The best answer: Hi ,
Any inputs
for this error
No RFC destination is defined for SAP Global Trade Services
Regards
Ashu