‎2007 Dec 12 3:25 PM
How can I create one module pool program with three screen fields, and how do i put authorizations check if required for above fields.
Let me tell you that each of three module pool programs which i developed have tabstrip with 3 subscreens to it i.e ( "A" module pool program has main screen with a tabstrip of 3 subscreens , "B" module pool program has main screen with a tabstrip of 3 subscreens and "C" module pool program has main screen with a tabstrip of 3 subscreens ). Each program has a transaction code which helps each program to execute. So how do create a new module pool program with three screen feilds which executes the transaction codes of each program and i also have to integrate the reports program into the "A" and "B" Programs.. so can please me know more about that..
‎2007 Dec 12 3:52 PM
Hi,
you are telling you already created 3 module pool programs.
I think you created different transaction codes for each program.
So put some push button on the screen and write logic in PAI event.
whenever this push button is clicked means you write the code for CALL transaction using these newly created tcodes.
1) CALL TRANSACTION 'SP01' AND SKIP FIRST SCREEN .
Skips the initial screen of the transaction (as long as all of its required fields can be filled using the SPA/GPA mechanism.
2) CALL TRANSACTION 'SP01'USING itab
Calls transaction tcod and passes the internal table itab to it. itab contains one or more screens in batch input format.
If the transaction sends a message, it is placed in the fields SY-MSGID, SY-MSGTY, SY-MSGNO, SY-MSGV1, ..., SY-MSGV4.
The return code is set as follows:
SY-SUBRC = 0:
Processing successful.
SY-SUBRC <> 0:
An error occurred and the transaction terminated.
A called transaction ends successfully in the following circumstances:
1. COMMIT WORK
2. Next screen = 0
3. LEAVE TO TRANSACTION SPACE
You cannot use either MODE or UPDATE with the OPTIONS FROM addition.
Thanks
Sivaparvathi
Please reward points if helpful.