Doubts in CJ20N transaction

Hi All.
In the CJ20N transaction code, Number of TAB is there, I have to mark the Check box (for field PRPS-USR11) in the User fields TAB based on my requirements. Could you tell me how can I do it.? Any exits is there? Is it possible to do it in BADi  WBS_USER_FIELDS_F4 itself?
Please guide me.
Thanks.
Jay

In the method AT_SAVE.
Parameter IT_WBS_ELEMENT has associated structure CJBAI_WBSELEMENT_TABLE.
It includes structure PRPS which consists your field.
Registered:  Mar 3, 2008 
Total Posts:  15 
Total Questions:  10 (9 unresolved) 
If you dont bother about these , then you may not expect replies to your posts in future.

Similar Messages

  • DOubt in CJ20N Transaction with Costing Model

    Hello experts,
    I have a Requirement which is as Follows:
    After Entering to Transaction CJ20N, i am choosing the Project definitions, and after that choosing the
    Project Structure and then the Easy Cost Planning.
    My Requirement is I should modify the Form by Placing an approving Button in that.
    The Details will be filled in that Form. After filling that, The manager can View that Details by entering in the same  Transaction.
    Once he Click the Approve Button, the details which ever entered by the users should be Reset to all   other than the Manager.
    so Experts Pls help me to Complete my Requirement.
    Thanks,
    Raja.

    Via workfolw you can send any type of  approval to project mgr / project team member  etc.
    If I say in general via workflow you can send workitem in the user's sap inbox in the form of email. user can approve /reject /modify that work item and give back to the reqester. If user has modified/approved/rejected  that changes will get reflected SAP.
    your technical can chekc that is that standard Business object is available for your Form. if not than they can customised the same.
    Perticularly i have not used form as workitem. The situation i have narrated on that scenario i have worked.
    I request you to ask the same in PP forum. because thae also use the txn CKCM.
    Regards
    Nitin

  • Doubt in CJ20N Transaction PS Module

    Hello experts,
    I have a Requirement which is as Follows:
    After Entering to Transaction CJ20N, i am choosing the Project definitions, and after that choosing the
    Project Structure and then the Easy Cost Planning.
    After that am choosing the planning form which was designed by my Functional Consultant. Now the form got displayed.
    My Requirement is I should modify the Form by Placing an approving Button in that.
    Basically, the Details will be filled in that Form. After filling that, The manager can View that Details by entering in that Transaction.
    Once he Click the Approve Button, the entered details should be Reset to all the Users other than the Manager.
    so Experts Pls help me to Complete my Requirement.
    Thanks,
    Raja.

    Via workfolw you can send any type of  approval to project mgr / project team member  etc.
    If I say in general via workflow you can send workitem in the user's sap inbox in the form of email. user can approve /reject /modify that work item and give back to the reqester. If user has modified/approved/rejected  that changes will get reflected SAP.
    your technical can chekc that is that standard Business object is available for your Form. if not than they can customised the same.
    Perticularly i have not used form as workitem. The situation i have narrated on that scenario i have worked.
    I request you to ask the same in PP forum. because thae also use the txn CKCM.
    Regards
    Nitin

  • One doubt in VL03N transaction/

    Hi All,
              I have one doubt in VL03N transaction.I am an ABAPer.I don't iknow much about the SD process.My SD consultant has changed the Ship-To-Party addressin customer master but it is not reflecting in the document in VL03N.But when I see in the Environment -> Ship-To-Party i can see the address which we changed.Can anyone suggest the reason behind this difference?

    Hi Saket,
    if u have different ship to party, while creating the sales order u have to sellect the  ship to party. while creating delivery document WRT sales order sys automatically specifies that ship to party. ( i think they have not selected new ship to party at sales order level)
    Regards,
    Gopi

  • Validating Profit Center in CJ20N Transaction

    Hi All,
    My requirement is to lock the Profit Center field(Make it grayed out) in the project using CJ20n transaction once it is created.
    Also when ever the user is trying to change the profit center by entering the project details, it should give an Error message saying that "the profit center value cannot be changed", when trying to save the project details with the new value.
    I have tried using almost all the userexits(CNEX0001,CNEX0002,CNEX0003,CNEX0004,CNEX0005,CNEX0006,CNEX0007,CNEX0008,CNEX0038,CNEX0033,CNEX0028,CNEX0029) for the transaction CJ20n and even searched for the BADIs, but none of them was not suitable for my requirement.
    Can any body suggest the suitable User exit or a BADI to implement for this requirement.
    Thanks

    Hello,
    Try following....
    Use BAdi BUS2054.
    In that write an implementation
    Two scenarios
    1) Creating new project. (Values in PRPS table will get updated after save.)
    2) Opening existing project  in change mode. ( Already values corresponding to that WBSE are available in PRPS table).
    Pre-Requisite:
    1) If possible make Profit center field madatory.
    Scenario 1:
    In Implementation write
    At_save
    IF PRPS-PRCTR = initial or zero. Then no error. Because he is creating Project, so no values will be available in PRPS. Once he saves PRPS will get updated and from next it will be delt as per scenario 2 below.
    Scenario 2:
    At_save
    If PRPS-PRCTR <> the value entered by the user (i.e. user trying to enter something different which is already there in PRPS table against that WBSE (PRPS-POSID)) throw an error "Profit center can not be changed".
    Please try along with ur abaper.
    Post ur findings.
    Thanks & Regards
    Saikishore.Ganga

  • How to Populate long text(item text)  from BOM CS01 to CJ20N transaction

    I have requiremnt  in which i need to Populate long text/item text  of  BOM  from CS01 to CJ20N transaction(PS network)

    Hi Naveen,
    for anylong text related work use the functions READ_TEXT and SAVE_TEXT.
    read the long text of the BOM item using the proper header and then populate the same text lines to the PS network using the new header specific to the PS network.
    Prabhas.

  • Tables regarding to cj20n transaction

    Hi all,
         I need to know where user fields in transaction cj20n transaction. please help me. i want these fields depends on actvity and activity type.
    this is urgent.
    Thanks,
    Ananth.

    Hi seshu,
       PRPS is based on WS elememy i want to know based on activity and activity type.
    regads,
    ananth

  • Table for user status field in CJ20n transaction project defination

    HI ALL,
    what is table for user status field in CJ20n transaction project defination creation. This field is in Basic Data tab.
    Thanks.

    Hi,
    Check following tables for Usre status:
    TJ30 - User status
    TJ30T - Texts for user status
    TJ20 - Status profile
    JEST - Object status
    JSTO- WBS status profile.
    Check this code:
    REPORT zps_get_userstatus .
    PARAMETERS: p_posid LIKE prps-posid.
    *-- Constants
    CONSTANTS: gc_yes(1)     TYPE c                 VALUE 'X',
               gc_no(1)      TYPE c                 VALUE ' '.
    *-- Variables
    DATA: l_objnr LIKE prps-objnr.
    *-- Internal tables
    DATA: BEGIN OF lit_jest OCCURS 0,
           objnr LIKE jest-objnr,
           stat  LIKE jest-stat,
         END OF lit_jest.
    DATA: BEGIN OF lit_jsto OCCURS 0,
           objnr LIKE jsto-objnr,
           stsma LIKE jsto-stsma,
          END OF lit_jsto.
    DATA: BEGIN OF lit_status OCCURS 0,       "Combination of JEST & JSTO
              objnr LIKE jest-objnr,
              stsma LIKE jsto-stsma,
              stat  LIKE jest-stat,
            END OF lit_status.
    DATA: BEGIN OF lit_usrsta OCCURS 0,       "Uer status for all wbs
             objnr LIKE jest-objnr,
             stsma LIKE jsto-stsma,
             stat  LIKE tj30t-estat,
             txt04 LIKE tj30t-txt04,
           END OF lit_usrsta.
    DATA: BEGIN OF lit_usrtxt OCCURS 0,       "User Status text - TJ30T
            stsma LIKE tj30t-stsma,
            stat  LIKE tj30t-estat,
            txt04 LIKE tj30t-txt04,
          END OF lit_usrtxt.
    * get WBS object number
    SELECT SINGLE
         objnr FROM prps
               INTO l_objnr
               WHERE posid = p_posid.
    * get WBS active status from table JEST
    SELECT
          objnr
          stat
               FROM jest INTO TABLE lit_jest
               WHERE objnr =  l_objnr AND
                     inact <> gc_yes.
    * get WBS status profile from table JSTO
    SELECT
          objnr
          stsma FROM jsto
                INTO TABLE lit_jsto
                WHERE objnr =  l_objnr.
    * combine JEST and JSTO table for user status
    LOOP AT lit_jest.
      IF lit_jest-stat CP 'E++++'.
        READ TABLE lit_jsto WITH KEY
                            objnr = l_objnr.
        IF sy-subrc = 0.
          lit_status-objnr = lit_jest-objnr.
          lit_status-stsma = lit_jsto-stsma.
          lit_status-stat  = lit_jest-stat.
          APPEND lit_status.
        ENDIF.
      ENDIF.
      CLEAR: lit_jsto, lit_status.
    ENDLOOP.
    *  get text for user status
    SELECT DISTINCT
             stsma
             estat
             txt04 FROM tj30t
                   INTO TABLE lit_usrtxt
                   FOR ALL ENTRIES IN lit_status
                   WHERE stsma = lit_status-stsma AND
                         estat = lit_status-stat  AND
                         spras = sy-langu.
    Let me know if you have any question.
    Regards,
    RS

  • User Exit for checking Purchase Requisitioner Field in CJ20N Transaction

    Hi,
    I want user Exit for checking Purchase Requisitioner field while making PR through CJ20N transaction. I have trie EXIT_SAPLEBND_001 user exit. Problem in this user exit is I am not getting Purchase Requisitioner No & Item No in I_CEBAN
    structure.
    Please suggest what to do ?
    Regard's
    Shabbir

    Hi,
    You can check with this BADI ME_PROCESS_REQ_CUST. 
    Kindly refer below mentioned link for further details:
    Badi ME_REQ_POSTED  For CJ20N Transaction
    Hope this will help you.
    Regards,
    Mudita

  • CJ20n -transaction

    Hi In my CJ20N transaction I have check boxes which perform as per my needs like when I want to check this box and run it asks for remote sump and when I dont check and run this it asks for surface loaction. Now the problem is that this is good when it is run in change more , but it behaves the same way in the display mode too . Idont want it to ask for remote sum or the surface loaction entries when its in display mode , as it dosent allow me to go further inside the transaction without getting out again and re-enetring . I beleve there should be some kind of change in my code part here .If someone is kind enough to tell em what do I need to add on to it so that It dosent ask me for the entries in display mode.
    Pls assist.
    Thnaks
    *&      Module  check_0700_zmulti_zremsump  INPUT
          text
    MODULE check_0700_zmulti_zremsump INPUT.
      IF ( prps-zzmulti_well IS NOT INITIAL ) AND
         ( prps-posid+0(3) = 'O12' ) AND                        "DEVK907674
         ( PRPS-ZZREMSUMP IS INITIAL ).
        MESSAGE e013(zwell).  " Not a valid  Remote Sump
      ENDIF .
    ENDMODULE.                 " check_0700_zmulti_zremsump  INPUT
    *&      Module  check_0700_zmulti_zsurflocn  INPUT
    * Check that valid surface location is entered before allowing
      the display of other location.
    MODULE check_0700_zmulti_zsurflocn INPUT.
      IF ( prps-zzmulti_well IS  INITIAL ) AND
         ( prps-posid+0(3) = 'O12' ) AND                        "DEVK907674
         ( PRPS-zzsurflocn IS INITIAL ).
        MESSAGE e014(zwell).  " Not a valid surface Location
      ENDIF.
    ENDMODULE.                 " check_0700_multi_zsurflocn  INPUT

    Basically CMOD ZWBS currently has two screen exits - one for projecr definition (screen 600) and the other for WBS (screen 700).   In both of these screens a check is made to ensure that:
    - when the MultiWell checkbox is blank then the corresponding screen's Remote Sump field must be populated.
    - when the MultiWell checkbox = 'X' then the Surface Location field must be populated.Which is there in place.
    What I want is to add a check to bypass these MultiWell-Remote Sump/Surface Location checks if the object project or WBS is opened in Display mode.
    What should I do in teh above code which will bypass the check when it is in display mode.
    Thanks
    PLs help (Urgent and Important)

  • Make project profile field non mandatory in CJ20n Transaction

    Hi All,
    I want to make project profile field non mandatory in my CJ20n transaction. I tried through OPUA, OPUK, OPUC but of no use. The field over there is just an input field. I need to make it non mandatory either through configuration or through code. Please suggest.
    Regards,
    Jayant

    Hi,
    this is a required field, as far as the standard SAP code goes: everytime this field is touched the following function is executed in programme FV45EF0V_VBEP-EDATU_EINGEBEN:
        call function 'PERIOD_AND_DATE_CONVERT_INPUT'
          exporting
            external_date     = rv45a-etdat
            external_period   = rv45a-prgbz
          importing
            internal_date     = vbep-edatu
            internal_period   = vbep-prgrs
            ev_date_in_past   = lv_date_in_past
            ev_period_in_past = lv_period_in_past
          exceptions
            no_data           = 1
            period_invalid    = 2
            date_invalid      = 3.
        case sy-subrc.
          when 1.
            set cursor field 'RV45A-PRGBZ' line sy-stepl.
    * Bitte Datum eingeben
            message e394.
    The only way to avoid this is create an implicit enhancement at the beginning of this form, copy the exisitng code in there, delete the message after WHEN 1. and put RETURN at the end of the enhancement. But this would be HIGHLY UNRECOMMENDED, because I am positive you cause a lot of misery later on in the process: this field is mandatory for a reason!
    Roy

  • Network,Assignment,Profit centre N cost Centre field's in CJ20N Transaction

    Dear Gurus,
                    I need to know the Network, Assignment, Profit Centre and Cost centre fields in the CJ20N transaction.
                    I have got a requirement to fetch the above fields for every project. I can find the Project name in table PROJ under the field PSPID and the WBS element in table PRPS under the field POSID.
                    Kindly help me out, as the transaction CJ20N is using Structure for the above 4 fields.
                   Your suggestions are deeply valuable and are appreciated in advance.
    Thankyou,
    ZIa

    Use FM "'BBP_PS_PROJECT_GET_LIST" to get the complete structure of the Project defined in the txn CJ20N.
    Just pass the Project number to this FM and you will get all the details under different Internal Tables.
    Execute this FM in SE37 for any of the Existing Project of yours in CJ20N.

  • Doubt in fbl1n transaction

    hi i have a doubt....
    in fbl1n transaction, there are open items and cleared items.
    in it the cleared items  for certain document types such as invoice etc is not present in the open item table (bsik)
    however the cleared items for document types such as general  voucher its present in the open items table (bsik)
    is this possible as all cleared item entries shld b present in the open item table with an indicator set for cleared or not...
    plz exlain!

    Hi
    There are 2 tables(open and Closed Items)  in FI for Account Payables and Account Receivables and GL accounts
    1.Account payables: BSIK is Open Items and BSAK is Closed items
    2.Account Receivables; BSID and BSAD for OPEN and closed items
    3/GL accounts :  BSIS and BSAS  for Open and Closed Items
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Doubt regarding SHDB transaction

    Hi All,   
                I have a doubt regarding the Process Tab in the application tool bar of SHDB transaction. What is the use of the following check boxes?
    1)       Default Size
    2)       Cont.after commit
    3)      not a batch input session
    4)      END: Not a Batch Input session
    5)      Simulate Background mode

    Hi,
    Basically these are the properties for CALL TRANSACTION using. You need not worry about these unless you really need those.
    1) Default Size: it will set the Default screen size for CALL TRANSACTION USING...
    2) Cont.after commit : it will set indicator that CALL TRANSACTION USING... is not completed by COMMIT. after commit also the process will continue
    3) not a batch input session: sets indicator that present session is not batch input
    4) END: Not a Batch Input session
    5) Simulate Background mode : session will be run in foreground. but similar to back grpund
    you can see the documentation by placing the cursor on these and click f1.

  • Calling tcode CJB2  while saving CJ20N transaction

    Hi,
    I have problem , when I am seeting release for wbs elemnt in CJ20N , and saving, at the time of save I am calling a substitution where I am calling transaction CJB2 for automatic settelment rule creation , but it is not creating I have analysed and found that the tables are locked due which CJB2 did not create settlement.
    Therefore , please help me what other mehod can I use or can above senario  be used with some modification
    many thanks in advance
    bobby

    Hi,
    I am calling in program 'ZRGGBS000'  this is a program used by sap for substitutions: exit-formpool for Uxxx-exits. I have created a substitution exit U902 through OPSN transaction and i am writing the form roution u902 in the above program. I am calling only CJB2 transactio in this program , this program automatically triggered when we save in CJ20n
    thanks
    bobby
    Message was edited by:
            Bobby G

Maybe you are looking for