How to add line item to sales order item table?

Kindly help me the with the below requirement .
Add line item to sales order(va01) dynamically on click of button. The button is also custom created push button.
In the above requirement I have added the pushbutton to va01 tcode. But when I click on that button I need to add line item to sales order item table.
I tried a lot but I am not successful. If possible can u please help on this.
Regards,
Rachel

Hi!
It's quite easy even in the standard SAP to add a line item for a customer order, I don't think it worth to develop a new button for this.
However if you wanted to add a line automatically, the you can do the following in the program MV45AFZZ, FORM USEREXIT_SAVE_DOCUMENT.
You can use similar code, but with some modifications.
DATA: lv_posnr.
LOOP AT xvbap.
MOVE xvbap-posnr TO lv_posnr.   "get the last posnr
ENDLOOP.
ADD 10 TO lv_posnr.
MOVE 'XYZ' TO xvbap-matnr.   "enter your material number here
MOVE lv_posnr TO xvbap-posnr.
* fill additinal field data in XVBAP if necessary
MOVE 'I' TO xvbap-updkz.                  "Insert line
APPEND xvbap.
Regards
Tamá

Similar Messages

  • How to add three fields in Sales order item level and supress/hide many

    Hi Gurus,
    My client requirement is :
    1. Three fields to be added at Sales order Item level and they should flow till billing.
    2. Supress/hide most of the fields in Sales order, so that end user will be happy( thru SHDO how to do)
    Please share your experiences and help me.
    BEST REGARDS
    Srikanth

    Hi Subba Rao
    in VA01 screen - Material /qty/ after entering this client wants to enter three more details say X/Y/Z
    and after that he dont want to see maximum fields displayed in VA01 Screen.
    I think it makes sense.
    Regards
    Srikanth

  • How to add a partner in sales order item by enhancement?

    Hi expert,
    Sales order item's bill-to and payer will be same with header if you do not change it manually. now I want to modify some item's bill-to and payer which different from the header automatically. Is there any enhancement for this function?
    Thanks and best regards
    Lance

    Hi Lance,
    You can populate the XVBPA structure with function module "VIEW_XVBPA_FILL".
    You have to pass the following values to the FM:
    COMWA-KUNNR <- the changed partner code
    COMWA-PARVW <- parter role
    COMWA-VBELN, COMWA-POSNR <- Salesorder and item: just fill it with VBAK-VBELN,VBAP-POSNR
    You'll get the result in parameter XVBPA, which can be used for append the internal
    table XVBPA in the userexit.
    BR,
    Barna

  • Add a partner at sales order item level?

    According to SAP note 380507 there is no partner determination on sales order item level.
    I've the following requirement: When an item with a certain item category is created a partner role/function should be added at the sales order item level.
    I've identified this userexit MV45AFZB / USEREXIT_CHECK_VBAP where I can add a line to iternal tabel XVBPA. Is use the fields:
    MANDT
    VBELN
    POSNR
    PARVW
    UPDKZ = 'I' (Insert)
    NRART = 'PE'
    FEHGR = '09'
    This works fine, the entry is correct displayed and stored in VBPA table in the sales order document.
    My challenge is that the incomplete log doesn't show that the partner role/function is still incomplete.
    When I enter the partner role/function manually (personal number = BLANK) then the incomplete log shows correctly.
    But not when I add it in the userexit.
    The behaviour should be that I add the partner role/function and the incomplete log should warn the user that he/she still has to enter a personal number for this partner.
    What to do?
    Thanks for your input, kind regards.
    Georg.

    Found the solution myself.
    Internal table XVBUV can be filled to generate incomplete log entries.
    Thx.

  • To Add Two ZFields to sales order Item (Column) of VA01

    Hi friends,
    My requirement is to Add Two Zfields at column level of Sales order Item of VA01.
    i found 8459 Screen Exit , but it will display in Additional Tab B .
    And aslo I need to get the zfield values for every line item .
    Example:
    ITEM  | MATERIAL    | SERVICIABLE MATERIAL | Service type(zfield)|
    10      |10000            | 10001                               | Cleaning
    15      |20000            |200001                              | Repair
    i hope u understand my query . so for each line item it will vary , i have to do the validation for all the line item fields.
    Please help me Very urgent.
    Thanks,
    Veera...

    Transaction Code - VA01                     Create Sales Order
    Exit Name           Description
    SDTRM001            Reschedule schedule lines without a new ATP check
    V45A0001            Determine alternative materials for product selection
    V45A0002            Predefine sold-to party in sales document
    V45A0003            Collector for customer function modulpool MV45A
    V45A0004            Copy packing proposal
    V45E0001            Update the purchase order from the sales order
    V45E0002            Data transfer in procurement elements (PRreq., assembly)
    V45L0001            SD component supplier processing (customer enhancements)
    V45P0001            SD customer function for cross-company code sales
    V45S0001            Update sales document from configuration
    V45S0003            MRP-relevance for incomplete configuration
    V45S0004            Effectivity type in sales order
    V45W0001            SD Service Management: Forward Contract Data to Item
    V46H0001            SD Customer functions for resource-related billing
    V60F0001            SD Billing plan (customer enhancement) diff. to billing plan
    Rewards if useful.
    Minal

  • How to change material discription at sales order item level ?

    Dear Gurus,
            We have some requirement need to change material description at sales order item level , but in system it is in disable mode how to change that  into change mode in sales order item level?
    Thanks in advance
    Regards
    Venkat

    Not possible in SAP Standard.
    Instead why not create a Customer Material Info Record in T-Code - VD51?
    Alternatively it the requirement to change the Description is only for few Sales Order then create a Text ID & Enter the Description in Text Feild. Then in Smartform program wrie a code which will check for Material Description in the Text first & if not found then take from normal material Description in Sales Order.
    But Customer Material info Record seems to be the best solution.
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • How to default Delivery Priority on Sales Order Items from Ship To?

    Is there a way to pull the Delivery Priority from the Ship To partner when creating sales order items rather than pulling from the Sold To partner?  I've checked all of my documentation -- including OSS notes; searches on SDN, IT Toolbox, and internet.  This doesn't appear to be configurable.  Can someone confirm that or tell me how to configure?  If not configurable, what is the recommended user exit? 
    Thanks!

    Thanks for responding - you are the first person to do so.  Unfortunately, I think you missed the point of my question.  We do not want to create and maintain customer materials - the delivery priority is in generally not material dependent.  We simply want to be able to have the Sales order item use the Ship To partner's delivery priority rather than the Sold To partner's delivery priority as the default delivery priority on the sales order items.  Ideas on how to do that?

  • How to put some tabs in sales order item level  invisible mode

    Hello Gurus ,
    Good evening everybody ,
    We have some specific requirement from the client - Client does n't want few  end users to see the price details in sales so they want  the condition tab to be  invisible mode in sales order item lvel only for few users  i.e the condition tab  should not be displayed  for that user  is this possible  ?
    Note : I only have idea setting few fields in  sales order  but not tabs in sales order through screen variant -SHD0
    Looking for your inputs
    Thanks and regards
    Venkat

    Hi,
    There are a couple of options you can go with.
    1) You can use Transaction and Screen variants to create your own ZVariant and then put that to user profile.  Allow the user to run only with the variant you setup for the user via authorizations.
    2) Get GUIXT software by Synactive, to perform the above task for you. 
    3) If you happen to have latest version of SAP ECC i.e. 6.0 with EHP3 or above, you can go with NWBC (Netweaver Business Client).
    Thanks
    Kapil Sharma

  • Link between delivery line item and sales order item schedule line.

    Hello friends,
    This is a continuation of my earlier query - for which I got half the solution, and this is the remaining problem.
    I want to know: from delivery document line item, how to link it to sales order line item's schedule line (when there are multiple schedule lines with identical quantities).
    Thanks for your help.
    - Chetan

    This is the code which i used for the same purpose and its working.
    Hope this will help you too....
    ****it_itab  is my final internal table.
    *Internal table for manupulating the Delivery balance when
    *its used in more than one schedule line
    TYPES: BEGIN OF ty_new,
           vbeln TYPE vbep-vbeln," so no
           posnr TYPE vbep-posnr," so line no
           etenr TYPE vbep-etenr," schedule line
           delno TYPE lips-vbeln,"delivery no
           delposnr TYPE lips-posnr,"del item no
           totval TYPE vbep-wmeng," total del wise value
           val   TYPE vbep-wmeng," del wise used value
           sdval TYPE vbep-wmeng,"schedule wise  del used value
           sdtotval TYPE vbep-wmeng," total Schedule value
         END OF ty_new.
    DATA:it_new TYPE ty_new OCCURS 0,
         wa_new TYPE ty_new.
    DATA: it_vbepvb TYPE TABLE OF vbepvb,
            wa_vbepvb LIKE LINE OF it_vbepvb,
            fvbfa TYPE TABLE OF vbfa,
            fvbup TYPE TABLE OF vbup,
            fvbap TYPE TABLE OF vbapvb.
      LOOP AT it_vbak INTO wa_vbak.
        LOOP AT it_vbap INTO wa_vbap
                WHERE vbeln = wa_vbak-vbeln.
      SELECT * FROM   vbfa INTO TABLE fvbfa WHERE vbelv = wa_vbap-vbeln
                                             AND  posnv = wa_vbap-posnr.
      SELECT * FROM   vbup INTO TABLE  fvbup WHERE vbeln = wa_vbap-vbeln
                                             AND  posnr = wa_vbap-posnr.
      SELECT * FROM   vbap INTO TABLE fvbap WHERE vbeln = wa_vbap-vbeln
                                             AND  posnr = wa_vbap-posnr.
      SELECT * FROM   vbep INTO TABLE it_vbepvb WHERE vbeln = wa_vbap-vbeln
                                             AND  posnr = wa_vbap-posnr.
      CALL FUNCTION 'RV_SCHEDULE_CHECK_DELIVERIES'
        EXPORTING
          fbeleg                        = wa_vbap-vbeln
          fposnr                        = wa_vbap-posnr
      FVERRECHNUNG                  = ' '
      FS073_ALT                     = ' '
      IF_NO_SORT                    = ' '
        TABLES
       fvbfa                         = fvbfa
       fvbup                         = fvbup
       fxvbep                        = it_vbepvb
      FVBLB                        =
        fvbap                        = fvbap
    EXCEPTIONS
      FEHLER_BEI_LESEN_FVBUP        = 1
      FEHLER_BEI_LESEN_FXVBEP       = 2
      OTHERS                        = 3
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      SORT it_vbepvb BY vbeln posnr edatu.
      LOOP AT it_vbepvb INTO wa_vbepvb
                    WHERE vbeln = wa_vbap-vbeln
                      AND posnr = wa_vbap-posnr.
        to write data of schedule line with no delivery
        MOVE wa_vbepvb-olfmng_flt TO wa_itab-openqty.
        IF  wa_vbepvb-bmeng EQ wa_itab-openqty.
          CLEAR wa_itab.
          PERFORM schedule_data.  "schedule line based data to be displayed
          MOVE: wa_vbap-lgort TO wa_itab-lgort.
          MOVE: wa_vbepvb-etenr TO wa_itab-etenr,
                wa_vbepvb-bmeng TO wa_itab-kwmeng,
                wa_vbepvb-olfmng_flt TO wa_itab-openqty.
          APPEND wa_itab TO it_itab .
          CLEAR wa_itab.
        ENDIF.
        LOOP AT it_vbfa INTO wa_vbfa WHERE vbelv = wa_vbepvb-vbeln
                                            AND  posnv = wa_vbepvb-posnr.
          READ TABLE it_likp INTO wa_likp WITH KEY vbeln = wa_vbfa-vbeln.
          CHECK wa_likp-bldat >= wa_vbepvb-edatu.
    check the Delivery doc date with the schedule line confirmed date
          CLEAR: delbal, deltot,wa_new.
          LOOP AT it_new INTO wa_new WHERE vbeln = wa_vbepvb-vbeln
                                         AND       posnr = wa_vbepvb-posnr
                                         AND       etenr = wa_vbepvb-etenr.
            deltot = deltot  +  wa_new-sdval.
          ENDLOOP.
          delbal = wa_new-sdtotval - deltot.
          CHECK sy-subrc <> 0 OR delbal GT 0.
          MOVE wa_vbepvb-olfmng_flt TO wa_itab-openqty.
          CHECK  wa_vbepvb-bmeng NE wa_itab-openqty.
    ****To check whether this delivery is already fully allocated against
    any other schedule.
    LOOP AT it_lips INTO wa_lips WHERE  vbeln = wa_vbfa-vbeln
                                           AND posnr = wa_vbfa-posnn.
            MOVE: wa_likp-bolnr TO wa_itab-vesname.
            MOVE: wa_likp-vbeln TO wa_itab-delno.
            MOVE: wa_likp-wadat TO wa_itab-wadat.
            MOVE: wa_likp-anzpk TO wa_itab-anzpk.
            MOVE: wa_likp-lddat TO wa_itab-lddat.
            MOVE: wa_likp-ernam TO wa_itab-ernam.
    ******end of code added by IVL1 on sep 27 2007 #3618
            PERFORM schedule_data.
            IF wa_lips-umvkz <> 0.
              tempquant = wa_lips-umvkn / wa_lips-umvkz.
            ELSE.
              tempquant = wa_lips-umvkn. "delivery qty
            ENDIF.
            tempquant = tempquant * wa_vbfa-rfmng.
    ***New logic added to get delivery qty schedule wise****
            MOVE: wa_vbepvb-etenr TO wa_itab-etenr,
                  wa_vbepvb-bmeng TO wa_itab-kwmeng,
                  wa_vbepvb-olfmng_flt TO wa_itab-openqty. "jo
    **if delivery qty is less than or equal to schedule line qty******
            IF tempquant LE  wa_vbepvb-bmeng.
              wa_itab-delqty =  tempquant.
              LOOP AT it_new INTO wa_new  WHERE  vbeln = wa_vbepvb-vbeln
                                         AND     posnr = wa_vbepvb-posnr
                                         AND     etenr = wa_vbepvb-etenr
                                         AND     delno  = wa_lips-vbeln
                                         AND     delposnr = wa_lips-posnr.
                MOVE-CORRESPONDING  wa_itab TO wa_new.
                wa_new-delposnr = wa_lips-posnr.
                wa_new-val = tempquant.
                wa_new-totval = tempquant.
                wa_new-sdval  = tempquant.
                wa_new-sdtotval = wa_vbepvb-bmeng.
                MODIFY TABLE it_new FROM wa_new .
                IF NOT sy-subrc IS INITIAL.
                  APPEND wa_new  TO it_new.
                ENDIF.
              ENDLOOP.
              IF sy-subrc <> 0.
                MOVE-CORRESPONDING  wa_itab TO wa_new.
                wa_new-delposnr = wa_lips-posnr.
                wa_new-val = tempquant.
                wa_new-totval = tempquant.
                wa_new-sdval  = tempquant.
                wa_new-sdtotval = wa_vbepvb-bmeng.
                APPEND wa_new TO it_new.
              ENDIF.
             wa_itab-delqty =  tempquant.
             CLEAR tempquant.
            ELSE.
        lips qty > so schedule lineqty
              CLEAR deltol.
              LOOP AT it_new INTO wa_new WHERE    vbeln = wa_vbepvb-vbeln
                                          AND      posnr = wa_vbepvb-posnr
                                         AND     etenr = wa_vbepvb-etenr
                                          AND     delno  = wa_lips-vbeln
                                          AND    delposnr = wa_lips-posnr.
                deltol = deltol  + wa_new-val.
              ENDLOOP.
              LOOP AT it_new INTO wa_new  WHERE    vbeln = wa_vbepvb-vbeln
                                          AND      posnr = wa_vbepvb-posnr
                                          AND     delno  = wa_lips-vbeln
                                          AND    delposnr = wa_lips-posnr.
                MOVE-CORRESPONDING  wa_itab TO wa_new.
                wa_new-val = wa_new-totval - deltol.
                wa_itab-delqty =  wa_new-val.
                wa_new-delposnr = wa_lips-posnr.
                wa_new-totval = tempquant.
                wa_new-sdval  = wa_new-val.
                wa_new-sdtotval = wa_vbepvb-bmeng.
                MODIFY TABLE it_new FROM wa_new .
                IF NOT sy-subrc IS INITIAL.
                  APPEND wa_new  TO it_new.
                ENDIF.
              ENDLOOP.
              IF  sy-subrc <> 0.
                MOVE-CORRESPONDING  wa_itab TO wa_new.
                wa_itab-delqty =  wa_vbepvb-bmeng.
                wa_new-delposnr = wa_lips-posnr.
                wa_new-val =  wa_vbepvb-bmeng.
                wa_new-totval = tempquant.
                wa_new-sdval  = wa_vbepvb-bmeng.
                wa_new-sdtotval = wa_vbepvb-bmeng.
                APPEND wa_new  TO it_new.
              ENDIF.
            ENDIF.
            IF NOT wa_lips-lgort IS INITIAL.
              MOVE: wa_lips-lgort TO wa_itab-lgort.
            ELSE.
              MOVE: wa_vbap-lgort TO wa_itab-lgort.
            ENDIF.
            APPEND wa_itab TO it_itab .
            CLEAR wa_itab.
          ENDLOOP. 
        ENDLOOP.
        CLEAR wa_vbepvb.
      ENDLOOP.
        ENDLOOP.
        CLEAR wa_vbak.
      ENDLOOP.

  • How to add a button in Sales Order screen?

    Hi,
    Basically I want to add a new button "Show My lookup" in sales order screen and when clicking the button I want to show a form.
    Please anyone tell me how to do this?.
    thanks in advance
    Mina

    Here is a sample ItemEvent that adds a custom button to Sales Order Entry, and loads a form from XML when it is clicked.  Make sure you give the forms unique identifiers when you create them - the sample just uses a hardcoded value.
    Hope it helps,
    John
    Private Sub sboApp_ItemEvent(ByVal FormUID As String, pVal As SAPbouiCOM.IItemEvent, BubbleEvent As Boolean)
        On Error GoTo ErrorHandler
        Dim sboForm                 As SAPbouiCOM.Form
        Dim sboItem                 As SAPbouiCOM.Item
        Dim sboBtn                  As SAPbouiCOM.Button
        Dim objXMLDoc               As MSXML2.DOMDocument
        Dim objXMLErr               As IXMLDOMParseError
        Dim objXMLElem              As MSXML2.IXMLDOMElement
        Dim strIdentifier           As String
        If pVal.EventType = et_FORM_LOAD And pVal.Before_Action = False And pVal.FormType = 139 Then
            'Add Custom Button
            Set sboForm = sboApp.Forms(FormUID)
            Set sboItem = sboForm.Items.Add("AZU_BTN", it_BUTTON)
            sboItem.Top = sboForm.Items("1").Top
            sboItem.Width = "80"
            sboItem.Left = sboForm.Width - 105
            Set sboBtn = sboItem.Specific
            sboBtn.Caption = "Custom Button"
        End If
        If pVal.EventType = et_ITEM_PRESSED And pVal.Before_Action = False And pVal.ItemUID = "AZU_BTN" And pVal.FormType = 139 Then
            strIdentifier = "AZU_XXX" 'You should set this to a unique value each time
            Set objXMLDoc = New MSXML2.DOMDocument
            objXMLDoc.async = False
            objXMLDoc.validateOnParse = True
            objXMLDoc.Load (App.Path & "\Config\AZU_CUSTOM.srf")
            Set objXMLErr = objXMLDoc.parseError
            If (objXMLErr <> 0) Then
                MsgBox "Failed to load XML screen definition."
                Exit Sub
            Else
                For Each objXMLElem In objXMLDoc.getElementsByTagName("form")
                    objXMLElem.setAttribute "uid", strIdentifier
                Next
                sboApp.LoadBatchActions objXMLDoc.xml
            End If
        End If
        Exit Sub
    ErrorHandler:
        MsgBox Err.Number & " " & Err.Description
    End Sub

  • How to create a job card and how to add waranty card in sales order

    I have one scenario for CS.the scenario is realted to automotive industry. Basically its a trading industry of HCV,MCV,LCV apart from that they will do servicing also. First the customer comes for a service.he is having free services. he will have waranty for spare parts of the vehicle. once he comes for servicing first the executive will take complains from the customer after that a Job card will be issued to the customer. there his chasis no ,engine no and registration no will be there. once enter the chasis no entire customer details has to come. how many free services he is having for how many kilo meters.then job card will go to the spare parts dept.that dept will issue the spare parts.then they will invoice the customer. he will pay the payment.and finally the gate pass will be given to the customer to deliver the vehicle.
    painful area is how to create a job card and how to add waranty in sales order.
    Regards,
    Venkat

    Hi,
    Have u resolved it then Please let me know !!! It is a very interesting problem and owuld like to know the solution...
    Regards
    Krishna

  • How to add material characteristics in sales order via BAPI?

    Hi all!
    I'm trying to use BAPI_SALESORDER_CREATEFROMDAT1 to create a sales order with one item that has some characteristics, but i can't seem to get it work. It creates the salesorder with the item but without characteristics data. Can somebody tell me what could be wrong?
    Here's the code:
    header-doc_type   = 'TA'.
    header-sales_org  = '3000'.
    header-distr_chan = '10'.
    header-division   = '00'.
    items-itm_number = '000010'.
    items-material   = 'CP-12'.
    items-req_qty    = '1000'.
    APPEND items.
    partners-partn_role = 'AG'.
    partners-partn_numb = '0000050000'.
    APPEND partners.
    c_ref-posex     = '000010'.
    c_ref-config_id = '000001'.
    c_ref-root_id   = '00000001'.
    APPEND c_ref.
    c_ins-config_id = '000001'.
    c_ins-inst_id   = '00000001'.
    c_ins-obj_type  = 'MARA'.
    c_ins-obj_key   = 'CP-12'.
    c_ins-complete  = 'T'.
    c_ins-consistent = 'T'.
    c_ins-quantity  = '0'.
    c_ins-quantity_unit  = 'ST'.
    c_ins-class_type = '300'.
    APPEND c_ins.
    c_val-config_id = '000001'.
    c_val-inst_id   = '00000001'.
    c_val-charc     = 'CP_12_ADD_ON'.
    c_val-value     = 'F'.
    c_val-valcode   = '1'.
    APPEND c_val.
    c_val-charc     = 'CP_12_COLOUR'.
    c_val-value     = 'M'.
    APPEND c_val.
    c_val-charc     = 'CP_12_MODEL'.
    c_val-value     = 'M'.
    APPEND c_val.
    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT1'
      EXPORTING
        order_header_in           = header
        convert_parvw_auart       = 'X'
      IMPORTING
       salesdocument             = salesdoc
       return                    = return
      TABLES
        order_items_in            = items
        order_partners            = partners
       order_cfgs_ref            = c_ref
       order_cfgs_inst           = c_ins
       order_cfgs_part_of        = c_prt
       order_cfgs_value          = c_val

    BAPI_SALESORDER_CREATEFROMDAT1
    "(obsolete from 4.6 version)
    BAPI_SALESORDER_CREATEFROMDAT2
    please see the version  and change the BAPI
    reward  points if it is usefull ....
    Girish

  • How to add a field in sales order

    Dear All,
    First I created a ZTable in which there are 15 fields exist then I append structure in ZVBAP which contain only one field from this ZTable. Now I place this field in the Subscreen 8459 of Sales Order under "Additional Data B" by using access key. Also i have Access to edit the module MV45AFZZ.
    Then I wote the code in the
    FORM userexit_save_document_prepare.
    IF XVBAP-ZZSPENR = ''.
    MESSAGE 'SPECIFICATION NO. IS NOT SPECIFIED' TYPE 'E'.
    ELSE.
    VBAP-ZZSPENR = ZSPEC-ZSPENR.
    ENDIF.
    ENDFORM.    
    so that while saving it Checks that field in screen and then if it has value then save it to in the VBAP Table.
    I think I have to write the code into the module
    FORM userexit_move_field_to_vbap.
    VBAP-zzfield = xxxx-zzfield2.
    *{   INSERT         ID3K908846                                        1
      DATA: zlgort LIKE vbap-lgort.
      IF vbap-pstyv EQ 'ZWP'.
        CHECK vbap-lgort IS INITIAL.
        GET PARAMETER ID 'LAG' FIELD zlgort.
        vbap-lgort = zlgort.
      ENDIF.
    *}   INSERT
    WA_XVBAP-ZZSPENR = xvbap-zzspenr.  "but this line gives * me error cause I have to move the screen fields into  * the VBAP Table. So that after this it checks in internal table XVBAP that the field ZZSPENR has value or not ?
    ENDFORM.
    But when I checks XVBAP TAble it shows all entries that I fill in Sales Order except ZZSPENR (My  Field)
    Thanks in advance.
    Regards.
    Adams.
    Helpful answer will be appretiated.

    hi Amams
    check this link
    Adding Fields to Sales order
    i think it may give u some idea
    Regards,
    Naveen

  • How to add a field in sales order header

    Hi all,
    I need to add a custom field say a check box in sales order header in additional data B tab.
    let me know step by step.
    Points will be rewarded.
    Thanks.
    Ramya

    additional data B in sales order
    sales order - Additional data B
    Add new fields to Additional Data B tab in sales order
    Reward Points..

  • How to make field mandatory in Sales Order Item level?

    Hi SDN's,
    I need to make Shipping type field(Item level) mandatory in Sales order.
    Can any one tell me what is the user-exit to achieve this?
    Thanks in advance..
    Regards,
    Rahul

    Rahul,
    U can check the BADI     'BADI_SD_SALES_ITEM'
    othewise u can check
    Exit Program MV45AFZZ.
    Check the program SAPMV45A
    V45W0001
    V46H0001

Maybe you are looking for

  • Conversion of MS Word Document to PDF

    I want to Convert MS Wod Document to pdf document dynamically. How to convert it in jsp.

  • Plz help! no more preview

    Hi guys I recently relocate tons of picture to order my library....and now i found out a very big issue! almost 30% of my pics (radomly) have no more preview in the browser (see only a dotted white frame) and when i use full screen mode i get a full

  • Are Microsoft Experimental Collections 1.0.3 supported on Windows 7?

    Hello! According to the info here: https://www.nuget.org/packages/Microsoft.Experimental.Collections these collections are not supported on Win 7. Still, I need to be sure so I've decided to ask my question here. Thanks in advance!

  • Equivalent of BATCH file in OS X

    I used to use batch files in DOS/WIN, now I'm a Mac user so is there a way to build and execute a string of command prompt instructions? Thank You

  • How can I set a different default drive to burn disks

    I use an external DVD/CD drive to burn disks. I want to set this as the default drive for disk utility to burn disks rather than the intertnal superdrive. How do is do this?