06-30-2008 7:02 AM
Hi...
I have a requirement wherein based on certain conditions if not true, I have to trigger the output immediately by calling RSNAST00, passing output application, object key, output type.
I am new to ABAP, so can someone please explain me the requirement and how to achieve this.
Thanks.
06-30-2008 7:41 AM
Hi,
When you go through the code of this RSNAST00, we can see the required seelction screen fields.
In your program, try to declare thses variables and validate them against the respcective tables. Based on this in the AT-SELECTION screen event,
we can call this program by passing the reuqired fields using the SUBMIT ... cehck the syntax with parameters, we can trigger the set the otuput type and print that immdetaleiy.
Check the SUBMIT statement to call other program in SAP ABAPDOCU.
SUBMIT...programname---parametrs list.
Reward if helpful.
Regards
Chandralekha
06-30-2008 7:41 AM
Hi,
When you go through the code of this RSNAST00, we can see the required seelction screen fields.
In your program, try to declare thses variables and validate them against the respcective tables. Based on this in the AT-SELECTION screen event,
we can call this program by passing the reuqired fields using the SUBMIT ... cehck the syntax with parameters, we can trigger the set the otuput type and print that immdetaleiy.
Check the SUBMIT statement to call other program in SAP ABAPDOCU.
SUBMIT...programname---parametrs list.
Reward if helpful.
Regards
Chandralekha