‎2008 Nov 11 5:32 AM
Hi
I want to display script forms on the basis of country criteria for the tcode mrrl after that for IR its mr990.
The scenario is like right now there is only one script form 'Z_ERSTLR', which is being displayed whenever the above tranaction is run.
Now I want to link the form specific to the country like if country is FRANCE then form 'Z_ERSTLr_Gr' (which I copied from exiting form) will display.
But the form name I won't b able to pass internally as its internally passed in parameter of function i_foname.
1.The exit used here is 'EXIT_SAPLMRMH_001' for MRRL.
2.Subroutine where form name is passed 'ZRM08NAST'
code as
FORM entry_ers USING retcode LIKE sy-subrc
XSCREEN TYPE C.
xscreen LIKE boole-boole.
archive
arc_params-sap_object = nast-objtype.
toa_dara-sap_object = nast-objtype.
CLEAR toa_dara-object_id.
toa_dara-object_id = nast-objky+4(14).
CALL FUNCTION 'ZMRM_ENTRY_ERS'
EXPORTING
i_nast = nast
*i_fonam = tnapr-fonam "form name is passed here*
i_xscreen = xscreen
i_arc_params = arc_params
i_toa_dara = toa_dar
kindly provide ur valuable inputs.
Regards
Ajay
‎2008 Nov 11 5:50 AM
Hi
If the output is triggered using Output type, the above said requirement can handled in Config itself.
Basically they need to create condition records and assign SAPSCRIPT at conditiion record level.
Pls speak to functional consultant
Regards
Madhan D