Variant Configuration not updated in Sales Order

We've added new variant configuration and used an ECN with a current date; and the configuration does show up in the similator CU50; however, in the sales order, using this same ECN date or even tomorrow it will not pull in.  If you use the following Monday as the requested delivery day, the new configuration will update.  Does anyone have experience with this date delay?
Thank you,
Laurie
Global Electric Motorcars

In a Sales document, VC will use the BOM_Explosion date (STDAT ?) I'm going from memory here. Look for OSS notes, 'cuz it "depends" on where it gets that date, wether its the Requested delivery date, or something else.

Similar Messages

  • Condition type value not update in sales order

    Hello Guru's
    As per the  sales order in VA01 the condition type value i.e surcharge value is not updating in sales order.
    But I have maintain the condition record(Surcharge)also and in Condition technique I have checked every thing is correct .
    please find below I have attached the Screen short .
    Please give me solution Asap.

    Hi Sukdev,
    Have you checked the respective pricing procedure for From and To reference step maintained against the condition type ZSUR?
    Regards,
    T.R.S.Praveen

  • 'Transit time' not updated in Sales orders.

    Dear Experts
    We have maintained '20.00' days for the Route.
    Then the Sales order got created and the same route has been determined.
    But while i checking the schedule line - shipping details.
    The Transit time not reflected in the Sales order...
    All those GI date/Loading date/MAD/TPD...etc, still the same date as Delivery date.
    Hope kindly advise, why the 20 transit days not updated in Sales order??
    Thank you very much.

    The delivery date will confirmed based on ur availability check .
    Check ur setting for transportation planning for this .

  • Statistic condition values not updated during Sales order Settlement

    Hi,
    In our client we have different Price condition types for based on scenario wise. Ex: Domestic Sales (ZPR1) and Export Sales ZPR2. I have maintained separately value fields for each price condition types.
    We are booking some financial charges, and interest on working capital etc., this cost we need to transfer to COPA each Material wise based on sales revenue.
    For this purpose we have created one COPA Assessment Cycle.  Tracing factor is Sales Revenue and receiver is Materials.
    In COPA Assessment cycle we can give only one base means ZPR1 related value field or ZPR2 related value field.
    For this reason we have created one new statistic condition type,  what is amount there in ZPR1 that amount will updated automatically in statistic condition place and so that we can give once one trance factor in COPA Assessment Cycle. We have assign this statistic condition all pricing procedure
    Now my problem is in MTS scenario statistic condition values updated correctly. But in MTO scenario sales order settlement time statistic condition values not updated.
    So is it possible update during sales order settlement time statistic condition values.
    Please give me suggestion.
    Regards,
    Thiru

    Hi Ajay Sir,
    As you said is correct.
    But in our client we have around 9 Plants and each plant manufacturing product are different. Client Requirement is in COPA Report they need see each product wise sales revenue. In this way we mapped product wise value field.  System already mapped one guy in this way earlier. Now I am doing some changes for relevant to month end activities.
    Some financial changes transfer to COPA each plant wise on Material. Here sender is cost center and receiver is Material. Base is Sales Revenue.
    Please suggest me is there any alternative.
    Regards,
    Thirumalesh .

  • Project Revenue Plan Not Update from Sales Order Item

    I am generating a network and project from the sales order item using Assembly processing. I am using milestone billing on the sales order item and the milestones attached to the project network activities are appearing as billing blocks on the sales order item billing plan. However, the project revenue is not getting updated from the sales order billing plan. Can someone please help?
    I have deleted the billing plan on the billing WBS element and activated revenue planning update from sales order in cusomization for PS. I am looking at CNS41 under the project revenue sched in version 0. Is there a different report I should be looking at?
    Regards,
    Venkat.

    HI Venkat,
    You are looking at the correct report & I believe you have also done the necessary customization. If you create a sales order and reference it to a quotation, the related plan values in the WBS element are refreshed automatically.
    When the payment data is recorded, the terms of payment and the customer payment history are taken into consideration. One of the probable causes could be the credit limit of the customer might have been exceeded. Take help of your SD consultant & increase the credit limit for that customer (from the sales document), t-code FD32 if it is permitted in the business.
    After the new credit limit is set execute the following steps:
    u2022     Go to the t-code Change billing request (VA02)
    u2022     Open the required billing request
    u2022     Remove the account assignment of WBS element from each line item
    u2022     Save the billing request
    u2022     Reopen the billing request in change mode
    u2022     Reassign the WBS elements to all line items
    u2022     Now the changed credit limit will take affect
    u2022     Check the Planned Revenue for the said project in CNS41, it should get updated.
    Rgds
    Deepak

  • Not Updating Open Sales Orders Value for CreditManagement

    Hi Frendz,
    This is the first time am implementing creditmanagement in my system tested simple credit limit check working fine.
    Now testing Static and Dynamic(Automatic) it also working fine but Its not caliculating open sales orders value either static or dynamic while Creating s.o, settings made clicked on open s.o, i have already created sales orders value of 10th.
    EX:- customer balance is 2lacs, credit limit is 1lac while creating s.o it always showing balance 1lac only(Instead of 1lac10th) with open sales order value  is 10th.
    Let me know Where i have missd settings.
    Hari Prasad

    hello,
    it is maintained against the cr control area in ent structure.
    one needs to change there.
    r u in prd system or development?
    becoz if prd, then this change will effect a lot of ongoing docs.
    rgs,
    AK

  • Configuration is not updating in sales order using function module SD_SALESDOCUMENT_CREATE

    Hello Experts,
    we are using SD_SALESDOCUMENT_CREATE function module to create sales order.
    Sales order is creating successfully but the configuration for the items are not updating.
    Could any one help me out on this ....we tried in different ways but couldn't ....
    Here is the code....
    *---Filling Configuration data
    *--- Filling Configuration Reference Item / Instance
         w_sales_cfgs_refinst-posex     = w_items-itm_number.
         w_sales_cfgs_refinst-config_id = '000001'.
         w_sales_cfgs_refinst-inst_id   = '00000001'.
         APPEND  w_sales_cfgs_refinst TO  t_sales_cfgs_refinst.
         CLEAR  w_sales_cfgs_refinst.
    *---Filling Configuration Reference Data SALES_CFGS_REF Table
         w_sales_cfgs_ref-posex      = w_items-itm_number.
         w_sales_cfgs_ref-config_id  = '000001'.
         w_sales_cfgs_ref-sce        = '1'.
         w_sales_cfgs_ref-root_id    = '00000001'.
         w_sales_cfgs_ref-complete   = 'T'.
         w_sales_cfgs_ref-consistent = 'T'.
         APPEND w_sales_cfgs_ref TO t_sales_cfgs_ref.
         CLEAR w_sales_cfgs_ref.
    *---Filling Configuration Instances SALES_CFGS_INST Table
         w_sales_cfgs_inst-config_id       = '000001'.
         w_sales_cfgs_inst-inst_id         = '00000001'.
         w_sales_cfgs_inst-obj_type        = 'MARA'.
         w_sales_cfgs_inst-class_type      = '001'.
         w_sales_cfgs_inst-obj_key         = w_sales_items_in-material.
         w_sales_cfgs_inst-quantity        = w_items-target_qty.
         w_sales_cfgs_inst-quantity_unit   = 'EA'.
         w_sales_cfgs_inst-complete        = 'T'.
         w_sales_cfgs_inst-consistent      = 'T'.
         w_sales_cfgs_inst-OBJECT_GUID     = 'T'.
         w_sales_cfgs_inst-PERSIST_ID_TYPE = w_sales_items_in-material.
         APPEND w_sales_cfgs_inst TO t_sales_cfgs_inst.
         CLEAR w_sales_cfgs_inst.
    *---Filling Configuration Characteristic Values SALES_CFGS_VALUE Table
         LOOP AT w_items-itm_config INTO wa_itm_config.
           w_sales_cfgs_value_in-config_id = '000001'.
           w_sales_cfgs_value_in-inst_id   = '00000001'.
           w_sales_cfgs_value_in-charc     = wa_itm_config-charc_name.
           w_sales_cfgs_value_in-value     = wa_itm_config-charc_value.
           APPEND w_sales_cfgs_value_in TO t_sales_cfgs_value.
    *---Filling Configuration Variant Condition Key SALES_CFGS_VK
           w_sales_cfgs_vk-config_id = '000001'.
           w_sales_cfgs_vk-inst_id   = '00000001'.
           w_sales_cfgs_vk-vkey      = wa_itm_config-charc_name.
           APPEND w_sales_cfgs_vk TO t_sales_cfgs_vk.
           CLEAR : w_sales_cfgs_value_in,w_sales_cfgs_vk.
         ENDLOOP.
    Regards,
    Harsha P

    Hello All,
    Actually there was a bug in my code to update configuration for an item in sales order
    Below is my Updated Code with that i can updated configuration successfully....
    *---Filling Configuration data
    *---Filling Configuration Reference Data SALES_CFGS_REF Table
         w_sales_cfgs_ref-posex      = w_items-itm_number.
         w_sales_cfgs_ref-config_id  = '000001'.
         w_sales_cfgs_ref-sce        = '1'.
         w_sales_cfgs_ref-root_id    = '00000001'.
         w_sales_cfgs_ref-complete   = 'T'.
         w_sales_cfgs_ref-consistent = 'T'.
         APPEND w_sales_cfgs_ref TO t_sales_cfgs_ref.
         CLEAR w_sales_cfgs_ref.
    *---Filling Configuration Instances SALES_CFGS_INST Table
         w_sales_cfgs_inst-config_id       = '000001'.
         w_sales_cfgs_inst-inst_id         = '00000001'.
         w_sales_cfgs_inst-obj_type        = 'MARA'.
         w_sales_cfgs_inst-class_type      = '300'.
         w_sales_cfgs_inst-obj_key         = w_sales_items_in-material.
         w_sales_cfgs_inst-quantity        = w_items-target_qty.
         w_sales_cfgs_inst-quantity_unit   = 'EA'.
         w_sales_cfgs_inst-complete        = 'T'.
         w_sales_cfgs_inst-consistent      = 'T'.
         w_sales_cfgs_inst-object_guid     = w_sales_items_in-material.
         w_sales_cfgs_inst-persist_id_type = 'G'.
         APPEND w_sales_cfgs_inst TO t_sales_cfgs_inst.
         CLEAR w_sales_cfgs_inst.
    *---Filling Configuration Characteristic Values SALES_CFGS_VALUE Table
         LOOP AT w_items-itm_config INTO wa_itm_config.
           w_sales_cfgs_value_in-config_id = '000001'.
           w_sales_cfgs_value_in-inst_id   = '00000001'.
           w_sales_cfgs_value_in-charc     = wa_itm_config-charc_name.
           w_sales_cfgs_value_in-value     = wa_itm_config-charc_value.
           APPEND w_sales_cfgs_value_in TO t_sales_cfgs_value.
    *---Filling Configuration Variant Condition Key SALES_CFGS_VK
           w_sales_cfgs_vk-config_id = '000001'.
           w_sales_cfgs_vk-inst_id   = '00000001'.
           w_sales_cfgs_vk-vkey      = wa_itm_config-charc_name.
           APPEND w_sales_cfgs_vk TO t_sales_cfgs_vk.
           CLEAR : w_sales_cfgs_value_in,w_sales_cfgs_vk.
         ENDLOOP.
         CLEAR : w_sales_items_in,wa_mara,w_items,w_sales_schedules_in,
                 w_items-itm_number.
       ENDLOOP.
    Cheers,
    Harsha

  • Letter of Credit value is not updated against Sales Order

    Hi SAP Gurus,
    I have created LC in VX11N. When I am assigning the LC in the item level while creating the sale order, in the LC master, the open value is still remaining the same. It is not getting adjusted against the sale order value.
    For Ex: Against Rs. 1 lakh of LC of the Customer, we create a Sale Order of Total Value Rs.80,000/-. Then the remaining balance of Rs.20,000/- is not getting upadted in the Open Value field in the LC Master.
    Also, in the sale order LC screen part, the tab Ret. beside pmt. guarantee form is remaining at 0%. It is not getting edited.
    Plz suggest is this a configuration issue or SAP Standard doesn't support LC fully.
    Regards
    Subrat

    Hi SAP Gurus, I am also facing the same problem of open value of Letter of crdit not getting updated. Kindly solve this. It is very urgent.
    Regards,
    Anant Saraogi

  • Item configuration not possible in Sales Order

    Dear friends,
    Our requirement is as follows:
    I have created a configuration material and assigned MTS strategy (10) in MRP3 view.
    As I am carrying out cost estimate run and SAP does not allow to calculate std cost for config material, I assigned same material in MRP3 view as variant. This allows std cost estimate run.
    Now while creating sales order, system is showing configuration screen in display mode.I am not able to input characteristics in Sales order.
    Is there a way out??
    I have changed the requirement class relevant to strategy 10 and put configuration allowed tick.
    Additional Information:
    1. If I don't assign the material in MRP3 view, sals order config is allowed. But then I could not run the cost estimate.
    2. If I assign account assignment category M or E in requirement class, sales order configuration is possible. But then sales order becomes MTO, which is not accepted.
    Thanks in Advance,
    Avinash

    usuaully, config material, business follows MTO strategy,
    Good Question. Let me explain why MTS with configuration.
    We always try to produce high quality product - Char Fe content should be 90%. Because this product will always have higher demand and higher price.
    But as ours is a process industry we end up producing FE content 80 to 90 % (about 40 % of our material is between 80 to 85 %Fe content). FG is stored in batches according to Fe content.
    Now I take orders from customers for the low Fe content produced with reduced rate. The negotiated Fe content I want sales team to put in Sales order configuration. That is the only reason I want the chars editable in SO.
    Even customer asked for low Fe content, I can supply high Fe content and take additional amount according to contract. This is how the industry works. Basically customers are putting orders for low FE, as high Fe material is not available in the market.
    As I will always try to produce high quality product, the scenario can not be MTO. But I want to mention customer demanded Fe content in Sales order so that I can supply him right batch from yard.
    Regards,
    Avinash

  • How Variant Configuration data stored with Sales Order

    Hi,
    I have created Sales Order with Variant Material. I have entered different Characteristic for that materail. I want to make report for these characterisctics and its values, but I am not able to get how these data stored in the system against every sales order.
    Please guide me for tables relationships and if there is any Function module to achieve same thing.
    Regards
    Bhavin Shah

    Use FM VC_I_GET_CONFIGURATION to read the configuration. Input is field vbap-cuobj.
    Regards,
    John.

  • Ztable not updating in sales order user exit

    Hi Genius Abapers.
    We want to take text ID data of sales order into Ztable. For taking the data we have used user exit in sales order. Now the problem is if we go through debug mode then the Ztable is updating but if we remove the break point Ztable is not getting updated.
    Please give solution for this problem
    Regards
    Narayana

    Hi Gurus,
            I am basically from SD and we used commit statements in the programme and this is the code we used
    Include name --- MV45AF0B_BELEG_INITIALISIEREN
    **********************************Code Addd by paresh 8.10.2007 starts *******************************
      DATA : BEGIN OF itab_so OCCURS 0,
             vbeln LIKE vbap-vbeln,
             posnr LIKE vbap-posnr,
             spras LIKE t002t-spras,
             END OF itab_so.
      DATA : BEGIN OF itab_so1 OCCURS 0,
             vbeln LIKE vbap-vbeln,
             posnr LIKE vbap-posnr,
             spras LIKE t002t-spras,
             END OF itab_so1.
      DATA : BEGIN OF it_tabid OCCURS 0,
             tdid LIKE stxh-tdid,
             tdspras like stxh-tdspras,
             END OF it_tabid.
      DATA : is_stxh TYPE stxh.
      DATA g_header TYPE string .
      DATA wa_plain_text TYPE zplain_text.
      DATA t_lines LIKE tline OCCURS 0 WITH HEADER LINE.
      DATA g_item(16)." type i.
      data :it_ztable type table of  ZPLAIN_TEXT .
      data wa_ztable type zplain_text.
      data flag.
    *****************************Read Header text***************************************
    *loop at vbak.
       itab_so1-vbeln = vbak-vbeln.
       itab_so1-posnr = vbak-posnr.
       itab_so1-spras = vbak-wklnd.
       APPEND itab_so1.
       CLEAR itab_so1.
    ENDLOOP.
    refresh it_tabid.
    clear it_tabid.
    refresh it_ztable.
    clear it_ztable.
      LOOP AT xvbap.
        itab_so-vbeln = vbak-vbeln.
        itab_so-posnr = xvbap-posnr.
        itab_so-spras = xvbap-wklnd.
        APPEND itab_so.
        CLEAR itab_so.
      ENDLOOP.
    LOOP AT itab_so.
        SELECT tdid tdspras FROM stxh INTO TABLE it_tabid WHERE tdobject = 'VBBK' AND tdname = vbak-vbeln  .
    ENDLOOP.
    *loop at it_ztable into wa_ztable.
      LOOP AT itab_so.
        LOOP AT it_tabid.
          is_stxh-tdobject = 'VBBK'.
          is_stxh-tdname   = vbak-vbeln.
          is_stxh-tdid     = it_tabid-tdid.
          is_stxh-tdspras  = it_tabid-tdspras.
          CALL FUNCTION 'READ_TEXT'
            EXPORTING
              id                      = is_stxh-tdid
              language                = is_stxh-tdspras
              name                    = is_stxh-tdname
              object                  = is_stxh-tdobject
            TABLES
              lines                   = t_lines
            EXCEPTIONS
              id                      = 1
              language                = 2
              name                    = 3
              not_found               = 4
              object                  = 5
              reference_check         = 6
              wrong_access_to_archive = 7
              OTHERS                  = 8.
          IF sy-subrc = 0.
            LOOP AT t_lines.
              CONCATENATE g_header t_lines-tdline INTO g_header SEPARATED BY space.
            ENDLOOP.
            wa_plain_text-application = 'SO'.
          wa_plain_text-key1 = itab_so-vbeln.
            wa_plain_text-key1 = vbak-vbeln.
            wa_plain_text-key2 = 'HDR'.
            wa_plain_text-sub_application = it_tabid-tdid.
            wa_plain_text-text = g_header.
            wa_plain_text-last_date = sy-datum.
            MODIFY zplain_text FROM wa_plain_text .
       wait up  to  60 seconds.
             commit work.
            CLEAR: wa_plain_text.
            CLEAR : g_header,t_lines.
            refresh t_lines.
          ENDIF.
      if sy-subrc <> 0.
       delete from zplain_text where key1  = vbak-vbeln    and
                                  key2  = itab_so-posnr    and
                                  SUB_APPLICATION = it_tabid-tdid.
                                   commit work.
       endif.
        ENDLOOP.
      ENDLOOP.
    *endloop.
    Please do me the needfull
    Regards
    Manam.Narayana

  • Financial Document not updated with Sale Order Number

    Hello,
    I wish to update the Financial document posting from the billing document with the Sales order and line item number against the revenue account.
    This is not populating in COBL-KDAUF. 
    I have seen some other messages concerning this, but none with answers. 
    Is this possible, I assume it is. 
    If so, are there any other necessary settings? 
    We are not using CO-PA, and I can get the reference number & /or allocation field to populate with the sales order number but not line item.  But I want the coding block filled so that BSEG VBEL2 is populated.

    Hi Roger,
    In the situation that you have a 1:1 relation this is possible with a substitution and look then to the order in the first line from the invoice.
    Where you can have a look to is the sumarization in FI and CO.  TC OBCY for VBAK and VBRK.
    Example:
    When you have 2000 posting lines in an invoice the system can create 1 posting line by used G/L account
    With this transaction you can set-up that there is create one posting line by:
    (G/L account)
    Sales order number
    You have first to look how your set up is. (perhaps when this is set-up correct you have already the order number in the field).
    Paul

  • Delivery block not updated in sales order after released VKM3

    Hi all,
    I am facing below error
    after released  credit block throuh VKM3 also i am unable to delivery becasue it is not updated still block exist in sales order level.
    i made all nacessary settings for that and also i tried through VKM1 but this tcode through error no poosible entries.
    Thanks in advance
    Srinivasa

    hi,
    check the following steps of assignment you did right or not
    1)first check in  t- code FD32 U  assigned authorization person & each credit limit U shud assign
    an authorization person along with credit limit
    2) check - conditon records with KRML output is there or not
    please read standard SAP config help as a check point doc.[Credit mgmt|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/SDBFCM/SDBFCM.pdf]
    Let me know if it is soling your issue...
    rgards,
    rajeev

  • Remainder amount of contract not updated in sales order

    I have a value contract with orders on it. However, when I create a new sales order on this contract, the amount which appears is the contract value instead of the remaining amount.
    Could you please let me know how to have the remaining amount of the contract appear in new sales and not the total amount of the contract item.
    Thanks,

    Hello,
    Update Document Flow option is available only at Item Level in copy control setting from Contract to Sales Order.
    Check out your Copy Control Records at Item Level. There would be "2" mentioned in "pdate document flow" box.
    2 means Create doc. flow records except for dely/goods issue/billdoc. Here you to maintain "X" for Complete Document flow.
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • Variant configuration for Material for Sales Order

    Hello,
    I have craeted a configurable material in MM01, then created class for using CL01 , its characteristics using CT04, CU41, CT04, VK11, and lastly VA01.
    But still while creating sales order it throws error :
    Configuration not possible for material PEN_4 :Reason 2 --> Help
    What must be the problem? Also is there any BAPI who can create configurable material?
    Can anybody help on this issue.
    Useful answer will be rewarded.
    Thanks,
    Madhura Nadgauda.
    Edited by: Madhura Nadgauda on Jan 16, 2008 7:45 AM

    try this may be it will help to you,.
    REPORT ZVRDOC0 no standard page heading
    line-size 300
    line-count 50(5).
    TABLES : vbak, "Sales Document Header Level
    vbap, "Sales Document Header Level
    kna1. "General Data in customer Master
    *INTERNAL TABLE T_VBAP
    DATA : Begin of t_vbap occurs 0,
           vbeln like vbap-vbeln,
           matnr like vbap-matnr,
           posnr like vbap-posnr,
           arktx like vbap-arktx,
           kwmeng like vbap-kwmeng,
           cmkua like vbap-cmkua,
           end of t_vbap.
    *INTERNAL TABLE T_TAB.
    DATA : Begin of t_tab occurs 0,
            vbeln like vbak-vbeln,
            kunnr like vbak-kunnr,
            audat like vbak-audat,
            netwr like vbak-netwr,
            vkorg like vbak-vkorg,
            name1 like kna1-name1,
            land1 like kna1-land1,
            end of t_tab.
    *INTERNAL TABLE T_FINAL.
    DATA : Begin of t_final occurs 0,
            vbeln like vbap-vbeln,
            kunnr like vbak-kunnr,
            matnr like vbap-matnr,
            posnr like vbap-posnr,
            arktx like vbap-arktx,
            kwmeng like vbap-kwmeng,
            cmkua like vbap-cmkua,
            audat like vbak-audat,
            netwr like vbak-netwr,
            vkorg like vbak-vkorg,
            name1 like kna1-name1,
            land1 like kna1-land1,
            end of t_final.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE text-bO3.
    parameters : P_kunnr like vbak-kunnr.
    select-options : S_vbeln for vbak-vbeln,
                     S_audat for vbak-audat.
    SELECTION-SCREEN END OF BLOCK B1.
    start-of-selection.
    select vbeln  matnr posnr arktx kwmeng cmkua  from vbap
    into corresponding fields  of table  t_vbap  where vbeln in S_vbeln .
    IF sy-subrc EQ 0.
    select  vbakkunnr vbakvbeln vbakaudat vbaknetwr vbak~vkorg
            kna1name1 kna1land1  into  table   t_Tab   from
            vbak   join  kna1   on kna1kunnr  = vbakkunnr
            FOR ALL ENTRIES IN t_vbap
            where vbak~vbeln = t_vbap-Vbeln and
            vbak~kunnr = p_kunnr and
            vbak~audat  in  S_audat .
    ENDIF.
    *end-of-selection.
    loop at t_vbap.
    read table t_tab with key vbeln = t_vbap-vbeln.
    move :
    t_vbap-vbeln to t_final-vbeln,
    t_vbap-matnr to t_final-matnr,
    t_vbap-posnr to t_final-posnr,
    t_vbap-arktx to t_final-arktx,
    t_vbap-kwmeng to t_final-kwmeng,
    t_vbap-cmkua to t_final-cmkua,
    t_tab-kunnr to t_final-kunnr,
    t_tab-audat to t_final-audat,
    t_tab-netwr to t_final-netwr,
    t_tab-vkorg to t_final-vkorg,
    t_tab-name1 to t_final-name1,
    t_tab-land1 to t_final-land1.
    append t_final.
    clear t_Final.
    endloop.
    sort t_Final by vbeln   Kunnr    matnr posnr  .
    loop at t_final.
    at new vbeln.
    write : /1 SY-VLINE, 2 t_final-vbeln color 5 inverse.
    ULINE /1(250).
    endat.
    write : /1 SY-VLINE, 2 t_final-vbeln color 5 inverse,
    20 SY-VLINE, 21 t_final-posnr color 5 inverse,
    40 SY-VLINE, 41 t_final-matnr color 5 inverse,
    60 SY-VLINE, 61 t_final-arktx color 4 inverse,
    80 SY-VLINE, 81 t_final-kwmeng color 4 inverse,
    100 SY-VLINE, 101 t_final-cmkua color 4 inverse,
    120 SY-VLINE, 121 t_final-kunnr color 3 inverse,
    140 SY-VLINE, 141 t_final-audat color 3 inverse,
    160 SY-VLINE, 161 t_final-netwr color 2 inverse,
    180 SY-VLINE, 181 t_final-vkorg color 2 inverse,
    210 SY-VLINE, 211 t_final-name1 color 1 inverse,
    230 SY-VLINE, 231 t_final-land1 color 1 inverse,
    250 SY-VLINE.
    at end of vbeln.
    sum.
    ULINE /1(250).
    write: /60 SY-VLINE, 'Total' ,
    81 t_final-kwmeng color 4 inverse ,100 SY-VLINE,
    101 t_final-cmkua color 4 inverse,120 SY-VLINE.
    ULINE /1(250).
    endat.
    at last.
    SKIP 2.
    sum.
    ULINE /1(250).
    write: /1 SY-VLINE, 60 SY-VLINE, 'Grand Total' ,
    81 t_final-kwmeng color 4 inverse , 100 SY-VLINE ,
    101 t_final-cmkua color 4 inverse,120 SY-VLINE.
    ULINE /1(250).
    endat.
    endloop.
    TOP-OF-PAGE.
    ULINE /50(24).
    WRITE : /50 SY-VLINE , 52 'SALES ORDER DETAILS' COLOR 5,
    73 SY-VLINE.
    ULINE /50(24).
    ULINE .
    WRITE: /10 'CURRENT DATE :', 25 SY-DATUM COLOR 1 INVERSE,
    100 'CURRENT TIME :', 115 SY-UZEIT color 5 INVERSE.
    WRITE: /10 'USERNAME :', 25 SY-UNAME COLOR 1 INVERSE,
    100 'PAGE NO :', 113 SY-PAGNO COLOR 5 INVERSE.
    WRITE: /10 'LOGON CLIENT :', 25 SY-MANDT COLOR 1 INVERSE,
    100 'COLON N0 :', 114 SY-COLNO COLOR 5 INVERSE.
    WRITE: /10 'CURRENT REPROT:', 25 SY-REPID COLOR 1 INVERSE,
    100 'LANGUAGE :', 116 SY-LANGU COLOR 5 INVERSE.
    ULINE.
    ULINE /1(250).
    write : /1 SY-VLINE, 2 'SALES DOC NO' color 6 inverse,
    20 SY-VLINE, 21 'SALES DOC ITEM' color 6 inverse,
    40 SY-VLINE,41 'MATERIAL NO' color 6 inverse,
    60 SY-VLINE, 61 'SHORT SALES TEXT' color 6 inverse,
    80 SY-VLINE, 81 'CUMM ORDER SALES' color 6 inverse,
    100 SY-VLINE, 101 'CREDIT DATA' color 6 inverse,
    120 SY-VLINE, 121 'CUSTOMER NO' color 6 inverse,
    140 SY-VLINE, 141 'DOC DATE' color 6 inverse,
    160 SY-VLINE, 161 'NET VALUE SALES' color 6 inverse,
    180 SY-VLINE, 181 'SALES ORG' color 6 inverse,
    210 SY-VLINE, 211 'CUSTOMER NAME' color 6 inverse,
    230 SY-VLINE, 231 'CUSTOMER CONTY' color 6 inverse,
    250 SY-VLINE.
    ULINE /1(250).
    END-OF-PAGE.
    ULINE.
    WRITE: /45 ' THIS IS END OF PAGE FOR SALES DOCUMENT DETAILS'
    COLOR 6 .

Maybe you are looking for