Skip to Content
author's profile photo Former Member
Former Member

MESSAGE_TYPE_X DOCUMENT_POST using MIGO or MB1C

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 *

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 17, 2012 at 11:12 AM

    Hi Johnny!

    Could you have some news about this subject? I have the same issue and really dont know whats going on.

    Thank you.

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.