‎2008 Feb 17 9:38 AM
Hai All,
Problem is when try to call MIR7 tcode in my workflow it showing without other Invoice document(Ctrl +F10) button. but when i call induvidually (/nMIR7) IT Showing that button.
if u click on that button and giving Document number and fiscal year it showing the parked document details.
Can u Please guide me how to get that screen. with code
‎2008 Feb 22 4:01 PM
Hi,
have a look at the following code snippet:
Program: SAPLMR1M
Include: LMR1MI3U
Module: MODULE (PAI) FCODE_6100
MODULE fcode_6100 INPUT.
IF ok-code = fcook.
mir4_change = 'X'.
SET PARAMETER ID: 'RBN' FIELD rbkpv-belnr,
'GJR' FIELD rbkpv-gjahr,
'RBS' FIELD rbkpv-rbstat,
'CHG' FIELD mir4_change.
IF sy-tcode = tcode_mir4.
LEAVE TO TRANSACTION tcode_mir4 AND SKIP FIRST SCREEN.
ELSE.
CALL TRANSACTION tcode_mir4 AND SKIP FIRST SCREEN.
ENDIF.
ENDIF.
SET SCREEN 0. LEAVE SCREEN.
ENDMODULE.
Best regards.