on 10-25-2007 7:27 AM
i developed PO zsmartform with standard program(after copying to zprogram) attached to it.in ME22N----->GO TO HEADER--
>RELEASE STRATEGY
if release indicator(ekko-frgke) is 1(which implies PO RELEASED) then only PO should get printed when i click on PRINT PREVIEW.
if release indicator(ekko-frgke) not equal to 1 then PO should not be printed even if i click on PRINT PREVIEW.please suggest how to put the logic and where to keep the logic in standard program.i came across thes function module
CALL FUNCTION 'ME_READ_PO_FOR_PRINTING'. will it work if i keep the logic above it like
if ekko-frgke = 1.
CALL FUNCTION 'ME_READ_PO_FOR_PRINTING'
''''''''''''
endif.
please help.
Hi,
You can pass a mesaage when the release indicator(ekko-frgke) not equal to 1 or you can avoid it by pass clearing the ITAB which is being passed to the FM
regards
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ideally you shoukd not change the STD SAP Code..
check if you can get any Exit for this purpose...
if there is no Exit or BADI.. then in the calling report...
search where the smartform is getting called...
jst before that if...
if ekko-frgke = 1.
*then only call the printing function module...
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.