When trying to post a preliminary posted invoice, message M8252 - 'Parked document & cannot be posted (see Details -> Messages)' appears. However when the user attempts to use DETAILS > MESSAGES, the error message M8107 - 'No messages exist' appears.
Cause and prerequisitesMR44 posts the preliminary posted invoice using batch input in background ('CALL TRANSACTION'). If the batch input fails, message M8252 is returned, rather than the actual message from the batch input run. Usually such messages may be displayed via DETAILS > MESSAGES, but in some cases the relevant message has not been included in the XMESG table by function MR_CREATE_INVOICE.
SolutionFirstly, you need to identify the real error which is preventing the posting. To do this without changing the programs, set a breakpoint in LMRBIU01 before executing the statement CALL TRANSACTION 'MR01' ...
Set the value of MODUS to 'A' (foreground) or 'E' (errors only), then press pushbutton 'CONTINUE'. This will allow the user to see the BDC session being posted, and therefore see the actual error which causes the problem.
WARNING: It is ESSENTIAL!!! that users are warned NOT to change
anything in the BDC session - this procedure must be used as a diagnostic tool ONLY.
To leave the transaction without posting anything, enter '/N' in the OK code field. Do NOT use the functions 'Back', 'Exit', 'Cancel'.
Once the cause of the error is determined, the relevant error message number/text must be reported back to the developers so that MR_CREATE_INVOICE can be modified to prevent the error situation.
Additional key words
MR44 SAPMM08R MR_CREATE_INVOICE SAPLMRBI
No comments:
Post a Comment