on 2009 Oct 05 2:09 PM
Hi all,
I am attempting to call trans. CJ20N when user clicks on a particulart WBS elements or project in an ALV report. If the user clicks on WBS element, CJ20N should open with that WBS elements selected. If the user clicks on project, CJ20N should open with that project. Can anyone tell me how i can pass the selected parameter to CJ20N.
regards,
Hamza
Request clarification before answering.
CJ20N initial module reads the PARAMETER ID 'PSP' for wbs, 'PRO' for project and 'ANR' for network/order. So use SET PARAMETER ID and call transaction CJ20N
Regards,
Raymond
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Call transaction CJ20N (open element PEP) from ALV.
-
I need help about that.
My program runs the CJ20N calling the first screen, then called the search window PEP,
but nothing appears, only the initial screen.
*----
DATA: bdcdata_wa TYPE bdcdata,
bdcdata_tab TYPE TABLE OF bdcdata.
CLEAR bdcdata_wa.
*- initial screen----
bdcdata_wa-program = 'SAPLCNPB_M'.
bdcdata_wa-dynpro = '1000'.
bdcdata_wa-dynbegin = 'X'.
APPEND bdcdata_wa TO bdcdata_tab.
*----- search document PEP -
bdcdata_wa-program = 'SAPLCNPB_W'.
bdcdata_wa-dynpro = '0900'.
bdcdata_wa-dynbegin = 'X'.
APPEND bdcdata_wa TO bdcdata_tab.
*---- parameter -
bdcdata_wa-fnam = 'PRO'.
bdcdata_wa-fval = 'XX.XXXX.X.XXX.XXXX'.
APPEND bdcdata_wa TO bdcdata_tab.
CALL TRANSACTION 'CJ20N' USING bdcdata_tab.
*----
Thanks.
Hi,
CJ20N is the project builder and will have nodes that hold the project and WBS elements. Hence when you use CALL transaction on CJ20N, then you get into the main screen and there you need to select the WBS elements again.
Hence instead of CJ20N, Use the below:
CJ2A (Display Project/WBS)
CJ20 (Change Project/WBS)
For above you can execute the transaction without the WBS elements, and then it display all the project with all WBS elements,
If you give the WBS element on the initial screen, then it works like the below transactions and display only the WBS element
CJ03 or CJ13: Display WBS elements
Hope this helps
Regards
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 29 | |
| 14 | |
| 14 | |
| 6 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.