on 09-11-2008 12:27 PM
Hi SAP gurus,
While doing time of goods recepit with movement 101 in MIGO, facing ABAP runtime error problem.
suppose if i take 106 &107 movement type in that case there is no isues in goods recepit time.
pls suggest me what could be the possibilities.i below i place that runtime error
{"29 * when a goods movement for an inbound or outbound delivery is posted
30 * directly from VL31N/ VL01N, XBLNR is not yet known when we call
31 * CKMV_AC_DOCUMENT_CREATE, but the number is supposed to be stored in
32 * BKPF as well. There is no other way to forward XBLNR to FI as not
33 * every document is posted by MB_CREATE -> a new function module in
34 * MBWL for transferring the information, called by FI, meant to load
35 * the complete function group for all MBxx postings when this isn't
36 * required (Performance). Would be the better way to transport the
37 * information after switching off MBxx in later release.
38 * corresponding IMPORT ... FROM MEMORY ... can be found in
39 * AC_DOCUMENT_POST (FORM FI_DOCUMENT_PREPARE (LFACIF5D))
40 l_mem_id = 'MKPF-XBLNR'. " 641365
41 EXPORT xblnr = xblnr_sd TO MEMORY ID l_mem_id. " 641365
42 ENDIF.
43 IF xmkpf-xabln IS INITIAL. "note 434093
44 CALL FUNCTION 'MB_XAB_NUMBER_GET'. "note 434093
45 ENDIF. "note 434093
46
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 MOVE-CORRESPONDING xmkpf TO emkpf.
70 CALL FUNCTION 'MB_MOVEMENTS_REFRESH'
71 EXCEPTIONS
72 error_message = 4.
73 MOVE-CORRESPONDING xmkpf TO emkpf.
74 CALL FUNCTION 'MB_MOVEMENTS_REFRESH'
75 EXCEPTIONS
76 error_message = 4.
77 IF NOT sy-subrc IS INITIAL."}
Thanks & Regards
murali
Hi,
Goto ST22, open the error message and let us know what is written in section:
'What can you do?'
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
BKPF as well. There is no other way to forward XBLNR to FI as not
try checking no range for gr doc and fi docs in omba and ombt
regards
kunal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is the exact Dump message?
you post whole code but no header message were post!
check OSS 1047059
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.