Automate

 View Only
Expand all | Collapse all

Cj20N - project creation with multiple WBS in SAP

  • 1.  Cj20N - project creation with multiple WBS in SAP

    Posted 09-25-2018 02:30
    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]


  • 2.  RE: Cj20N - project creation with multiple WBS in SAP

    Posted 10-02-2018 18:11

    Hi Mahesh, 

    We don't currently have any tutorials or videos posted specifically for CJ20N with WBS elements.

    Have you already attempted to build a Transaction script for this SAP Transaction, and if so were there specific issues you ran into that you're looking for guidance on?

    Describing the situation more fully (example: I need to build a script that uploads multiple line items in a project, with multiple wbs elements per line) and providing specific questions (example: how do you loop in a table without an insert row button; or how can I upload multiple wbs elements for each project row) can help Community members to provide suggestions or tips and tricks.

    Thanks!



    ------------------------------
    Winshuttle Training
    Winshuttle | Bothell
    ------------------------------



  • 3.  RE: Cj20N - project creation with multiple WBS in SAP

    Employee
    Posted 10-05-2018 14:57
    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
    ------------------------------



  • 4.  RE: Cj20N - project creation with multiple WBS in SAP

    Posted 03-05-2019 04:01
    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
    ------------------------------



  • 5.  RE: Cj20N - project creation with multiple WBS in SAP

    Employee
    Posted 03-07-2019 09:40
    Hi Rafael

    Only have time for a quick reply today. 

    Updating WBS details is pretty straight forward. 

    1. Go to CJ20 and enter project and WBS and then click open details since you just have one
    2. if you have multiple WBS elements to update, go to CJ20 and enter project number
    3. Go to basic data tab (this is where the binoculars work)
    4. click to select all and then click to expand - especially if you have multiple levels - so that you see all WBS elements
    5. Click into the WBS Element column and then click binoculars to find a WBS line
    6. enter the WBS element and click position
    7. 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.
    8. click the checkbox to go back to the WBS list on the basic data tab
    9. click unselect all, since the row you worked on will be selected
    10. find the next one and repeat - i.e. put this into a loop.

    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
    ------------------------------

    Attachment(s)

    Txr
    CJ20_UpdateWBSDetails.Txr   349 KB 1 version


  • 6.  RE: Cj20N - project creation with multiple WBS in SAP

    Posted 01-29-2020 11:08
    ​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) |
    ------------------------------



  • 7.  RE: Cj20N - project creation with multiple WBS in SAP

    Employee
    Posted 01-29-2020 11:17
    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
    ------------------------------



  • 8.  RE: Cj20N - project creation with multiple WBS in SAP

    Posted 01-29-2020 12:52
    Hi Sigrid,

    Thank you very much. It works perfectly.

    Joao

    ------------------------------
    joao.rino |
    SIEMENS SA (GSS A&F CENTER Lisbon) |
    ------------------------------



  • 9.  RE: Cj20N - project creation with multiple WBS in SAP

    Employee
    Posted 01-29-2020 15:13
    Glad it worked, Joao!

    ------------------------------
    Sigrid Kok
    PSE | Winshuttle NA
    ------------------------------



  • 10.  RE: Cj20N - project creation with multiple WBS in SAP

    Posted 02-13-2020 07:07
    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:


    And then try to have a loop that will open other sublevel, after change the first entry. But as I said the script is ending as soon as it managed to edit the first line.


    Thanks for the support.

    BR
    João


    ------------------------------
    joao.rino |
    SIEMENS SA (GSS A&F CENTER Lisbon) |
    ------------------------------