Sales order quantities are not copied to Delivery

Hi Friends,
The sales order quantities are not copied to the delivery document. The order type is OR & delivery type is LF.
We are using the BoM, for which a dwelivery group is created in the sales order. The schedulelines are confirmed as there is ample stock in storage location. The scenario is MTS.
The copy control in VTLA is :
At Header level
order req : 001
combination req : 051
header req : 001
header data ext sys : 0
At Item Level for TAP
order req : 102
item data : 101
item data ext sys : 0
business data : 2
update doc flow ( X ) 
positive/negative : +
At Item Level for TAN
order req : 101
item data : 101
item data ext sys : 0
business data : 2
update doc flow ( X )
positive/negative : +
Please tell the solution
regards,
Yuvaraj.

Hi,
When you do the setting for item category, you need to maintain that the item is relevant for delivery. Kindly check.
Regards,
Jn

Similar Messages

  • Billing date(fkdat) in sales order item is not copied from Goods Issue Date

    Hi All
    we are facing problem at item level billing date field.This field should be filled with the GI Date in schedule lines shipping tab.
    but, it(billing date) is not being filled with goods issue date but, with the required deliver date at sales order header.
    Please give me a solution and the root cause. This is urgent as business is halted.
    Thanks
    Kumar

    Lakshmipati
    This is from SAP Screen
    "If invoice dates are defined for the customer, the system proposes the billing date from the invoice date calendar. If no invoice dates are agreed, then the actual goods issue date is formed on the basis of delivery related billing. In order related billing, the billing date of the order forms the basis of the billing date."
    earlier it is happening as desired.i.e., billing date=GI Date.
    but, as of now it is taken from the required delivery date.
    Please give me solution
    Kumar

  • ERP Sales Orders Types are not visible in CRM WebUI ! ! ! !

    Hi All
    I am working on CRM 7.0 IDES, I am trying to create an ERP sales order but when I chose create ERP sales order a popup menu with no document types so I am not able to chose the Sales order document type, the CRM and ERP are integrated and the ERP sales Profile is maintained and assigned is there more settings should be done to make them visible?
    Regards
    Jacopo Francoise

    Hi Jacopo Francoise,
    Check for the customization in Tr. SPRO path IMG-> CRM->Transactions->Settings for ERP Transactions maintained via CRM.
    You should define the ERP sales order profile with your ECC system RFC details. Also read the documents available there.
    Hope this will help.
    Thanks,
    Vikash.

  • In Sales Order Users are not allowed to change price for any material

    Dear all,
    Please give me the solution :
    In Sales Order va02 Users are not allowed to change price for any material .

    Hi Amit
    If you  want that in VA01 manual as well as other pricing condiion entry and cahnges to be allowed and only in va02 users should be restricted ,then  you have following alternative.
    Go to  T.Code SHD0
    Select Transaction VA02.
    Create a new variant ,give suitable name.
    select option change with processing.
    So u can run a va02 transaction and for every screen u can create screen variant and control data entry whether required  , dispaly or hide.
    in this for  LV69a pricing  screen disable update button .
    so system wont change anything updated or cahnged in pricing.
    further you can create the variant transactions  from this transaction variant and assign to different users as per control requirements.
    I think this will help you
    Regards
    mandar

  • Restricting Sales Order Form header notes appearing on delivery header

    Hi,
    Can someone please advice as to how to we can restrict the sales order form header text appearing on the delivery header?
    Thanks
    Keshi

    Dear Keshi
    In VOTX find out the procedure for your sales order header and Delivery header
    Go to delivery procedure for header you will find Text Id (which you want to remove in delivery header) which is also present in sales order header.
    Remove that text id from the procedure .
    Please check if that procedure is not used for other deliveries, if it is used than define new procedure for your deliveries.
    Regards
    Jitesh

  • BSP CRM Sales order buttons are not responding

    Is there any body who already implemented sap crm. I've done this but apparently the buttons are not responding.
    is there anybody who can help me.
    Thanks in advance.

    Geert,
    I am having the same issue. I think this is because of a javascript error. In the crm_bsp_frame application, there are two main.js files and one of which is the good one. I am thinking( and please make sure with SAP before trying anything), that one file needs to be removed. Please enable javascript debugging in your browser and try calling.
    Thanks
    Raj

  • Getting error in return order as free goods are not copying

    Hi
    We are facing error as free goods are not copying in return orders,We have done upto the billing and creating return order with the reference of billing
    Many Thanks
    Rakesh Naveen

    Hi,
    Kindly check the copying control at IMG->Sales and Distribution->Basic Functions->Free Goods->Maintain Copying Control.
    Thank You,
    RB

  • Sales order status is not Closed when copy to AR Invoice

    Hi,
    Are there any known scenarios where sales order status is not changed to Closed and SO open qty not changed to zero after SO is fully copied to AR Invoice?
    Please advise. Thanks.
    Regards,
    Priscilla

    Hi Jitin,
    1. For this case, the sales order line status is not closed and the open qty is also not zero although the SO qty are fully invoiced
    2. Customer SBO version is 8.8 PL13.
    3. There is no SP_TransactionNotification created in this customer environment.
    FYI, there is no target entry shown in the sales order document as well. Hence, customer is not able to trace which open sales order has been copied to an AR Invoice target document.
    Customer has a few scenarios for the above issue:
    1. Multiple Sales orders copied to 1 AR Invoice.
    2. One sales order to many AR Invoice.
    Since there is no target entry updated in the sales order, is there any SQL query to check which sales order has been copied to a AR Invoice document to rectify the above issue.
    Thanks.
    Regards,
    Priscilla

  • Why some times delivery  will created through vl10c even sale order stock is not available?

    Hi,
    why some times delivery  will created through vl10c in batchmode even sale order stock is not available?
    Thanks,
    Kalyan.

    the correct english name is : Replenishment leadtime
    Check with Replenishment lead time - Supply Chain Management (SCM) - SCN Wiki

  • How to configure rescheduling for sale order quantities

    kindly explain how to configure rescheduling for sale order quantities that are created last month. kindly explain. i am in urgent.
    regards,
    g.v.shivakkumar

    Hi,
    Short text
    Rescheduling sales and stock transfer documents: by material
    Description
    The 'Rescheduling' program (SDV03V02) processes sales document items that are contained in the item directory for the material. It takes into consideration open items and schedule lines from stock transfer items, stock transfer scheduling agreements and purchase order requests (items only), referred to hereafter as stock transfer documents, for the materials.
    All sales documents for the material that are still open are selected. This means that the material index must be activated for at least all sales document types, whose items may have requirements. All stock transfer documents or items for the material that are still open are also selected. Open in this case means for example, that there is no deletion indicator, that the item from a stock transfer purchase order request cannot be labeled as completed or that the quantity delivered and posted to goods issue for the item in a stock transfer purchase order is the same as the amount ordered. An availability check can only be carried out if a checking rule is assigned to the document type - if this is not the case, the document or document item is not checked.
    Checking rule 'A' is used as a basis for rescheduling sales orders (exceptions to this are rush orders  they use checking rule B, and orders with individual customer stock; they use checking rule AE). Stock transfer documents use the checking rule that is assigned in Customizing for Purchasing. It is important that the scope of checks is consistent for both the stock transfer documents and the sales documents and that they do not exclude each other, as this can lead to incorrect test results. An example of an incorrect setting would be: The scope of check for checking rule 'A' checks delivery schedules for stock transfer purchase orders and stock transfer purchase requests, however the scope of check for the checking rule for the stock transport scheduling agreement does not.
    The items and schedule lines found in the selection are sorted according to 'Priorities' - document category, delivery priority, creation date of the item or schedule line (for stock transfer purchase orders and delivery plans) entered on the selection screen or according to the schedule line date of the earliest schedule line with order quantity, document number and item number and then transferred to the availability check. Priority 1 is highest priority and priority 5 the lowest. Stock transfer purchase order requests are sorted after stock transfer purchase orders and scheduling agreements, as they are less binding. This means that when you have identical sort criteria such as delivery dates, the stock transfer purchase order item is checked first and then the item from the stock transfer purchase order request.
    The preset option 'Unconfirmed documents required' only carries out rescheduling for materials for which there is at least one unconfirmed transaction.
    You can use the parameters 'Sorting criteria delivery date' to define whether sorting is carried out with the order quantity after the creation date of the item or the delivery date of the earliest schedule line.
    If you mark the 'Simulation' field, the checked documents are not saved. Instead a results list is generated and saved. However, the availability check for the corresponding documents continues as if saving has taken place already, that is, that the simulated list corresponds to the actual one.
    Under 'Options' on the selection screen, specify whether sales documents and/or stock transfer documents should be processed. For stock transfer documents you can enter whether stock transfer purchase orders and scheduling agreements should be processed at item or schedule line level:
    Processing at item level:
    All open schedule lines for the item are read and collected, then transferred to the availability check. To sort and prioritize documents, you do not need each individual schedule line. It is sufficient to have the item or data from the first schedule line. All open schedule lines for the item are processed and checked.
    Example of processing at item level:
    Sorting: Date (Delivery date first schedule line) - Document number - Document item
    Doc. cat. Doc. number  Doc. item  Doc. schedule line  Delivery date PO        4500000012      10               0001              26.01. PO        4500000012      10               0002              26.02. PO        4500000025      20               0001              28.01. PO        4500000025      20               0002              02.02.
    You can see that the second schedule line for document 4500000025/20 from 02.02 was processed after the second schedule line for document 4500000012/10 from 26.02. This is because all open schedule lines for an item are read and processed. The first schedule line from 4500000012/10 has the earliest delivery date, therefore it has priority.
    Processing at schedule line level:
    Each open schedule line for an item is entered in document sorting in accordance with the values entered under 'Priorities'. The availability check is carried out for each individual schedule line.
    Example for processing at schedule line level:
    Sorting: Date (delivery date first schedule line) - document number -document item
    Doc. cat.    Doc. number  Doc. item  Doc. sched. line  Del. date PO           4500000012    10             0001           26.01. PO           4500000025    20             0001           28.01. PO           4500000025    20             0002           02.02. PO           4500000012    10             0002           26.02.
    Here you can see that each schedule line was sorted according to its delivery date. Note that this type of processing requires more runtime due to the individual checks and more frequent saving.
    The results of rescheduling are saved, as long as the program was not started in simulation mode. When calling up from the 'Sales' area menu or when directly starting via the development environment, the iniator is informed via a dialog box that he has just started a process that changes data. He can then decide whether or not he wants to continue.
    Checking procedure for stock transfer documents:
    An availability check of stock transfer documents in rescheduling is carried out in accordance with the check carried out when manually creating a document. If, however, the required quantity for a schedule line is not available on a particular date and will not be ready until later, new schedule lines are created for the stock transfer purchase orders and scheduling agreements, containing the relevant data. New items are created in this case for stock transfer purchase order requirements. The total sum of schedule line quantities for a processed schedule line corresponds to the schedule line quantity of the original schedule line.
    First example: Using a stock transfer purchase order item with a schedule line:
    a) Status of item before rescheduling run:
    Del. date  PO quantity   Confirmed quant  Confirmed del. date 23.07.      50 items       0 items              -
    ==> This now affects the stock/requirement situation:
        - Goods issue is posted for the material in the delivering plant on the 23.07.
        - A purchase order of 10 items was created for the material in the delivering plant. Delivery is expected on the 29.07.
    b) Status of stock transfer purchase order item after rescheduling run:
    Del. date PO quantity   Confirmed quant   Confirmed del. date 23.07.     40 items      40 items            23.07. 29.07.     10 items      10 items            29.07.
    ==> The first schedule line was changed in accordance with the results of the rescheduling availability check. Only 40 of the 50 original items could be delivered on the 23.07. Therefore, a new schedule line is created for the rest on the 29.07. for 10 confirmed items.
    Second example: Same output situation as the above example.
    ==> There is now a change in the requirement/stock situation:
    A purchase order for 10 items is created for the material in the delivering plant. Delivery is expected on the 29.07. A further purchase shows another 40 planned items on the 30.07.
       Status of stock transfer purchase order item after rescheduling run:
    Del. date PO quantity  Confirmed quant  Confirmed del. date 29.07.     10 items       10 items          29.07. 30.07.     40 items       40 items          30.07.
    ==> The first schedule line was changed in accordance with the result of the availability check for rescheduling. The original delivery date is set to the date confirmed in the ATP check. A new schedule line is created for the remaining 40 items, that are available on the 30.07.
    Note:
    Any set fixed delivery date and quantity indicators and creation indicators for schedule lines or items are 'inherited' by newly created schedule lines. Assuming that the original schedule line was fixed in the above example (since it is created manually), this indicator is also set for the newly created schedule line.
    If shipping scheduling is activated for a stock transfer document type, this is also implemented for newly created schedule lines, with the exception of route schedule determination. This means that in the current version of the program no route schedule has been determined for a schedule line containing a route schedule for which new schedule lines may need to be created.
    The results of the run are issued in the form of a list, which is also saved, so that the results can be controlled at a later date. This is done using the function 'Evaluate rescheduling', but it is only a good idea to do this after the first rescheduling has taken place. You can restrict selection requirements but these can however affect the runtime. You can use this function to analyze the saved list until the next rescheduling run, which writes over the result. If you start rescheduling in the background, a spool file with the result list referred to will be created in the corresponding setting. You can see this in spool management.
    Output
    A list of changed documents, a list of documents in which an error occurred during processing and as a result were not changed, can be called up via the menu 'Edit - Error log'. If in a subsequent evaluation a restricted selection is carried out, a note appears at the end of the list to say that not all document items are displayed.
    You can set the scope of the list under the menu option 'List' in the list display. You can view improvements, deteriorations and the whole list. Before the documents can be included in one or either of the restricted lists, the date or quantity has to have changed so that the item can be contained in both the list of improved or deteriorated documents.
    You can use the interface for changing transactions and the order list to navigate. Use 'Back' to exit the list and 'New selection' to return to the selection screen.
    Recommendation
    You should only start this program occasionally and use very restricted selectin criteria during working hours as it requires enormous system resources.
    Note
    The columns for 'New date' and 'New confirmed qty' only contain entries if the dates or quantities have changed.
    As the system only runs the change check (dates/quantities) per line in the original list, an item whose backlog has increased in the list of improvements. This occurs, for example, if the whole quantity can be delivered at once but at a later date. In this situation, the system determines an increase for the line when it compares quantities.
    Regards,
    Amrish Purohit

  • Enable PDF Generation of Sales Order from Opportunity not working

    Hi all,
    we are trying to enable the PDF Generation for Sales Order from Opportunity.
    We´re working on the ERP-HCI Scenario.
    We´ve setup the necessarry configurations (chapter 11.3.11) how described in the document:
    https://websmp201.sap-ag.de/~sapidb/012002523100002166322015E/1502_SAP_C4C_ERP_HCI.pdf
    1. Create Endpoint in ECC for the WS "SalesDocumentPrintPreviewQuery"
    After saving the settings we have an calculated enpoint:
    /sap/bc/srt/rfc/sap/salesdocumentprintpreviewquery/{SAP-CLIENT}/salesdocumentprintpreviewquery/salesdocumentprintpreviewquery
    2. Create a new Communication Arrangement in C4C for the Scenario "Print Preview of Business Documents in SAP Business Suite"
    Question to the following Step:
    Go to Advanced Settings and enter the URL you have captured from SOAMANAGER in the Create Endpoint section.
    Why we use the host and calculated endpoint from the ECC instead of the HCI settings, and maintain in HCI the target host and endpoint?
    The Check Service and Check Connection test was successfull.
    Finally if we try the scenario from C4C (Customers > {Select a Customer} > Opportunity > Sales Document > {Click the link}
    We got a blank new Window, in the C4C UI we get the error "PDF Document could not be retrieved"
    In the ECC > SOA Runtime Error Log i get the following Error!?
    What´s wrong with our config?
    Thanks in advance,
    Fabian

    There is nothing impossible in SAP. After all there is a code behind everything that we see in SAP screens and transactions and that code can be changed according to our requirement. That has always been m firm belief.
    Like I said get hold of your ABAP programmer and write out the spec and he should be able to do it.
    Its news for me that you can generate an automatic PO from a GR so if that is possible then why not this.
    Its not been attempted before.
    Try creating a new Sales doc type and map it to a delivery and see if it works. Much similar to a cash sale and rush order when both docs get generated immediately. Maybe you need to map your copy control criteria too in a way it can be done.Also maybe you need to create a new field called Immediae sales Order like we have an immediate delivery check box in a sales order so that an automatic sales order can be generated when you save a delivery.
    Like I said it needs some coding.
    regards
    Jude

  • Sales Order number is  not showing in MD04

    Hi Gurus  ,
    I have got one case where  Sales order number is not showing  in MD04 screen  . This sales order , line item  has already delivered , PGI &  billing document also been generated  . Moreover accounting document is also been created .As cheeked & found that it is not shwoing in MD04 screen  because at  the time sales order creation  availability check “01” was maintained  which has sum up all the  requirement in one  particular day ( Also as
    per SAP note -70408) .
    Now because  all the subsequent document has been generated  for sales order so we can not mark it for “Rejection for rejection “  & to create new  sales order  with  availability check “02” in material master .
    Please let  me know the possible solution for the same or  if any  sap note would  be required to get the sales order number in MD04  .
    Thanks  ,
    Aman

    Hi Kiran ,
    Actually  before running the  report in “SDRQCR21”  in PRD I wanted to  run it in “Quality “ .
    In quality I am not able to simulate the same  .
    Please refer below points related to my testing result .
    1.Mainatined availability check group “01” .
    2 . Created Sales order 
    3. Check in MD04 screen & as expected  sales order  was coming blank  with negative Qty .
    4. Run the MRP which generated PR
    5. PR converted to PO  & GRN was done which updated the stock
    6. Created delivery  & checked the same in MD04  . It was also coming blank  . No delivery  document  numbe was showing in screen  but  it was coming with negative  Qty .
    7. Done the PGI  & blank  delivery document number  was removed & it become  normal .
    In PRD .
    There are 3 sales order
    One sales order is already marked reason for rejection & two sales order delivery , PGI has been done  .
    But still it is showing  blank sales order with negative Qty  & after MRP run it is generating the PR also  .
    I don't why it was  showing with negative values  .
    Please refer attacehed screen shot  .
    Thanks,
    Regards ,
    Aman

  • In Sales order plant is not allowing to change

    Hi Guru's
    In Sales order plant is not allowing to change it's showing gray but some materials it's allowing to change plant. What is the reason for this error can any one please help me.
    dnr

    Hi friend,
    I suppose you cannot change the plant at order level if the material is created to a particular plant.
    As you say for few materials you are able to change, may be due to the fact that the material is extended to the other plants. You need to extend the material to the other plant in MM01 enter tha material and enter the industry sector and Material type and give the same material as the copy from material. A screen will pop up asking for the plant details. Here you can enter the other plant and tha material is extended to the other plant.
    Regards

  • Sub Line itmes are not copied out...

    Hi all,
    I am using BAPI ''BAPI_SALESORDER_CREATEFROMDAT2'' to create a sales order with refernce to Contract number. The creation of sales order is fine but the issue is when ever there are sub line items in the contract there are not copied into salesr order.
    Is any one know the reason and solution to reslove this issue.
    My code:
      DATA: lv_vbap  TYPE vbap.
      data: lv_inst_id(8) type n.
      wa_contract_header_in-refobjtype = gc_bus2032.
      wa_contract_header_in-refdoc_cat = 'G'.
      wa_contract_header_in-ref_doc    = wa_vbak-vbeln.
      wa_contract_header_in-refdoctype = wa_vbak-auart.
      wa_contract_header_in-doc_type   = gc_auart.
      wa_contract_header_in-sales_org  = wa_vbak-vkorg.
      wa_contract_header_in-distr_chan = wa_vbak-vtweg.
      wa_contract_header_in-division   = wa_vbak-spart.
    Header data check list
      wa_contract_header_inx-updateflag = gc_var_i.
      wa_contract_header_inx-refdoc_cat = gc_var_x.
      wa_contract_header_inx-ref_doc    = gc_var_x.
      wa_contract_header_inx-doc_type   = gc_var_x.
      wa_contract_header_inx-sales_org  = gc_var_x.
      wa_contract_header_inx-distr_chan = gc_var_x.
      wa_contract_header_inx-division   = gc_var_x.
    Fill Item details table
      LOOP AT t_vbap_copy INTO wa_vbap.
          wa_contract_items_in-itm_number   = wa_vbap-posnr.
          wa_contract_items_in-material     = wa_vbap-matnr.
          wa_contract_items_in-target_qty   = wa_vbap-kwmeng.
          wa_contract_items_in-target_val   = wa_vbap-netwr.
          wa_contract_items_in-refobjtype   = gc_bus2032.
          wa_contract_items_in-ref_doc      = wa_vbap-vbeln.
          wa_contract_items_in-ref_doc_it   = wa_vbap-posnr.
          wa_contract_items_in-ref_doc_ca   = 'G'.
         wa_contract_items_in-PO_ITM_NO    = wa_vbap-posnr.
         wa_contract_items_in-config_id    = '000001'.
         wa_contract_items_in-inst_id      = '00000001'.
          APPEND wa_contract_items_in TO t_contract_items_in.
      Fill item update table
          wa_contract_items_inx-itm_number  = wa_vbap-posnr.
          wa_contract_items_inx-material    = gc_var_x.
          wa_contract_items_inx-target_qty  = gc_var_x.
          wa_contract_items_inx-target_val  = gc_var_x.
          wa_contract_items_inx-refobjtype  = gc_var_x.
          wa_contract_items_inx-ref_doc     = gc_var_x.
          wa_contract_items_inx-ref_doc_it  = gc_var_x.
          wa_contract_items_inx-ref_doc_ca  = gc_var_x.
         wa_contract_items_inx-PO_ITM_NO   = gc_var_x.
         wa_contract_items_inx-config_id   = gc_var_x.
         wa_contract_items_inx-inst_id     = gc_var_x.
          APPEND wa_contract_items_inx TO t_contract_items_inx.
        Schedule Lines
          wa_contract_schedules_in-itm_number = wa_vbap-posnr.
          wa_contract_schedules_in-sched_line = sy-tabix.
          wa_contract_schedules_in-req_qty    = wa_vbap-kwmeng.
          append wa_contract_schedules_in to t_contract_schedules_in.
          wa_contract_schedules_inx-itm_number = wa_vbap-posnr.
          wa_contract_schedules_inx-sched_line = sy-tabix.
          wa_contract_schedules_inx-updateflag = 'X'.
          wa_contract_schedules_inx-req_qty    = wa_vbap-kwmeng.
          append wa_contract_schedules_inx to t_contract_schedules_inx.
        Configuration
          wa_contract_CFGS_REF-posex        = wa_vbap-posnr.
          wa_contract_CFGS_REF-CONFIG_ID    = '000001'.
          wa_contract_cfgs_ref-ROOT_ID      = '00000001'.
          wa_contract_cfgs_ref-sce          = '1'.
          wa_contract_cfgs_ref-kbname       = wa_vbap-matnr.
          wa_contract_cfgs_ref-kbversion    = '001'.
          append wa_contract_cfgs_ref to t_contract_cfgs_ref.
          wa_contract_CFGS_inst-config_id   = '000001'.
          wa_contract_cfgs_inst-inst_id     = '00000001'.
          wa_contract_cfgs_inst-OBJ_TYPE    = 'MARA'.
          wa_contract_cfgs_inst-class_type  = 300.
          wa_contract_cfgs_inst-obj_key     = wa_vbap-matnr.
          append wa_contract_cfgs_inst to t_contract_cfgs_inst.
        lv_inst_id = '00000001'.
        loop at t_vbap into lv_vbap where uepos = wa_vbap-posnr.
          add 1 to lv_inst_id.
          wa_contract_CFGS_inst-config_id   = '000001'.
          wa_contract_cfgs_inst-inst_id     = lv_inst_id.
          wa_contract_cfgs_inst-OBJ_TYPE    = 'MARA'.
          wa_contract_cfgs_inst-CLASS_TYPE  = 300.
          wa_contract_cfgs_inst-obj_key     = lv_vbap-matnr.
          append wa_contract_cfgs_inst to t_contract_cfgs_inst.
          wa_contract_cfgs_part_of-config_id = '000001'.
          wa_contract_cfgs_part_of-parent_id = '00000001'.
          wa_contract_cfgs_part_of-inst_id   = lv_inst_id.
          wa_contract_cfgs_part_of-part_of_no = wa_vbap-posnr.
          wa_contract_cfgs_part_of-obj_type  = 'MARA'.
          wa_contract_cfgs_part_of-CLASS_TYPE = 300.
          wa_contract_cfgs_part_of-obj_key   = lv_vbap-matnr.
          append wa_contract_cfgs_part_of to t_contract_cfgs_part_of.
        endloop.
        loop at t_zgd_v_vc_char into wa_zgd_v_vc_char
                               where instance = wa_vbap-cuobj.
          wa_contract_cfgs_value-config_id  = '000001'.
          wa_contract_cfgs_value-inst_id    = '00000001'.
          wa_contract_cfgs_value-CHARC      = wa_zgd_v_vc_char-atnam.
          wa_contract_cfgs_value-value      = wa_zgd_v_vc_char-atwrt.
          append wa_contract_cfgs_value to t_contract_cfgs_value.
        ENDLOOP.
      ENDLOOP.
    Fill Partner Table
      wa_contract_partners-partn_role    = gc_sp.
      wa_contract_partners-partn_numb    = wa_vbak-kunnr.
      APPEND wa_contract_partners TO t_contract_partners.
    Call Bapi to create sales order
      CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
        EXPORTING
          order_header_in     = wa_contract_header_in
          order_header_inx    = wa_contract_header_inx
        IMPORTING
          salesdocument       = gv_sales_doc
        TABLES
          return              = t_return
          order_items_in      = t_contract_items_in
          order_items_inx     = t_contract_items_inx
          order_partners      = t_contract_partners
          ORDER_SCHEDULES_IN  = t_contract_schedules_in
          ORDER_SCHEDULES_INX = t_contract_schedules_inx
          ORDER_CFGS_REF      = t_contract_cfgs_ref
          ORDER_CFGS_INST     = t_contract_cfgs_inst
          ORDER_CFGS_PART_OF  = t_contract_cfgs_part_of
          ORDER_CFGS_VALUE    = t_contract_cfgs_value.
    Thanks in advance...
    Satya.

    Hi,
    Material document will get updated in reference field in FI by default.  If for any reason, want to get this updated in text field, you need to define a subsititution in GGB1.
    Best Regards,
    Madhu

  • Order Header Text not copied to Invoice Header

    Hi All friends
    I have created text id for copiying sales order header to invoice header in votxn. I assign in text procedure of sales order as well as Invoice text procedure. I create sales order with maintaining text ID But when i created invoice with same sales order text id is not copied. Please suggest me what steps i should take and what Access sequence i must maintain to copy text from Sales order to Invoice.
    I have maintained the access sequence and maintain the required text id in access sequence. But system is only access the first text id from order header to Invoice header not other text id  which i maintain in order.
    Regards
    Shambhu
    Edited by: SHAMBHU SARKAR on Dec 29, 2008 12:30 PM

    Hi shambu
    while doing text determination in one step in i think in text id's in text procedures, maintain as TEXT IS OBLIGATORY AND SHOULD BE DISPLAYED WHILE COPYING.
    Text is obligatory and displayed when Transferring - whatever text you have entered in the sales order that will be copied into preceding document say delivery or billing
    Regards
    Srinath

Maybe you are looking for