Want to pass STRS2 field into sales order and contract.

Hi Friends.
I am creating Sales order using function module IDOC_INPUT_ORDERS and Contract using SD_SALESDOCUMENT_CREATE.
Now I want to pass STRS2(House number field into Sales Order/Contract). In IDOC I tried to pass E1EDKA1-STRS2, but its not coming into Sales order output.But SD_SALESDOCUMENT_CREATE dont have an option to pass the field value.
So in that case how can I achieve the desired functionality, Is there any user exit or let me know the suitable method to achieve the functionality.
Thanks
Gowrishankar

Yes I tried that also.I passed the value from program to user exit MV45AFZZ and updated the structure XVBADR in USEREXIT_SAVE_DOCUMENT_PREPARE, but its not getting reflected in Sales Order/Contract.
Anyone have suggestion..plz let me know.
Thanks
Gowrishankar

Similar Messages

  • Hide the cost and margin fields on Sales Orders and Invoices

    Hi all,
    I need to hide the cost and margin fields in Sales Orders and Invoices. We sell our products to our employees sometimes, hence we don't want them to know cost and margin information.
    Can this be done?
    Cheers

    Go to VOV7 & as per the Item category ,de - select the Check Box Determine Cost.
    Else remove the Condition Type VPRS & Margin Condition type from the Pricing Procedure
    Best Regards,
    Ankur

  • Update KOMV-KBETR field for sales order and billing

    I would like to update the KOMV-KBETR (condition amount or percentage) under condition tab for both Sales order and billing.
    example:There are two condition types ZA00 and ZB00 and need to get the KBETR value from ZA00 and add it to KBETR value of ZB00 and update the sum in KBER value of ZB00.
    1. creation of sales order & billing.
    2. Change of sales order & billing.
    3. For single & multiple line items in both sales order & billing.
    4. during updation of price in the change mode of sales order & billing.
    5.When user click on Update button in the condition tab(i.e., when clicked on Carryout new pricing)
    I tried with the VOFM routine but as the routine is triggering multiple times the sum is calculated again and again.For that I set flags also.It is working for sales orders but for billing creation the field XKOMV-KBETR is cleared after this routine.
    So I would like to know are there any EXITS for this scenario or any one entountered the similiar issue which I am facing.

    Hi Brad,
       It is an Client requirement.So need to do the addition of that condition types.
    Can you please let me know the configuration point where we can do it and the condition type which we need to update the Rate/Amount value.ie., KOMV-KBETR is and Price list value and not the subtotal one.
    Thanks,
    Srilakshmi Lagisetty.

  • Copy Fields Into Sales order Item Text

    Hi All,
    I got a requirement where i need to copy the populated custom fields including the appropriate field labels into item text in sales order creation and i am provided with Text Procedure: Z1 and Text ID: 00002. kindly help me.
    Thanks,
    Preethi

    hi,
    I have tried with save_text. but its not copied to the item text tab.
    (goto->item->texts)
    here is my code:
    DATA :  gt_text       TYPE TABLE OF tline WITH HEADER LINE,
                gt_textname   LIKE thead-tdname,
                gt_textobject TYPE TABLE OF thead WITH HEADER LINE.
    CONSTANTS : c_0002    TYPE thead-tdid     VALUE '0002',
                          c_vbbp    TYPE thead-tdobject VALUE 'VBBP'.
    CONCATENATE xvbap-zzrelid xvbap-zzsorg2
                  xvbap-zzsorg3 xvbap-zzsorg4
                  xvbap-zzsorg5 xvbap-zzsorg6
                  xvbap-zzsorg7 xvbap-zzsorg8
                  xvbap-zzsorg9 xvbap-zzsorg10
                  xvbap-zzcusttrdgrp INTO  gt_textname. 
    gt_textobject-tdid  = c_0002.
    gt_textobject-tdname     = gt_textname.
    gt_textobject-tdobject   = c_vbbp.
    gt_textobject-tdspras    = sy-langu.
    APPEND gt_textobject.
      CONCATENATE 'relationship Owner:' vbap-zzrelid INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 2 :' vbap-zzsorg2 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 3 :' vbap-zzsorg3 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 4 :' vbap-zzsorg4 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 5 :' vbap-zzsorg5 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 6 :' vbap-zzsorg6 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 7 :' vbap-zzsorg7 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 8 :' vbap-zzsorg8 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 9 :' vbap-zzsorg9 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 10 :' vbap-zzsorg10 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
    CALL FUNCTION 'SAVE_TEXT'
          EXPORTING
            header          = gt_textobject
            savemode_direct = 'X'
          TABLES
            lines    = gt_text
          EXCEPTIONS
            id       = 1
            language = 2
            name     = 3
            object   = 4
            OTHERS   = 5.
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    kindly resolve y it is not copied to the item text tab and also in which user exit i need to place my code.
    Thanks,
    Preethi.

  • Worklfow driven Approvals for Inquiry/Quoatation, Sales Order and Contract,

    Hello,
    What scenarios/ processes within SAP SD are supported by standard SAP for auto workflow driven approval.
    We need workflow driven approvals for-
    Customr Inquiry/ Quotation,
    Sales Order,
    Contract
    and Credit Approval.
    Can we do these workflow scenarious in SAP?  Are they supported by std SAP.
    Thanks.

    Hi,
    I would suggest you to check the standard template in SAP workflow also.
    To check the standard template, goto transaction SWDD, and search by using structure seach, you will find the standard templatea under sales and distribution area.
    Regarding to your requiements , you need to create the new object by extend from the standard object BUS2032 by using transaction SWO1.
    [Workflow Tutorial|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417100)ID1399619950DB01372531338821066946End?blog=/pub/wlg/7288]
    Best regards,

  • Perfomance of sales order and Contract

    Dear All.
    While executing standard TCode it vao2,va03,va42,va43 it is taking long time to Load.there are more than 1000 line items in contract.even after geach input like scrolling the table control it is taking more time to load ,Please Suggest me Soloution.
    Thanks in advance.
    Regards
    Pranesh

    Praneshom wrote:
    Dear All.
    >
    > While executing standard TCode it vao2,va03,va42,va43 it is taking long time to Load.there are more than 1000 line items in contract.even after geach input like scrolling the table control it is taking more time to load ,Please Suggest me Soloution.
    > Thanks in advance.
    >
    >
    >
    > Regards
    > Pranesh
    Hello Pranesh,
    the problem with large number of items in SD documents is well known, but I don't think there is an ultimate solution for it.
    General advise - avoid having so many items in your sales documents.
    As a rule of thumb for the processing of an SD document you should count around 500 ms for the header and 100 ms for each item.
    If you process contracts with 1000 items, the response time of over 1 minute during opening or saving is more or less normal. Do not expect wonders from the system.
    Regards,
      Yuri

  • Planned delivery time field in sale order

    Dear All,
    During creation of  STO at item level under delivery TAB "planned delivery time" field is showing with edit mode, I want to activate this field for sale order creation / change also. Plz advice how I can do this.
    regards,
    sps.

    Dear SP
    This field is laready there in the MRP-2 of the material master. This is used to calculate the no. of days to procure a material/service externally. Why do you want to activate this in sales order.
    Thanks
    Shuktiz

  • Sales order and billing document fields

    what are the fields for sales order and billing document dates?

    Hi
      Couldnt really get the exact requirement:
    1. If Billing Dates are to be extracted from Sales Documents, we can do that by extracting field <b>FKDAT</b> from table <b>VBKD</b>.
    2. If it is Billing Document creation date, extract from VBRK-ERDAT with below condition.
      select vbrp~vbeln vbrp posnr vbrp~aubel
             vbrp~aupos vbrk~erdat into table itab
             from vbrp as a
             inner join vbrk as b
             on vbrp~vbeln = vbrk~vbeln
             where vbrp~aubel in s_vbeln.  "Sales Documents
       Hope this gives you some idea.
    Kind Regards
    Eswar

  • T code for editing the field in Sales Order

    Dear All,
    I want to change some field in sales order (display to editable)...
    Please suggest me..........
    Regards
    Lallan....

    Dear,
    I hope it will reach your req:
    Same post.....
    Sales Order editing fields
    Sap help.
    http://help.sap.com/saphelp_47x200/helpdata/en/7d/f63a0d015111d396480000e82de14a/frameset.htm
    How to do this process with screen shots..
    http://www.mortenhjorthnielsen.dk/Security/transactionvariants.htm
    Regards
    Chandra

  • Missing Weight in Sales Order and Invoice

    Hi  My Friends,
    We create first Sales Order then PR created automatically, then we create PO. Only at this time we know the net/gross weight, so we update the PO.
    We want this weight appear on the Sales Order and then on the billing document.
    Is it possible?
    Thanks
    R

    Weight information should come from material master. If you update the PO it wont reflect in SO.
    maintain the weight info in Material Master, Delete the line item created already & check.
    Otherwise maintain it manually in sales order

  • Customer wants to see Discount Field and Quantity field in Sales order Form

    Hi Gurus,
    Highly appreciate if you provide the solution for below issue:
    My customer requirement is to see Discount field in sales order lines screen...They want to know how much percentage of discount they are giving to customer, if they want to modify for respective line they modify in that field.
    Standard functionality discount field is NOT there in SO lines for because they manual enter discount in SO form, system should calculate Discounted price.
    One more required if they enter Item code, able to see available quantity bottom of the form Sub inventory wise, Availability, resealable.
    Current standard functionality supports - Click Availability button to check the availability..Its very difficult for them to check for each and every line item, is there any functionality to support this issue.
    Thanks
    Satti

    Hi,
    Both of your requirements should be customised.
    There is no standard functionality which attains your requirements.
    For my present project, we have customised 2 seperate reports, one which shows the availability of the items in subinventory and locator.
    Also a report which shows discount for all the lines and for the entire order.
    Thanks
    -Arif.

  • Clear WBS field in sales order using bapi_salesorder_createfromdat2.

    Hi,
    Situation is this, I have a sales order, where the WBS element in the line item is populated. I want to clear that field to blank and save the sales order.
    When I try to do that using the bapi_salesorder_createfromdat2, it says that it is successful, but when I go back to the sales order and see that field is still populated and not cleared. But the same field if I clear it through VA02 it works fine.
    Header level update flag is set as 'U'.
    I have tried setting up 'D' 'U' and 'I' for the update flag for the line item. Still no luck.
    Given below is the sample code, did anybody else also faced the same issue.
    Data Section.
    data : sal_t_in type standard table of BAPISDHD1,
           sal_s_in like line of sal_t_in.
    *data : sal_t_in type standard table of BAPISDH1,
    *       sal_s_in like line of sal_t_in.
    data : ret_t type standard table of bapiret2,
           ret_s like line of ret_t.
    data : partner_t type standard table of bapiparnr,
           partner_s like line of partner_t.
    data : item_t type standard table of bapisditm,
           item_s like line of item_t.
    data : item_t_inx type standard table of BAPISDITMX,
           item_s_inx like line of item_t_inx.
    data : schdl_t type standard table of BAPISCHDL,
           schdl_s like line of schdl_t.
    data : schdl_t_inx type standard table of BAPISCHDLX,
           schdl_s_inx like line of schdl_t_inx.
    data : ord_view type order_view.
    data : sal_t_key type standard table of sales_key,
           sal_s_key like line of sal_t_key.
    data : ord_t_hdr type standard table of bapisdhd,
           ord_s_hdr like line of ord_t_hdr.
    data : ord_t_itm type standard table of bapisdit,
           ord_s_itm like line of ord_t_itm.
    data : hdr_inx type BAPISDHD1X.
    data : hdr2_inx type BAPISDH1X.
    data : qty type DZMENG.
    data : logic_switch type BAPISDLS.
    data : sd_doc_out type BAPIVBELN-VBELN.
    data : sd_hdr_out type BAPISDHD.
    data : sd_hdr_stat type BAPISDHDST.
    Logic Section.
    sal_s_in-doc_type = 'ZOR'.
    hdr_inx-updateflag = 'U'.
    ord_view-header = 'X'.
    ord_view-item = 'X'.
    sal_s_key-vbeln = '0000001067'.
    append sal_s_key to sal_t_key.
    call function 'BAPISDORDER_GETDETAILEDLIST'
      exporting
        i_bapi_view                   = ord_view
    *   I_MEMORY_READ                 =
      tables
        sales_documents               = sal_t_key
       ORDER_HEADERS_OUT             = ord_t_hdr
       ORDER_ITEMS_OUT               = ord_t_itm
    *   ORDER_SCHEDULES_OUT           =
    *   ORDER_BUSINESS_OUT            =
    *   ORDER_PARTNERS_OUT            =
    *   ORDER_ADDRESS_OUT             =
    *   ORDER_STATUSHEADERS_OUT       =
    *   ORDER_STATUSITEMS_OUT         =
    *   ORDER_CONDITIONS_OUT          =
    *   ORDER_COND_HEAD               =
    *   ORDER_COND_ITEM               =
    *   ORDER_COND_QTY_SCALE          =
    *   ORDER_COND_VAL_SCALE          =
    *   ORDER_CONTRACTS_OUT           =
    *   ORDER_TEXTHEADERS_OUT         =
    *   ORDER_TEXTLINES_OUT           =
    *   ORDER_FLOWS_OUT               =
    *   ORDER_CFGS_CUREFS_OUT         =
    *   ORDER_CFGS_CUCFGS_OUT         =
    *   ORDER_CFGS_CUINS_OUT          =
    *   ORDER_CFGS_CUPRTS_OUT         =
    *   ORDER_CFGS_CUVALS_OUT         =
    *   ORDER_CFGS_CUBLBS_OUT         =
    *   ORDER_CFGS_CUVKS_OUT          =
    *   ORDER_BILLINGPLANS_OUT        =
    *   ORDER_BILLINGDATES_OUT        =
    *   ORDER_CREDITCARDS_OUT         =
    *   EXTENSIONOUT                  =
    loop at ord_t_itm into ord_s_itm.
    move-corresponding ord_s_itm to item_s.
    call function 'CONVERSION_EXIT_ABPSP_OUTPUT'
      exporting
        input         = item_s-WBS_ELEM
    IMPORTING
       OUTPUT        = item_s-WBS_ELEM
    *move space to item_s-WBS_ELEM.
    append item_s to item_t.
    endloop.
    clear item_s_inx.
    item_s_inx-updateflag = 'D'.
    item_s_inx-wbs_elem = 'X'.
    append item_s_inx to item_t_inx.
    call function 'BAPI_SALESORDER_CREATEFROMDAT2'
      exporting
        SALESDOCUMENTIN               = '0000001067'
        order_header_in               = sal_s_in
        ORDER_HEADER_INX              = hdr_inx
    *   SENDER                        =
    *   BINARY_RELATIONSHIPTYPE       =
    *   INT_NUMBER_ASSIGNMENT         =
    *   BEHAVE_WHEN_ERROR             =
    *   LOGIC_SWITCH                  =
    *   TESTRUN                       =
    *   CONVERT                       = ' '
    * IMPORTING
    *   SALESDOCUMENT                 =
      tables
        RETURN                        = ret_t
       ORDER_ITEMS_IN                = item_t
       ORDER_ITEMS_INX               = item_t_inx
        order_partners                = partner_t
    *   ORDER_SCHEDULES_IN            =
    *   ORDER_SCHEDULES_INX           =
    *   ORDER_CONDITIONS_IN           =
    *   ORDER_CONDITIONS_INX          =
    *   ORDER_CFGS_REF                =
    *   ORDER_CFGS_INST               =
    *   ORDER_CFGS_PART_OF            =
    *   ORDER_CFGS_VALUE              =
    *   ORDER_CFGS_BLOB               =
    *   ORDER_CFGS_VK                 =
    *   ORDER_CFGS_REFINST            =
    *   ORDER_CCARD                   =
    *   ORDER_TEXT                    =
    *   ORDER_KEYS                    =
    *   EXTENSIONIN                   =
    *   PARTNERADDRESSES              =
    call function 'BAPI_TRANSACTION_COMMIT'
    * EXPORTING
    *   WAIT          =
    * IMPORTING
    *   RETURN        =
    Result I get when I execute is
    S     V4     233     SALES_HEADER_IN has been processed successfully     VBAKKOM
    S     V4     233     SALES_ITEM_IN has been processed successfully          VBAPKOM     000001
    S     V1     311     Standard order 1067 has been saved          Standard order     1067
    Which means it says it save successfully..but data is not changed.
    Any Ideas??
    Thanks and Regards,
    Mahesh.

    Hi,
    The problem is fixed. The item inx table I was not passing the item number field, so the bapi was not knowing which line item to update.
    It was a stupid overlook on my part.
    Thanks and Regards,
    Mahesh.

  • 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.

  • Need to raise a restriction that user can not put multiple PO references in PO Number field in Sales Order.

    Hi,
    reference to subject we need a restriction that user can not put different PO reference within an Order. One Sale Order should have one PO reference at Header and Line's of the sales order. Currently what is our issue that all the sales order are created by Quotes from quoting module. Whatever the line items come from quotes into sales order having no PO Number reference with them but when user completing the sales order user puts the PO reference at Sales Order Header which can not be linked or passed on those line items who captured from quotation. Due to this PO reference value difference between Lines and Header system generates multiple AR invoices based on unique PO Number references within an order.
    we need single PO reference per sales order. How can we restrict this if line level PO number reference is different from Header PO number reference that user can not proceed further?
    Regards
    Kaleem A. Bhatti

    Dear Zakir,
    Thanks a lot for your favorable response. The query is solved now by defaulting rules.
    Regards
    Kaleem A. Bhatti

  • For LUMF - BOM, Plant field in Sales Order should be editable for TAP

    Dear Gurus,
    I have the following requirement.
    Requirement...
    TheComponent level BOM (LUMF) should be exploded in sales order with one by default plant when iI enter the main component in Sales order but if I want to change the plant of main item manually system should allow me in order change mode. And this changed plant to be determined automatically for all the components of that BOM.
    As we know if we maintain the BOM at component level we will use the Itm Catg Grp "LUMF" so the pricing will be determined on the component level.
    In CS01 we maintain the BOM for a main item. I have followed the same process in CS01 by entering Main Item material, Plant and BOM usage (5). whenever i enter the main item in sales order it explodes correctly with components, quantity and Plant.
    The Plant field for main item (TAP itm Catg) becomes gray. But now my query is that if I want to change the plant of main item system is not allowing me as I have  created BOM for a specific Plant. Same Bom I have maintained with other plants also
    I know that We have one more option in CS01 like we can create a BOM without entering Plant also. But before I doing it for trial and error I want to know whether it will work for my latest requirement.
    And what is the Group BOM ? how to use it? will it be helpful me in this requirement?
    Please help me for the issue, I need to configure it as soon as possible.
    regards,
    Vojas

    Dear Kapil,
    Thanks for your suggestion i followed it also but yet I am facing the same problem.
    I did as follows
    I extended the Main item and components to the different plants.
    And also created the same BOM for different plants in CS01.
    After doing this if I create a Sales order and enter the Main Item with quantity system asks me for the Plant to explore the BOM, as i enter a plant BOM get explodes and the plant for main item becomes gray which i dont want. Any how I want the this plant field for main item in editable mode.
    Let me explain my requirement in short
    I maintain the LUMF BOM (Pricing at component level) .
    once I enter the BOM material with quantity system should explode the bom with one plant by default. and in change mode of sales order the Plant for main item should be editable instead of gray mode. Becoz decision can be changed later on the delivering plant location.
    Please suggest me. Its a high priority issue for me.
    regards,
    Vojas

Maybe you are looking for

  • Embedding html not in final live web site

    http://www.zumbakaren.com/ I pasted my html code as instructed and its not in the final output. There should be a picture under the words on the home page: To save 10% on Zumbawear® click on the picture below. Any ideas. Just updated to version 4.1 S

  • What do i need to build this clinical image app.?

    I need to develop a web based tool which can be used in the field of clinical reaserch imaging. I have a brain mapped coordinates of an animal and i want to register or overlay an MRI image probably a greyscale images and find out the impact and coor

  • Connection to MS CRM Online?

    is it possible to connect to microsoft dynamics crm online so I can create crystal reports out of there? Thanks! Denny

  • Macbook Pro freezes when pressure put on bottom right corner

    Hello all, I have a mid 2012 macbook pro. Sometimes when I pick up and move my laptop the computer will freeze and black horizontal bars will come across the screen, and I will need to force shut it down to be able to the use the computer again. The

  • Can't download Oracle Business Intelligence for Linux

    Hi, from the "Download Page": http://www.oracle.com/technology/software/products/ias/devuse.html That link redirects to: http://www.oracle.com/technology/software/products/ias/index.html Can anyone help me with this download? Thanks.