Function Module or BAPI to update Short text  for sales order item(vl02n)

Hi All,
I need to update the Short text for sales order item in vl02n transaction from an internal table with Delivery number and other relevant details .
Does any body know any Function Module or BAPI which can accomplish this purpose .
Or else writing BDC is the only option I have got ? .
Please clarify .
Thanking you in advance .
With Regards,
Suriya .

Hi
You can try using BAPI_SALESORDER_CHANGE if you want to change sales order
Regards
MD

Similar Messages

  • Wrong short text for sales order item

    Hi guys,
    I have an issue for the short text for sales order item. It is werid that I get the different short text depends on how we enter the material. If we only enter the material #, we get the short text for sales order item from material master data. If we enter the material #, plant and storage location, we get the short text for sales order item from customer material infor record. However, the customer material infor record is only maintained for inter-compnay transaction. System should not pick it for third-party transaction.
    I found a code in FV45PFAP_VBAP_FUELLEN:
    Bei Primärbedarfen ist MAAPV-ARKTX nicht relevant
        if vbak-vbtyp ne vbtyp_pbed.
          vbap-arktx = maapv-arktx.
        endif.
    Kundenmatinfo hat höhere Priorität
        if knmt-postx ne space.
          vbap-arktx = knmt-postx.
        endif.
        if da_arktx ne space and
           svbap-tabix = 0 and
           vbapin-matnr = vbap-matnr.
          vbap-arktx = da_arktx.
        endif.
    But it is nothing customized. Who can tell me what is wrong here?
    Thanks,
    DL

    Hi,
    Text coming from source (MMR, CMIR etc.) is being "pulled" via the access sequence. Check the Text analysis in your sales order in Tab Texts, at item category level.

  • Update Pricing elements for sales order item

    Hello All,
    I want to add few manual pricing elements to a sales order item through code (the pricing elements to be added will be determined dynamically). Is there any BAPI  or user exit to update the same?
    Regards,

    Hi
    You can use the BAPI_SALESORDER_CREATEFROMDAT2 for creating  the sales order.Using this you can populate the pricing conditions for sales order. To pass the Pricing conditions use the str ORDER_CONDITIONS_IN & ORDER_CONDITIONS_INX in BAPI.
    Regards,
    Raghu.

  • Add text for sales order to A/R line items

    Hello Experts:
    Does anybody know of a way to add the field VBRP-ARKTX (Short text for sales order item) to the A/R line item display (FBL5N

    HI,
    Please explore the option of using a USER-EXIT at the time of creation of Accounting Document from the Billing document. Looks like the field you are interested in is not automatically transferred from the billing interface to the accounting interface.
    Regards

  • Need name of a function module or BAPI to update the Tax Classification val

    Hi Guru's
    Need name of a function module or BAPI to update the Tax Classification value for Material master.
    Thanks in advance.

    Hi
    U can try to use BAPI_MATERIAL_SAVEREPLICA
    Max

  • Function Module or BAPI to update Sale Order Quantity (VBAP-kwmeng)

    Hi,
    I have a requirement to use a Function Module or BAPI to update Sale Order Quantity (VBAP-kwmeng), which one (Function Module or BAPI) should I use? is there any sample codes?
    Thanks a lot!!

    Hi,
    *& Report  ZTEST
    REPORT  ztest.
    DATA : wa_header TYPE bapisdh1x,
                i_item TYPE TABLE OF bapisditm WITH HEADER LINE,
                i_itemx TYPE TABLE OF bapisditmx WITH HEADER LINE,
                i_return TYPE TABLE OF bapiret2.
               wa_header-updateflag = 'U'.
               i_item-itm_number = '000010'.
               i_item-target_qty = '4'.
               APPEND i_item.
              i_itemx-itm_number = '000010'.
              i_itemx-updateflag = 'U'.
              i_itemx-target_qty = 'X'.
              APPEND i_itemx.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        salesdocument               = '1234567890'
        order_header_inx            = wa_header
      TABLES
        return                            = i_return
        order_item_in                 = i_item
        order_item_inx               = i_itemx
    Hope this will help you.
    Regards,
    Anand.

  • Function Module available to get Stock lying against a Sale-Order

    Dear Sir,
    We have function module "KPKA_UTILS_PROJECT_STOCK_CHECK" for getting Stock lying against a WBS (Project Stock) .
    We are looking for a function module to get the Stock lying against a Sale-Order (Sale-Order plus it's Line Item) .
    We request SAP experts to kindly guide us about the availability of such Function Module please .
    We will award full points for the suggested solution pl .
    Rgds
    B Mittal

    Hi
    table MSKA - Sales Order Stock is availble whcih will give the Stock pertainig to a sales Order & line item.
    Hope this helps
    Thanks & Regards
    Kishore

  • Status is not updated from delivery to sales order item.

    Dear Folks,
    One user created sales order with 10 line items and he created delivery and later he deleted line item 30 in that delivery document and with remaining 9 line item he done the PGI & Billing.Here what is the problem is the deleted line item in sales order status showing as completed and delivered quatity showing as 10.Status is not updated from delivery to sales order item.Please let me know how to resolve this?
    Thanks & Regards,
    murali.

    Dear Murali,
    Please go to VTLA transaction then select your delivery and order types after that go in to the details of the item level settings here you check field called Update document flow under Control data tab.
    I hope it will help you,
    Regards,
    Murali.

  • Detecting change on header and item texts for sales order in user exit

    Hi,
    In the user exit of VA02, I need to identify/detect if header or item texts for sales order is changed or not.
    Please advise on this.
    Regards,
    Shreyas

    Normally system stores the old values in XTables and new values in YTables.  Check if you have access to these in your user exit.  If you give the user exit name, someone will be able to guide you.
    hith
    Sunil Achyut

  • Function Module or BAPI to update the cheque payments

    Hi Everyone,
    I would like to know whether we have any Function Module or BAPI which can update the cheque payment or its attributes into SAP.
    Thanks,
    KC
    Message was edited by:
            kittu chowdary

    Aniruddha,
    Does this BAPI update the Transactions FCH6, FCH9 ?
    Thanks,
    KC

  • Function Module or BAPI to update Delivery Date (LIKP-lfdat)

    Hello friends,
    I have a requirement to update Delivery Date (LIKP-lfdat) , is there any Function Module or BAPI to do that? any sample codes are appreciated.
    Thanks a lot!
    Edited by: Qiwei Yin on Dec 11, 2008 8:50 AM

    hi
    try this
    BAPI_SALESORDER_CHANGE
    hope this helps
    regards
    Aakash Banga

  • Function Module or BAPI to update Sales Order (delivery Block)

    Hi,
    Is there a Function Module or BAPI available that can update the Delivery Block for a looping Sales Order?
    Thanks,
    John

    Hi,
    check this sample code to update delivery block..
    DATA: BAPISDH1X LIKE BAPISDH1X.
    DATA: BAPISDH1 LIKE BAPISDH1.
    PARAMETERS: P_VBELN LIKE VBAK-VBELN OBLIGATORY.
    PARAMETERS: P_LIFSK  LIKE VBAK-LIFSK OBLIGATORY.
    * Header
    BAPISDH1-DLV_BLOCK = p_lifsk.   " Delivery block
    * header X
    BAPISDH1X-DLV_BLOCK = 'X'.   " Delivery block
    BAPISDH1X-UPDATEFLAG = 'U'.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    salesdocument = P_VBELN
    order_header_in   = BAPISDH1
    order_header_inx = BAPISDH1X
    tables
    return = T_RETURN
    LOOP AT T_RETURN WHERE TYPE = 'E' OR TYPE = 'A'.
      EXIT.
    ENDLOOP.
    * Check for error messages.
    IF SY-SUBRC = 0.
      WRITE: / 'Sales order not updated', T_RETURN-MESSAGE.
    ELSE.
    * Successfully updated
      WRITE: / 'Sales order updated'.
    ENDIF.
    COMMIT WORK.
    Thanks
    Naren

  • BAPI for Sales Orders items

    I'm looking for BAPI, which returns all items for sales order.
    Returned items must have included all information, which we can see in transaction va02 on card Item Overview
    I'll reward with points for good BAPI.
    BR Tomek

    In the i_bapi_view structure, populate which tables you would like to have returned by using a value of X.
    Use the sales documents table to pass which documents you want information on.
    So if you wanted item details:
    i_bapi_view-item       = 'X'.
    sales_documents-vbeln = '0000012345'.
    append sales_documents.
          call function 'BAPISDORDER_GETDETAILEDLIST'
               exporting
                    i_bapi_view         = i_bapi_view
               tables
                    sales_documents     = sales_documents
                    order_items_out     = order_items_out.

  • Adding new texts in sales order item text

    Hi , we have a requirement where we need to add new texts in the sales order item texts. Ne pointers on how to do it will be appreciated.

    Hi,
    You can Use FM: SAVE_TEXT.
    Here the sample code:
          refresh: wlines, wheads.
          clear: wlines, wheads.
          wheads-tdname = it_text-tdname_so2.
          wheads-tdobject = p_object .
          wheads-tdid = p_id .
          wheads-tdspras = 'E'.
          append wheads.
          wlines[] = it_tline[].
          call function 'SAVE_TEXT'
               exporting
                 client = sy-mandt
                 header = wheads
                 savemode_direct = 'X'
               tables
                 lines = wlines.
          commit work.
    Regards,

  • Getting Item Text  from sale order items

    Hi All,
    I am trying to get sale order item text using Include text in smartforms.
    my text object  is VBBP and my text id is 0004.
    What should I pass in Text Name  ?.---Order Number or Item Nunmber or Both.
    If both can you guys explain how to pass both ?.
    will be REVARDED.

    Hi,
    When you see the texts in the line item of va03..
    Double click on the text..
    Then in the menu..Goto -> Header..
    There you can find the Text name..
    Generally if it is Item text..Then the text name will be
    order number + line item
    Thanks
    Naren

Maybe you are looking for

  • Infrared Remote not working unless held very close to AppleTV

    I'm not sure if there is a problem with the remote or AppleTV. The remote only works if held approx. 8 inches away from the AppleTV. The remote works fine with the computer and will control the Mac from the other side of the room. I was expecting the

  • How can I save a custom workspace?

    Using PSE 11, I get the panels set up the way I want, and the background that shows behind the document white like I want, and all is well. Until the comptuer loses it and I have to redo it all over. I have no idea why this happens once in a while, b

  • How to Populate Scrath Pad dynamically in IC web client..

    Hi all, i am struck in a requirement where i need to autopopulate error message in Scratch pad of IC when CSR accepts the call of Customer.The error message is generated when customer puts any wrong data in IVR.                                      i

  • [SOLVED] Autologin to virtual console systemd

    Hi! Today i wanted to get rid of slim.service, so i read this wiki page: https://wiki.archlinux.org/index.php/Au - th_systemd . I already changed my .bash_profile to startx after i login with my user in tty1. I followed that wiki page, but when i hav

  • Unlinked VIs when building a project

    Hi, I have a build problem.  Their seems to be a problem findig some VIs when I build my application under LabVIEW 8.  Trying a mass compile before the build process does not help much.  Any Ideas ? Error 7 occurred at ABAPI Dist Report Read Link Inf