USEREXIT / BADI to get WBS elem system status before&after for WBS in CJ20N

Hi friends,
Please help me out to capture the WBS element system status after and before the changes  in CJ20N tcode, the status has to be posted to the P I system.
Please let me know if any user exit exists for CJ20N.I am not able to find any in CMOD.
I have tried using the BADI's WORKBREAKDOWN_UPDATE and
                                          PROJECTDEF_UPDATE  .
but was not able to capture the changed system status .
Is there any other way to capture the system status and post them to PI.
Thanks and Regards,
KC
Edited by: Krishna Chaitanya  G on May 7, 2009 7:19 PM

Hi Afzal,
The User wants to get it posted to the PI system as soon as the system status of WBS element is changed.
I am already done with RFC FM for this purpose which gets  the changed status of  all PROJECTS-WBS elements.
Our team is facing some probs with connecting to PI through RFC.
Getting  'SYSTEM_FAILURE' error, when executing the RFC with PI system's destination.Not able to trace out the probs, they have tested the connection with IDOC which was a success and able to post the PI.
They want me to capture the data in USEREXIT/BADI and some how trigger the IDOC with back ground job scheduled.
Thanks and Regards,
Krishna Chaitanya G

Similar Messages

  • How to find the Project and wbs Element System Status

    Hi all,
      How to find the Project and wbs Element System Status.
      We can find the system status in the CJ20n transaction but I want the table and field name where it is stored.
    Regards
    Raghavendra

    Hi,
    try table <b>jest</b> with key = prps-objnr
    Andreas

  • How to get user and system status for a trade promotion

    Hi,
    I have to develop a batch program to change user status and system status of all trade promotions which satisfy some criteria. This criteria checks some dates related to trade promotion(like Changed on,Pallett buying, buying horizon dates) also.
    I thought of first extracting all external ids from CGPL_PROJECTS table and then run trade promotion query. But how can I get current user & system status and all dates as these can be taken from relations "TPMStatusActiveRel" and "TPMDateRel". I don't know to take data from relations. Please help me with a piece of code.
    Thanks.

    Hello Shikha,
    You can use these relations here, as you are not in the Business Object layer anymore. As far as my understanding is, all the batch programs or reports should be done at the API layer. Try this code, to read the status of the Trade Promotion object.
    data: lr_appl_base type ref to CL_CRM_MKTPL_APPL_BASE,
            lt_sys_status type CGPL_ISTATUS_TEXT_T.
    lr_appl_base ?= CL_CRM_MKTPL_APPL_BASE=>GET_INSTANCE().
    " To read system status
    call method lr_appl_base->STATUS_READ
    exporting
    IM_MKTELEMENT_GUID = "your Trade promotion guid
    ET_TJ02T  = lt_sys_status.
    " To read user status
    call method lr_appl_base->STATUS_READ_EXTERN
    exporting
    IM_MKTELEMENT_GUID = "your Trade promotion guid
    ET_TJ02T  = lt_sys_status1.
    To change the user status, use the method STATUS_CHANGE_EXTERN of the same class
    To set the system status, use the method STATUS_SET of the same class.
    Hope this helps.
    Regards,
    Vinay

  • User Status Change Log for WBS Element

    Hi All,
    I have a requirement to capture the user and time when the user status has changed for WBS Element in TCODE CJ20N.
    How do I enhance the standard table to add these 2 fields and also which enhancement is used to populate these fields?
    Thanks
    David

    hi david,
    if your looking for status changes in WBS for CJ20N tcode then
    have changes documents tick marked in OPSA tcode for a particular project profile and then create project in CJ20N with that project profile and go to that respective WBS and click the blue icon and goto
    Extras->changedocuments->All---> here click on all changes or history ... here this should give you required data your looking for ...
    regards
    pushpa

  • How to Run Operating System Command Before/After Message Processing SAP PI

    Hi,
    We are trying to execute multiple commands via "Operating System Command Before/After Message Processing".
    When we use single command say for example cp or mv (copy or move) the commands get executed fine.
    eg: cp %F /var/opt/data/outbound/Test/Dummy.txt 
    /this works fine/
    when we club commands together or try to redirect the outputs of commands, none of the commands get executed.
    eg:
    cp %F /var/opt/data/outbound/Test/Dummy.txt ; rm %F
    or
    wc -l %F > /var/opt/data/outbound/Test/Dummy.txt
    Is it possible to execute multiple commands or redirect the output  of commands without using a shell script? The PI server we are working on iis hosted on UNIX environment.

    Hi Harleen,
    try like this
    cp %F /var/opt/data/outbound/Test/Dummy.txt ; rm %F
    instead of semicolon try this
    (1) &
    command1 & command2
    Execute Command1 and then execute Command2
    (2) &&
    command1 && command2
    Runs the command2 only when command1 doesn't Complete successfully
    (3) ||
    command1 || command2
    Runs the second command if the first command had an error
    (4) ()
    (command1 || command2) || (command3 & command4)
    Defines the order in which commands are to be executed
    Regards
    Suraj

  • DB table to get system status and text for PO.

    Hi All,
    I need the table to get system status for a production order and system status text .Please help.

    Hi Prem,
    JEST table is for system status for a production order and TJ02T table is for system status text.
    Try with these fields in the above tables.
    u2022     OBJNR   like JEST-OBJNR object number
    u2022     STAT      like JEST-STAT  Object status
    u2022     INACT    like JEST-INACT indicator status inactive
    u2022     TXT04    like TJ02T-TXT04 individual status of an object
    u2022     TXT30    likeTJ02T-TXT30 object status.
    Hope it helps you.
    Regards,
    Anusha V.
    Edited by: Anusha on May 26, 2009 10:22 AM

  • WBS Element System Status to REL-Release

    Hi,
    I am looking for a way to set the System Status to REL instead of CRTD- created as soon as the WBS element is created.
    Can any one please provide their valuable suggestion.
    Thanks for your help,
    Satish

    Hi Satish,
    Sorry to say that I am still unclear with the requirement.
    When you say that users want to post cost to the WBS element, is it a direct Cost entry against the WBS or is it through GI/Service Enrtry and acceptance?
    If it is through GI/Service Enrtry and acceptance, then no costs can be posted without the release of the WBS.
    Hope I have put my point clearly.
    regards
    Pratap.V

  • Getting Error Msg " System Status INCM is active (confirmation 7300012896)"

    Hi ,
    Whlie confirming Goods in "Confirm Goods/ Services" user is getting Error " System Status INCM is active ( confirmation 7300012896)
    Can you please tell how to rectify this error message and confirm goods against PO.
    Regards,
    Avdhut

    check - click before doing confirmation
    there many other error message thrown at bottom side
    any user locked of for network / PM order  order in the PO
    some message will be thrown
    share taht message for more help.
    Muthu

  • How to delete WBS  if system status is REL

    How to delete WBS at 2nd level if system status is REL (no cost have been populated yet). What happened is that system is set to auto release when created.

    Hi,
    If there are no postings , or account assignment objects such as purchase order, production order etc, you can right click the WBSE and delete it. Also you can select the WBSE and use the 'delete' icon to delete the WBSE.
    Muraleedharan.R
    091 9880028904

  • System status LKD REL for operation & phases in Process order

    Hi Gurus,
    We have a process order in which system status for operations & phases is LKD REL due to which user is not able to confirm the process order. The status of process order is REL PRC APNG APRS BASC BCRQ GMPS MACM RESA SETC. One of the user from planning has set the status to LKD due to some artwork changes. Now another user set the status to unlock. Locked status from order status was reset but at operation & phases level the status is still LKD REL & hence order confirmation is not allowed.
    I try to again set the status to lock but i am getting message system status LKD is active (ACT 40547870 0010) which is similar to one which we get during order confirmation.Pls. suggest.
    Regards
    Amit 

    Hello Amit
    If the status LKD is not set for the order header, this is possibly an inconsistency.
    Please open an OSS incident to SAP for further analysis.
    BR
    Caetano

  • Launchd system agent before login for an onscreen keyboard.

    Hi everyone. I'm investigating the possibility of starting an onscreen keyboard for people to use to log into their user accounts with. I work for a company that deals with people with disabilities, and their computer problems.
    So far I've used Lingon to create a system level launchd agent for the keyboard program we're using which is 'Assistiveware Keystrokes'. Any onscreen keyboard would be fine, but this is the only one I could successfully start with launchd so far, but it's starting after login rather than beforehand as I'd like.
    I couldn't figure out how to lauch the default Mac KeyboardViewer, as I couldn't find a way to launch it from a script.
    Anybody know what I should do?
    ,Damon

    Thanks for your help guys. Also I find it rather interesting that OSX doesn't have a way to bring up an onscreen keyboard (at least without a lot of knowlege and effort). As it would prevent Mac users who wanted to use touch screen comptuers from being able to log in.
    Are there no Mac touch screen computers I wonder? I think this will be my next obvious area to investigate, as although twtwtw pointed out that it's probably possible to run GUI apps in the login screen, it seems as though it's a depricated function that will be phased out:
    "Warning: Apple plans to disable the global window server service in a future release of Mac OS X. Do not write any new code that uses the global window server service. If you have existing code that uses this service, you must eliminate that dependency in order to be compatible in the long term."

  • User Exit/BADI while setting status as TECO for WBS in CJ20N

    Hi all,
    I need a BADI/User Exit which triggers when we try to set the status of WBS as 'TECO'  in CJ20N transaction.
    Please help.
    Thanks in Advance,
    Sagar

    Hi Sagar,
    Go through this Badis.
    AFABD_CHANGE
    DOCUMENT_MAIN01
    DOCUMENT_OBJ
    DOCUMENT_STORAGE01
    IHSA_LIST_EDITING
    IWO1_ORDER_BADI
    IWO1_ORDER_BADI
    MRO_CONTRACT
    MRO_CONTRACT
    NETW_DIR_PROCUREMENT_REF
    NETW_USER_FIELDS_F4
    PLM_CATALOG_IF
    PLM_CATALOG_IF
    PROJECTDEF_UPDATE
    PS_TRANSFER_DATES
    WBS_FIELDS_FOR_ASSET
    WBS_USER_FIELDS_F4
    WORKBREAKDOWN_UPDATE
    If Found Help Full Do Reward.
    Regards.
    Eshwar.

  • UserExit/Badi to get Excise Item Details For MIGO Transaction

    Hi Experts ,
    I want to do a validation for chapter id of Material that is undrer Excise item tab in migo  .
    Can anyone tell me any userexit or Badi name for that?
    Waiting for your reply

    SOLVED

  • WBS element System status change

    Hi,
    Can any one tell me the process to change the WBS element from TECO RESA to REL.
    Thanks

    could find the answer

  • HT5167 Error after 10.7.4 upgrade..."computer's local hostname ........is already in use on this network.  The name has been changed to......  What to do now to get it back to status before 10.7.4 upgrade?

    Error after 10.7.4 Lion Upgrade to iMac
    Computer's local host name .......is already in use on this network.  the name has been changed to........
    and it keeps adding up the number each time I wake the iMac.
    What to do to get it back before upgrade error?

    Ok worth repeating, hope this works.  Finally spoke to AppleCare Support and walked me thru following...restart computer holding down "command" and "option" keys at the same time with letters "P" and "R" when computer turns on.  This is what he called a PR restart, clears out discrepancies in memory (if that is what the error message actually is).  Then went to Systems Preferences/Network/Sharing and deleted the number that kept increasing every time MAC would wake up.
    Even tho this was just done, I am hopeful that error pop-up won't happen again.  Fingers crossed!

Maybe you are looking for

  • Remote for Keynote?

    Can a wireless keyboard be used for a remote in Keynote?

  • TS3276 message displays with question marks instead of content

    The mail message doesn't load completely.  Instead, it has question marks instead of the content.  There doesn't seem to be the choices under View Message that the help window suggests. How do I get the mail system to display what it considers unsafe

  • Creative Suite 2 Premium.

    My Creative Suite 2 Premium will not install on my new MacBookPro. Does this mean I need to buy new software?

  • Assignment of key for tax clearing account to tax clearing account

    Hello, I need a tax clearing account for gross display of down payments. In order to do so, I set a key for tax clearing account in OBL3 t-code but, afterwards, I am unable to link that key to the account that I need. Where can I assign the key to th

  • Splitting Clip into Scene and managing everything

    Hello (this is for Adobe Premiere Element 10), Can scene be saved somewhere ? i.e. I have a 10 minute video clip which I like to make a movie with. I want to split it into 4 scene and then use these scene in my project. The only way I see how to do s