Need to update WBS element in Additional data tab of an order

Hi all,
I have a custom program -> which creates service order against notification. My program uses BAPI_ALM_ORDER_MAINTAIN to create orders.
When these order are created - i need to update WBS element in Additioal data(CAUFVD-PSPEL) tab of on order. In which paramenter and how should we pass to acheive this.
Even i could not go for BDC as the order number at this point is not created.
Please let me know.
Thanks
Senthil

Dear Senthil,
See the link, How to use the BAPI BAPI_ALM_ORDER_MAINTAIN.
Maybe your requirement matching.
Regards,
Abbas.

Similar Messages

  • Mandatory field in sales order additional data tab

    Hi,
    I have added an extra field in additional data tab of sales order. 
    How can i make this field as mandatory for certain sales organisations ?
    TIA

    since it's conditional, I think I would add code in SAVE_DOCUMENT_PREPARE subroutine in MV45AFZZ, based on transaction code, prior values (YVBAP) and current values (XVBAP), and issue an error message, allowing user to return to the screens displaying Item table control, when the field is not properly populated.

  • Updating wbs element relevant data.

    HI abapers,
    Am new to BAPI concept.I searched in sdn and came to know that  BAPI_BUS2054_CHANGE_MULTI can update WBS elements.
    can anybody provide a piece of sample code to update wbs header and details like actual start date,controlling area using this bapi.
    Thank You.

    How did you solve this problem? I am following the given below approach, and I am receiving the same error.
    Error : 1.) Object WBS Element DS-11-1000-0058.01 could not be changed
    2.) No update flags or extensions were set for WBS Element DS-11-1000-0058.01
      gwa_bapi_bus2054_upd-wbs_element = 'X'.
      gwa_bapi_bus2054_upd-description  = 'X'.
      gwa_bapi_bus2054_upd-responsible_no = 'X'.
      gwa_bapi_bus2054_upd-applicant_no = 'X'.
      gwa_bapi_bus2054_upd-company_code = 'X'.
      gwa_bapi_bus2054_upd-business_area  = 'X'.
      gwa_bapi_bus2054_upd-profit_ctr  = 'X'.
      gwa_bapi_bus2054_upd-proj_type = 'X'.
      gwa_bapi_bus2054_upd-wbs_planning_element = 'X'.
      gwa_bapi_bus2054_upd-wbs_account_assignment_element = 'X'.
    (I have marked all fields with 'X')
      APPEND gwa_bapi_bus2054_upd TO git_bapi_bus2054_upd.
      CALL FUNCTION 'BAPI_PS_INITIALIZATION'.
      CALL FUNCTION 'BAPI_BUS2054_CHANGE_MULTI'
        EXPORTING
          i_project_definition  = p_prj
        TABLES
          it_wbs_element        = git_wbs_element_chg (manually populated)
          it_update_wbs_element = git_bapi_bus2054_upd
          et_return             = et_return.
      READ TABLE et_return INTO ev_ret WITH KEY type = 'E'.
      IF sy-subrc NE '0'.
        CALL FUNCTION 'BAPI_PS_PRECOMMIT'
          TABLES
            et_return = et_return2.
        WAIT UP TO 3 SECONDS.
        CLEAR ev_ret.
        READ TABLE et_return2 INTO ev_ret WITH KEY type = 'E'.
        IF sy-subrc NE '0'.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
          WAIT UP TO 3 SECONDS.
        ENDIF.
      ENDIF.
    I don't know what I am doing wrong. Please help!

  • Screen Exit for adding custom fields in Additional Data tab in ME21N

    I need a screen exit or whatever other method for adding custom fields to the additional data tab at header level.
    I also need a similar exit for adding a filed at item level.
    Thanks in advance
    Martin

    Hello,
    1st find badi or exit and then create screen ...and assign the screen group and screen no for that implementation....some steps i can give u i did with SPRO tcode....
    please check it for VA02
    SPRO u2013 SAP Reference IMG ---  Logistics General --- Basic partner u2013 customers -- Control u2013 Adaption of customers own masters data element u2013 prepare modification of customer free enhancement of customer master record
    1)Screen group                                  description
            zs                                           creating badi      --- (save)
           click on (label tab pages) u2013 new entries
           number u2013 10 , function code u2013 zs10 ,  description u2013 func ---(save) u2013(back)
    2)select (FM_CUSTOMER_ADD) u2013 copy
         Implementation name u2013 ZAS
         (desc u2013 impl for cust) u2013 (save)
        interfaceu2014(check_add_on_active) double click on it
    3)the above screen appear --  write the code in it u2013 (save) --- (activate) u2013 (back) u2013 (save)
         -- (activate) u2013 (back)
       Business adds in customer sub screens
    4)select (FM_CUSTOMER_ADD) u2013 copy
         Implementation name u2013 ZAS1
         (description -- cust) u2013 in attribute u2013 (give screen group name)
    5)go to interfaces (GET_TAXI_SCREEN)  double click on it
       (save)  --- (activate) 
    6)(SAVE)  -- 
        Goto SE38  -- CREATE PROGRAM WITH NAME (ZQW) type module pool
         Goto SE51  -- Prog : ZQW
           Screen : 200 (Create)
          Goto layout u2013 design the screen
    7)save u2013 activate
       then goto transaction : va02
    For User Exit's
    goto to tcode->status->program name->double click on that,
    then goto to-> attribute take the package name and
    Goto SMOD tcode ->Utilities->give the package name and F8
    then a list of exits will display for that tcode as well as that package.
    u can check the table MODSAP
    u can check the table MODACT
    For BADI's,
    1)goto to tcode SE24 give the CL_EXITHANDLER and display and then double click on the GET_INSTANCE
    keep Break point at this location 'call method cl_exithandler=>get_class_name_by_interface'
    then the tcode it will trigger there and we can debugg there we can find badi'for that tcode and then remove the break point.
    2)Goto to tcode->status->program name->double click on that program will display's
    then  press crtl+F then cl_exithandler
    Thank u ,
    santhosh

  • Add additional data tab for tcode IW51/IW52/IW53

    Hi,
    I have to add the additional data tab for tcode IW51/IW52/IW53
    I have tried using customer exit QQMA0001. But the tab is not visible.
    Please let me know how to add this tab using customer exits.

    Hi Jogeswara,
    Just need a small help.
    We are not updating the standard table QMEL.
    But we have a customised table for the same.
    So when we create a notification number... it goes in the function exit but at that time we do not have the notification number generated.... and we are inserting records in custom table in this exit....
    So please guide us how we go ahead about it...
    Regards,

  • VA01 creation of new feild in Additional data tab B and populating values

    Hi All ,
           I had created  a new field zzordqty in VA01 item level -> additional Data  Tab B  SE51 -> SAPMV45A-> 8459.
          The values while creating a sales order are coming from Inbound FM Idoc_input_orders .  for this particular field the value is stored in segment E1EDP35 when QUALZ is 011 the value of CUSADD is to be shown of the screen of VA01.
          For this I had tried to create a enhancement point in FM Idoc_input_orders , and tried to capture the value of CUSADD into XVAP-ZZORDQTY .
           But as soon as i come out of the enhancment point the value of XVBAP-ZZORDQTY BECOMES 0 .
           And at the screen level of SAPMV45A i had created a PBO and transfered the values from XVBAP TO VBAP .
            But since the values are getting cleared , the value of zzordqty is zero and also niether it s getting updated at table level .
            I request to let me know , how should i proceed further , either to use exists or badi's
    Thanks & Regards,
    Kavitha

    hi,
    you can do it in include MV45AOZZ. the method should be for module in PBO of subscreen 8459.
    and ifyou are not able to pass it to any standard structures( like xvap, or vbap or some thing like that) you can export it from PBO or PAI module) and catch it in the save exits (user exits)
    Edited by: Soumyaprakash Mishra on Oct 2, 2009 11:08 AM

  • Add new fields to additional data tab in customs declaration

    Hello friends,
    My requirement is to add Z fields in the additional data tab in transaction /SAPSLL/CL_CUS_02 of GTS. I would also like to know If its possible to create a new tab all together in /SAPSLL/CL_CUS_02 where in we can add fields from a custom table.
    Thanks a lot in advance. Your help will be highly appreciated.
    Regards,
    Koustubh

    Hi Koustubh,
    As Dave pointed out, there is a BadI for extra tab on declaration Item and Header.
    There is an example implementation already available in the System. I believe that 1 BadI will no be enough for what you need.
    UI enhancement BadI uses standard CUHD and CUIT tables to store the extended data ( via table APPEND ), in order to save content to Z* table you will need a separate BaDI.
    Also, If you intend to use this extra data in outbound message / declaration Idoc, extra BadI has to be used and also the basic IDoc type will need to be extended with your Z* segment. Thats probably 2-3 BadIs working in tandem.
    Can you tell what is the purpose of the extra data / extra tab ?
    Best Regards,
    Branislav Petricek

  • Long text for a field in Additional Data tab of DMS

    i have a field in additional data tab called Name , how can a long text be assigned to that field

    Hello Mr. Vijay,
    Classification Configuration master data which we need in Additional Data tab. Presently In our SAP system we have limitation for just 30 character for each characteristic if i correct just confirm me please
    Regards
    Arun kaul

  • Screen Exit for VA01/02 Additional data tab B

    Hi
    i am working on screen exit for Additional Data Tab B to add custom fields.I have included the fields in VBAK table using append structure(is there a way to include fields using Include Structure?).
    Also i have seen in many threads that SAPMV45A program and 8309 is the screen number to do the changes.
    I am new to this Screen exits can someone tell me how to add these fields in that tab?i dont understand what to do from here.
    give me step by step process or any link to do this.

    hi
    but does it ask me for ACCESSKEY?
    i must not change the standard thing. i need to implement in Exits only.i have seen in SAPMV45A there are 2 exits exit_**_002 and 003 which can be used for PBO and PAI.
    but i am confused on how to bring the fields into ADDITIONAL DATA TAB B  without changing standard directly?

  • Making a field mandatory in additional data tab in sales area data in XD01/XD02

    Hi,
    Making fields in additional data tab in sales area data in XD01/XD02 as mandatory is not achievable through configuration. Also, user exit SAPMF02D was not helpful in achieving this. Kindly help me on this.

    Is this a new field you are creating or an existing field you want to mark as mandatory? My impression from your original post was that it was the second. If so then you don't need to create an implementation of CUSTOMER_ADD_DATA as there must already be one, instead you should be looking for the implementation that manages data for the screen you are interested in. This might be why you don't see your BADI get activated  when you go to  "area data -> extras -> additional data" as it isn't the right implementation.
    If you just want the field to be mandatory when the user goes into the additional data tab I would code this in the screen of the customer exit. If you want this field to be mandatory whether or not they enter other additional data then you should try the method of the badi Nabheet suggested but not in your own implementation.

  • Addition of new field in VA02 and VA01 in additional data tab B

    Hi,
    I have added a new field called delivery date to additional data tab B in both tcodes va01 and va02. Now, while creating or changing a sales order, if the Sales group is I00 then this field should be filled up mandatorily. For va01 and va02 i have done all the required coding where all this is done on pressing the save button when we are in the additional data b tab.It would throw an error message if the date is wrong and a wrning if it is empty (provided sales group is I00). I did the coding in 4462 screen.
    My requirement now is that if somebody doesnt go to the 'additional data b' tab n try to save the Sales order then also it should throw a warning or error stating that delivery date field should be filled up. Where exactly should i place the coding now? if it is screen 4900 then can someone suggest me at what place should the coding be done.
    Regards,
    Puja

    Hi Puja,
    Seems you have added the fields at item level in sales order and for this you must have appended the additional fields
    in vbap table. So to validate these fields you can use USEREXIT_CHECK_VBAP available in MV45AFZB user exit include.
    The fields you appended will be available in vbap structure, add your validation here or even in USEREXIT_SAVE_DOCUMENT_PREPARE  available in MV45AFZZ which is called before saving the sales order.
    Regards,
    Pawan

  • Grouping field value in the additional data tab is saved with capital lette

    Hi,
    Whenever I change the value in the 'Grouping field' in the additional data tab, it gets saved with all letter caps.
    For e.g, if i enter 'Manager'.. it gets saved as 'MANAGER'.
    what could be the reason for this? Is there any configuration for this?
    Regards,
    Simmi

    Hi Simmi,
    For Grouping and Search Field, this seems to be the standard system behaviour in cProjects and as per my knowledge there are no settings for the same.
    Probably you can raise an OSS message regarding the same.
    Regards,
    Vivek Pandey

  • Add extra field in ME21N at Additional  Data Tab

    Hi All,
              I want to add Two fields from our custom table (Tax and Tax type) in ME21N T code at Additional data tab,
              and save the value in our custom table.
    Please suggest me for this .
    I searched for this there mentioned  BADI-   ME_GUI_PO_CUST
    So Please advise me how to proceed for this one.
    Thanks & Regard
    Vivek

    Use MM06E005 enhancement to add fields in screen of ME21N
    SAPMM06E 0101 CUSTSCR1 SAPLXM06 0101 Subscreen: PO header
    SAPMM06E 0111 CUSTSCR1 SAPLXM06 0111 Subscreen:  PO item
    SAPMM06E 0201 CUSTSCR1 SAPLXM06 0201 Subscreen: agreement header
    SAPMM06E 0211 CUSTSCR1 SAPLXM06 0211 Subscreen: agreement item
    SAPMM06E 0301 CUSTSCR1 SAPLXM06 0301 Subscreen: RFQ header
    SAPMM06E 0311 CUSTSCR1 SAPLXM06 0311 Subscreen: RFQ item
    Use the appropriate screen exit depending on where u require to add field

  • Add new fields in Additional data tab B in Inquiry,

    HI,
    I want  to add additional new fields in inquiry on the addition tab -B, like
    Architect Name
    Contractor name
    followed By
    referenced by  like this, and want to capture the report on these fields
    plz guide
    thanks in advace

    Dear Rishi,
    Please Don't post multiple threads for same issue(i.e Add new fields in Additional data tab B in Inquiry).
    Try with these User Exits,
    USEREXIT_MOVE_FIELD_TO_VBAK
    Use this user exit to assign values to new fields at sales document header level. It is described in the section "Transfer of the customer master fields into the sales document".
    The user exit is called up at the end of the FORM routine VBAK_FUELLEN.
    USEREXIT_MOVE_FIELD_TO_VBAP
    Use this user exit to assign values to new fields at sales document item level. It is described in the section "Copy customer master fields into the sales document".
    The user exit is called up at the end of the FORM routine VBAP_FUELLEN.
    USEREXIT_MOVE_FIELD_TO_VBEP
    Use this user exit to assign values to new fields at the level of the sales document schedule lines.
    The user exit is called up at the end of the FORM routine VBEP_FUELLEN.
    USEREXIT_MOVE_FIELD_TO_VBKD
    Use this user exit to assign values to new fields for business data of the sales document. It is described in the section "Copy customer master fields into sales document".
    The user exit is called up at the end of the FORM routine VBKD_FUELLEN.
    I hope this will help you,
    Regards,
    Murali.

  • Additional Data A in Sales order Item....

    Hi,
    Where to Configure fields(Material Group1,Material Group 2) in Additional data A in Sales Order Item level??? so that user can select it from Dropdown list.
    Any impact on Busines Process???
    Regards,
    Amol

    Hi Amol,
    The path for configuring these material groups is:
    SPRO>Logistics-General>Materail master>Settings for key fields>Data relevant to sales and distribution-->Define material groups.
    Here you can define the material groups and for each group you can define the values also. by double clicking on the groups.
    No,It willnot have any impact on the business process at all.
    Regards,
    Krishna.

Maybe you are looking for