New field in sales order screen at item level

Hi Friends,
I need to insert a new field at the item level in the sales order screen (additional data tab). Please let me know how to do the same.
Regards,
Vivek

Hi,
you can add fields of self-defined tables on the "Additional Data B" tab
. Those fields should be added onto the respective screen and the flow
Logic should be adjusted. Additional item data is on screen SAPMV45A 0459. This screen contains
Include SAPMV45A 8459 as user exits.
This should involve not only appending a structure containing customer-
Specific fields within the table VBAP but also using the
userexit coding:
a)MV45AOZZ for PBO (i.e. module zzmodify_uas_pbo output);
b)MV45AIZZ for PAI (i.e. module zzmodify_uas_pai input);
c)MV45AFZZ (sub-routine USEREXIT_MOVE_FIELD_TO_VBAP) for defaulting the
values from the customer master and further processing.
Best regards,
Joerg

Similar Messages

  • Create a new field in sales order

    HI folks i want to create a new field in sales order item level how can i create

    Hi,
    Hope this will help you,
    User exits in the screens
    Additional header data is on screen SAPMV45A 0309, additional item data on screen SAPMV45A 0459. These screens contain the Include screens SAPMV45A 8309 or SAPMV45A 8459 as user exits.
    Fields which are also to be included in the sales document for a specific installation should be included on the Include screens for maintaining. If an application-specific check module is needed for the fields, this can be included in the Include MV45AIZZ. The module is called up in the processing logic of the Include screens.
    For field transports, you do not have to make changes or adjustments.
    Example
    A new field, VBAK-ZZKUN, should be included in table VBAK.
    If the check is defined via the Dictionary (fixed values or check table) the field must be included with the fullscreen editor in the Include screen SAPMV45A 8309. In this case, no change has to be made to the processing logic.

  • New Input fields for Sales Order Screen

    Hi all
    I have to modify the existing Sales Order Screen for transactions VA01, VA02 and VA03 using user exits. I have to add two input fields (of order quantity for tow different sales units CS and BT) in existing table control of Sales order and later I want to convert these UOMs to basic UOMs.
    As its a screen exit part, I had done some R&D for the same. I had never faced such requirement in past.According to my knowledge "User exits are only to put additional information in existing SAP programs and not to modify main screens." 
    BADI is new to me but I still tried to search BADI for the same but didn't able to find it.
    Basically I am not able to find Screen Exit for this.
    Can anybody help me in this regard?
    If you are suggesting BADI then please try to explain in detial.
    Thanks in advance
    Amol

    Hi Amol,
    VA01, VA02 are fine. Since VA03 is display, you cannot edit the fields you add.
    To add fields to this display you need to edit the following screens :
    Program : SAPMV45A
    Screen :  8309
    It is the Additional Data B tab provided by SAP to add custom fields .
    You may need an access key to edit this screen.
    Putting your fields there and running VA01/02 will solve half your problem.
    The second half is how to capture the data entered in those fields to the database.
    In order to capture the data from these custom fields you can use
    the user exit
    MV45AFZZ
    USEREXIT_SAVE_DOCUMENT_PREPARE
    USEREXIT_SAVE_DOCUMENT depening on what you want to do.
    Hope this helps.

  • Item category field in sale order screen to be greyed out

    Dear Friends
                        While creating sale order I have a requirement to make item category field to be uneditable i.e greyed out .
    How can I do that ?
    Regards
    Mahesh.

    Hi,
    Once there is any subsequent document to sales order item catagory field is going to be grayed out, till that time u can change ur item category. OR if u do nlt maintain manual item categories in the item category determination  to ur sales document type it is not possible to change the item category other than the one u specified in the determination.
    Regs,
    Ravi Duggirala

  • Adding new field in Sales order

    Hi frnds,
    i need to add a field (LIFNR) in item level of sales order. can any body tell me thru which screen exist i can add the field? i hope i need to add the field in VBAP first then i need to go the screen.
    actually i have done the similar in PO. in that i found one screen exist and in include tables i have added the field, but in SO i am not able to find the screen exist as well as include tables.
    points will be rewarded for help ful answers.
    thanks in advance.
    regards,
    Balu

    Reddy,
    You can make use the belowsaid code for identifying user exits pertaining to any transaction.
    Source Code to find User Exits 1
    * REPORT YSMOD2
    * SELECTION TEXTS : INPUT1 ----> Enter search term for Trxn.
    *                   INPUT2 ----> Enter type of exit
    REPORT YSMOD2 .
    TABLES: MODSAP, MODACT, TSTC.
    PARAMETERS: INPUT1 LIKE TSTC-TCODE DEFAULT ' ',
                INPUT2 LIKE MODSAP-TYP DEFAULT ' '.
    DATA: SEARCH1(6),
          SEARCH2(3),
          SEARCH3 LIKE MODSAP-MEMBER.
    DATA : FIRST_ROW VALUE 'Y'.
    CONCATENATE: '%' INPUT1 '%' INTO SEARCH1,
                 '%' INPUT2     INTO SEARCH2.
    SELECT * FROM TSTC WHERE TCODE LIKE SEARCH1.
      FIRST_ROW = 'Y'.
      CHECK TSTC-PGMNA NE SPACE.
      CONCATENATE '%' TSTC-PGMNA '%' INTO SEARCH3.
      SELECT * FROM MODSAP WHERE TYP LIKE SEARCH2
                           AND MEMBER LIKE SEARCH3.
        SELECT SINGLE * FROM MODACT WHERE MEMBER = MODSAP-NAME.
        IF FIRST_ROW EQ 'Y'.
          WRITE: /0 TSTC-TCODE, 6 TSTC-PGMNA, 16 MODSAP-NAME, 32 MODSAP-TYP,
                                           45 MODSAP-MEMBER, 70 MODACT-NAME.
          FIRST_ROW = 'N'.
        ELSE.
    WRITE: /16 MODSAP-NAME, 32 MODSAP-TYP, 45 MODSAP-MEMBER, 70 MODACT-NAME.
        ENDIF.
        CLEAR : MODSAP, MODACT.
      ENDSELECT.
      IF SY-SUBRC NE 0.
        WRITE : /0 TSTC-TCODE, 6 TSTC-PGMNA, 30 'No exits found'.
      ENDIF.
      CLEAR TSTC.
    ENDSELECT.
    END-OF-SELECTION.
      CLEAR: SEARCH1, SEARCH2, SEARCH3.
    Regards

  • Add new fields to Sales Order

    Hi All,
    I want to add new fields to the Additional Data A of the sales order header and
      and new fields to the Additional Data A of the sales order item. Can anyone please suggest me if there are any user exits or BADI's for this.
    Thanks,
    Nammi.

    Hi Pavan,
    The BADI which could have been used was BADI_SD_TAB_CUST_H but its made for SAP internal use only.
    if you are working on ECC 6. May be you can try implementing this badi as an extension to SAP standard program and see if it works.
    Regards,
    Vikas
    <b>Encourage by rewarding points if useful.</b>
    Message was edited by:
            Vikas Taneja

  • Adding new field to sale order BDOC and replicate to R3

    Hi all,
    I'm trying to map the new customize field in CRM to field VBKD-VSART in R3.
    The reason behind this  was because my customer would like to have field shipping type appear in CRM order, but since this field is not provided by SAP, I've to create it. 
    What I did was:
    1) Create new field VSART via EEWB in CRM. This is done and working fine, the field appeared in 'customer fields' tab.
    2) Put this new field to BDOC in CRM.  I believe this is done when I created via EEWB. I think it use BADI CRM_BTX_EXTENSIONS , implementation CRM_GEN_OBJECTS for this part.
    3) Put BDOC into BAPI in CRM.  This is the part that I'm having a problem with.
    I found that I need to use BADI CRM_DATAEXCHG_BADI for that and I've checked example from implementation CRM_BTX_EEW_DATAEXCH. However, it only contain example to input field in VBAK, VBAP and VBEP.  Can anyone guide me on this part?
    4) Map BAPI to R3. I think that I need to use userexit MV45AFZZ form USEREXIT_MOVE_FIELD_TO_VBKD for that. But what is the incoming structure that I could use to map with VBKD.
    Any help would be appreciate, Thank you in advance.
    Gilbert

    Hello Gilbert,
    Please find if this helps,
    BDOC's to update the custom fields in R/3 from the CRM sales order
    Replication of new customer fields in order to R/3
    regards,
    Muralidhar Prasad Chatna.

  • Regarding Painting for New Field in Sales Order

    Dear All,
    My client wants Painting as a field in the sales order where can I find Painting as a field in SAP or from which table should I pick this from...I need to prepared the functional design since i am from the functional side.
    If the same is not available in Standard SAP what is the process pls explain
    Regards
    Atul

    Hi
    What's painting?

  • New field in Enjoy PO (ME22N) on item level. not changable.

    I searched the forum for this, but hmmm was kinda flooded with stuff not belonging to my subject. Maybe we should have Search courses...
    So dudes this is the first time i have to adopt/enhance SAPLMEGUI.
    I Appended include CI_EKPODB.
    Since this is included in MEPOITEM i didnt had to append MEPOITEM.
    My field is on the business-tab on item level. (Dynrpo 1322).
    So i appended MEPO1322.
    Then i modified Dynrpo 1322 (as it was already modified) and added my new field.
    For testing issues i took a PO and used SE16N and &sap_edit to get some value into my new field for a certain PO-item.
    When i then tried ME22N with my PO i saw my field on the right position and even populated with the value i had just set.
    The thing is that even tho i´m in ME22N it is not changable.
    Are there any documentations on how to modify/enhance/whatever PO items in enjoy scenario?
    Having a look at MEPOITEM it has 2 big includes:
    MEPOITEM_DATA "according to comments those should be changable
    MEPOITEM_TECH "according to comments those should NOT be driectly changable
    But since CI_EKPODB is included in MEPOITEM_DATA i get the idea that my field should be changable.
    Sorry if i didnt search properly, i tried, maybe you can give me a hint how to imrpove my  searches

    Hi
    Probably the metafield is missing, this is set by fm MEMFS_BUILD_MAPPING_PO_VIEWS
    Here the form mepo1320 is called:
    FORM mepo1322 CHANGING ch_mapping TYPE mepo_t_metafield_mapping.
      gf_tabname = 'MEPO1322'.
      map 'AKTNR' mmmfd_promotion.
      map 'ABELN' mmmfd_alloc_tbl.
      map 'ABELP' mmmfd_alloc_tbl_item.
      map 'SAISO' mmmfd_seas_cat.
      map 'SAISJ' mmmfd_seas_year.
      map 'AUREL' mmmfd_at_relev.
      map 'KOLIF' mmmfd_prior_vend.
      map 'BSGRU' mmmfd_reason_ord.
    ENDFORM.                               " MEPO1322
    Probably you should enhance it
    Try to check class CL_MFS_MM, method REGISTER
    Max

  • BADI for Sales Order check on Item Level

    Hello,
    I found this BADI, 'BADI_SD_SALES_ITEM' which i guess fires at the item level. But how do i use 'THIS' particular BADI to fulfill my requirement. Can someone guide me how to use 'THIS' particular BADI or if there are any other BADI which gets fired on the sales order item level
    Thank you
    Shehryar Dahar

    better to use Exit Program MV45AFZZ.
    or u have to findout in which Method u can do changes required.
    Regards
    Peram

  • Adding new field (ie Goods Recievd date ) at item level in MIRO tcode.

    Hi Friends,
    I got on issue on screen exits.
    I have to add one more field in the transaction mir4 and that field is
       '  Good received Date '. So please explain me how to add this field in the screen and what is the process to do this one. i dont know about user exsit.
    So please help me for this issue and its very urgent....
    Thanks in Advance.....
    Anil.

    Hi
    Try the user exit
    LMR1M001  this contains a screen exit in which you can add an extra field at header level of MIRO.
    You can also try the BADI
    INVOICE_UPDATE
    reward points if useful
    regards
    Anji

  • Additional field in the sales order screen

    I need some additional field in the sales order screen. There is
      also no screen exit available for VA01. Can I use this
      additional data B tab in header details by creating additional
      field in it. Please tell me how to use this tab or how to get
      different field in the sales order (header or item level).

    Hi,
       Yes. You can use this screen. For this either can modify the table VBAP with additional fields and put them on this screen.
      You have to code your logic to save these values in the include MV45AFZZ. The subscreens you have to use for this are 4462 or 8459.
    refer Screen exits - Urgent.
    with regards,
    Vamsi

  • Locking Sales order and line item from reading

    Hi,
    I am writing an interface program to create an offer list inspection report. If two users are running the program at the same time, and if the first user read and processing a sales order line item, it should not read the same sales order line item twice for the second user.
    Please let me know if anybody has used locking sales order at line item level (VBAP).
    The enqueue function for VBAP is not working.
    Any suggestions will be helpful.
    Regards
    Ravikanth

    hi Ravi ,
    u Can lock the Sales Order for processing ,  u cannt restrict users @ tables level.
    u hhave to enqueue the VBELN
    Regards
    Prabhu

  • Add field to Sales Order line item

    I need to add a field to Sales Order line item, can you tell me a user exit??

    Hi,
    You can a new field in the additional data B tab of the sales order line item..
    Check the program SAPMV45A and screen number 8459
    Thanks,
    Naren

  • Cost centre field in sales order account assignment screen

    Hello all,
    I am unable to find the settings for cost center field in sales order account assignment tab screen along with profit center and internal order. kindly let me know the path to select cost center.
    Thanks in advance
    Raju

    The Cost Center Determination settings is in OVF3 -  but there are some cases where the Cost Center must be exceptionally changed. 
    If the document category for order type in IMG VOV8 is defined to be "I" which belong to order type FD - Deliv.Free of Charge, then the field cost center is active for input during transaction VA01. 
    Alternatively, you can specify an order reason and assign a cost center to an order reason. 
    However the standard SAP works only at the header level though, so it would not work if cost center is needed on the line item. 
    The cost center are assign for such business transactions as :
    - Free deliveries
    - Returns
    - Deliveries of advertising materials
    You can also make cost center allocation dependent on the order reason, for example:
    Order reason: Damage in transit
    Order reason: Free sample
    Both the IMG settings are done in transaction OVF3, either with/without the order reason.

Maybe you are looking for