Skip to Content
0
Former Member
Oct 24, 2009 at 05:33 PM

MESSAGE_TYPE_X DOCUMENT_POST using MIGO or MB1C

226 Views

HI. Pls I´m trying to post a good receipt using MB1C. I´m using 561 type movement and i get this dump. I also try using MIGO and the error is the same.. Pls. help me!!!

"MESSAGE_TYPE_X" C

"SAPLRWCL " or "LRWCLF01 "

"DOCUMENT_POST"

Information on where termination occurred

The termination occurred in the ABAP program "SAPLRWCL " in "DOCUMENT_POST".

The main program was "SAPLMIGO ".

The termination occurred in line 544 of the source code of the (Include)

program "LRWCLF01 " of the source code of program "LRWCLF01 " (when calling the editor 5440).

Source code extract

005140 ld_gjahr = sy-datum(04).

005150

005160 CALL FUNCTION 'RWIN_CHECK_SUBSET'

005170 EXPORTING

005180 i_event = r_event

005190 i_gjahr = ld_gjahr

005200 i_process = r_process

005210 i_subset = gd_subset

005220 i_comp_only = r_comp

005230 TABLES

005240 t_trwpr = lt_trwpr.

005250

005260 LOOP AT lt_trwpr.

005270

005280 CALL FUNCTION lt_trwpr-function

005290 EXPORTING

005300 i_awtyp = r_awtyp

005310 i_awref = r_awref

005320 i_aworg = r_aworg

005330 i_awsys = r_awsys

005340 EXCEPTIONS

005350 error_message = 01

005360 OTHERS = 02.

005370

005380 IF NOT sy-subrc IS INITIAL.

005390 ld_msgty = sy-msgty.

005400 IF NOT ld_msgty = 'A'.

005410 * *switch message type to 'X' => no commit and short dump*

005420 ld_msgty = 'X'.

005430 ENDIF.

> MESSAGE ID sy-msgid

005450 TYPE ld_msgty

005460 NUMBER sy-msgno

005470 WITH sy-msgv1

005480 sy-msgv2

005490 sy-msgv3

005500 sy-msgv4.

005510 ENDIF.

005520 ENDLOOP.

005530

005540 PERFORM check_components " post

005550 TABLES lt_trwpr

005560 USING 'C'.

005570

005580 ENDFORM. "DOCUMENT_POST

005590 *

005600 * *

005610 * FORM RWIN1_READ *

005620 * *

005630 * Aufruf des RW-Interfaces *