05-30-2014 7:15 AM
Hi,I have table and a program,the program should be called in smartforms. can any let me know the procedure..?
05-30-2014 7:23 AM
Hi,
like in other abap program : perform form in program prog.
don't try to call with a selection screen, I'm not sure SAP will appreciate
regards
Fred
05-30-2014 7:29 AM
Hi Rahman,
1) Use Submit statement.
2) Perform(perform_name) in Program(Program_name).
3) use: field = '(PROGRAM_NAME)I_TAB[]'
assign (field) to <lt_output>.
This will help us to see values in a table(i_tab) from program(PROGRAM_NAME).
Thanks,
Anil
05-30-2014 7:37 AM
hi junaid ur rahman ms,
ya use flow logic to write the code using submit.i will advise not to use it because it will make processing time more.instead of that use the loop in smatforms and do necessary logical operation...
hope it helps
05-30-2014 8:56 AM
Yes create an Program lines node and in it you could use a syntax like "PERFORM subr IN PROGRAM prog" or "SUBMIT prog WITH plist AND RETURN." But better solution would be use of function module or class method for such requirement, first solutions have an obsolete flavour...
Regards,
Raymond