Hi
JoãoI avoid CJ20N if at all possible. As a workbench for viewing, it's great, but not for automation.. I use CJ20 instead and if you can use it, please do so.
For CJ20 enter your project
Then make sure you go to the Basic Data tab for the WBS elements
Start LoopPosition your cursor on any WBS element
Click Edit -> Object -> Position
save
Hope that helps
Sigrid
------------------------------
Sigrid Kok
PSE | Winshuttle NA
------------------------------
Original Message:
Sent: 02-13-2020 07:07
From: joao.rino
Subject: Cj20N - project creation with multiple WBS in SAP
Hello Sigrid,
after finishing my script to create projects with multiple WBS levels, I'm trying to create a new one to edit each level.
I'm trying to use CJ20n, and then trying to have a loop which can open each level and editing them regarding its level.
I can edit one, but somehow it is not passing to the next line. I was trying to use "open project" in the tabs:
------------------------------
joao.rino |
SIEMENS SA (GSS A&F CENTER Lisbon) |
Original Message:
Sent: 01-29-2020 15:13
From: sigrid kok
Subject: Cj20N - project creation with multiple WBS in SAP
Glad it worked, Joao!
------------------------------
Sigrid Kok
PSE | Winshuttle NA
Original Message:
Sent: 01-29-2020 12:51
From: joao.rino
Subject: Cj20N - project creation with multiple WBS in SAP
Hi Sigrid,
Thank you very much. It works perfectly.
Joao
------------------------------
joao.rino |
SIEMENS SA (GSS A&F CENTER Lisbon) |
Original Message:
Sent: 01-29-2020 11:17
From: sigrid kok
Subject: Cj20N - project creation with multiple WBS in SAP
Hi Joao
You can use CJ01. Here are you options:
Enter WBS on line one, then Use the insert button at the bottom - but it will push all WBS elements down and thus load everything in reverse order. Load your WBS on the first line
Enter WBS on last line, then use the bottom and page down buttons to expose new lines.
HTH
Sigrid
------------------------------
Sigrid Kok
PSE | Winshuttle NA
Original Message:
Sent: 01-29-2020 11:07
From: joao.rino
Subject: Cj20N - project creation with multiple WBS in SAP
Hello,
I'm trying to develop a script to create WBS structures with several sublevels. Which is the best transaction to use? I tried CJ01 but I got stuck in trying to add different levels in the main project.
My script keeps overriding the first line, because I can't make it to pass to the next line so it can create a new sublevel.
Do you have any example of scripts using loops to create a project with various levels in it?
Thanks for the help.
BR
Joao Rino
------------------------------
joao.rino |
SIEMENS SA (GSS A&F CENTER Lisbon) |
Original Message:
Sent: 03-07-2019 09:39
From: sigrid kok
Subject: Cj20N - project creation with multiple WBS in SAP
Hi Rafael
Only have time for a quick reply today.
Updating WBS details is pretty straight forward.
- Go to CJ20 and enter project and WBS and then click open details since you just have one
- if you have multiple WBS elements to update, go to CJ20 and enter project number
- Go to basic data tab (this is where the binoculars work)
![](https://higherlogicdownload.s3.amazonaws.com/PRECISELY/WinshuttleImages/0e7c05380d7445e8a2f6fe2387aaaba7_25183d4a-6a5f-4c31-b1d0-6d25fb6d24a4.jpg)
- click to select all and then click to expand - especially if you have multiple levels - so that you see all WBS elements
- Click into the WBS Element column and then click binoculars to find a WBS line
- enter the WBS element and click position
- click to go into details and edit your fields and remember to go back to the first tab in the details before clicking ok. SAP remembers where you left off, and we don't want this in the recording, as the script will be expecting to be on the first tab of the details for the next wbs element.
- click the checkbox to go back to the WBS list on the basic data tab
- click unselect all, since the row you worked on will be selected
- find the next one and repeat - i.e. put this into a loop.
![](https://higherlogicdownload.s3.amazonaws.com/PRECISELY/WinshuttleImages/0e7c05380d7445e8a2f6fe2387aaaba7_7e03c6ab-2bfb-4f0f-a768-233a812abcf1.jpg)
Attaching a simple example built in Studio 12.0.
I could not get the long text to be included in the recording (I tried in a separate test). I'm not certain why, and right now I don't have time to dig into it. You might check with Support. There may also be a BAPI for that.
Hope this gets you started!
Sigrid
------------------------------
Sigrid Kok
PSE | Winshuttle North America
Original Message:
Sent: 03-05-2019 04:00
From: Rafael Albesa
Subject: Cj20N - project creation with multiple WBS in SAP
Dear Sigrid.
We are also interested in creating/updating projects via CJ2d and Cj20 (as far as we understand that CJ20N is not the the correct transaction to do this). One of our requeriments is the creation/update of WBS elements and operations with long texts for descriptions. Could you please post some help about how to achieve this?.
Kind regards. RAfa Albesa
------------------------------
Rafael Albesa | IT Manager
Xiob Group | +34.964260026
Original Message:
Sent: 10-05-2018 14:56
From: Sigrid Kok
Subject: Cj20N - project creation with multiple WBS in SAP
HI Mahesh
CJ20N is great for looking at projects visually, however it's not great for automation.
I would recommend CJ2D for creates and CJ20 for updates, which are non-SAP "enjoy" transactions. If you have access to those, I can attach an example. Please let me know.
Best Regards,
Sigrid
------------------------------
Sigrid Kok
PSE | Winshuttle North America
Original Message:
Sent: 09-25-2018 02:29
From: Mahesh Navale
Subject: Cj20N - project creation with multiple WBS in SAP
Hi team,
Could you please send me some videos as how to create a script for SAP transaction CJ20N with multiple WBS?
Regards,
Mahesh Navale
Ingram Micro India
Sent from my iPhone
----------------------------
This e-mail is for the use of the intended recipient(s) only. If you have received in error, please notify the sender immediately and delete it. If you are not the intended recipient, you must not use, disclose or distribute this e-mail without the author prior permission. Ingram Micro checks outgoing mail and accepts no liability for any loss or damage caused by software viruses.
----------------------------
[Ingram_2818e5de]