Line item Net value is not coming in Header Net Value

Hi All,
I have four conditions
1) A condition with condition cat.Price this is annual price condition and condition value comes from condition record.
2) B condition with condition cat.Discount & Surcharge this is monthly dis. and condition value comes from condition record.
3) C condition with condition cat.Discount & Surcharge this is monthly dis. and condition value comes through pricing routine(formula value).
4) D condition with condition cat.Discount & Surcharge this is monthly dis. and condition value comes by USER EXIT (this value is basically pervious month condition C Net value) .
5) E condition with condition cat.Discount & Surcharge this is monthly dis. and condition value comes through pricing routine (formula is condition C - D and resultant value should come in condition E)
When i am creating sales order for Jan month sales order
condition A , B, C is considered and value of condition E comes perfectly in net value column of line item and in net value of sales header matches.
But When i creating sales order for Feb month sales order header net value
condition A , B, C, D is considered and value of condition E comes perfectly in net value column of line item and in net value of sales header does not match. In net value of header system is considering only Condition value C.
So my query is why system is considering condition C value and why not the Net value of line item.
My PP is as follow:
Step          Cond.type      From       to       Man      Reg     St   subtotal      Req   Caltype  Bastype      
10     A                    X       2     
20     B                    X       2     
30     C                    X       2         601
40     D                    X       2     
50     Net value     30     40          X        1
60     E          50                 2         25            5
70     Total           60     
Please help me where is going wrong.
Thanks & regards
Sree

Hi Sanjay
Just go to V/06 and check wheather header data has been checked or not. That could be the reason it has not copied to header data
Regards
Srinath

Similar Messages

  • Value are not coming (tcode cm50)

    hi expert ,
    in below code values are not comes into ITAB_TXTLINES (  WA_DATA ) . we use a standard program cm50 tcode . into
    customize program  memory but values is not coming into wa.
    values(arbpl ,werks,kapar,planr)
    this is my first time i use standard progarm
    so plz help
    REPORT  ZPP_CM50  LINE-SIZE 170..
    TYPE-POOLS : SLIS.
    DATA : INT_CAT TYPE SLIS_FIELDCAT_ALV,
           INT_FCAT TYPE SLIS_T_FIELDCAT_ALV.
    DATA : LS_LINE TYPE SLIS_LISTHEADER,
           VN_TOP  TYPE SLIS_T_LISTHEADER,
           IT_SORT TYPE  SLIS_T_SORTINFO_ALV,
           WA_SORT LIKE LINE OF IT_SORT.
    DATA : LAYOUT TYPE SLIS_LAYOUT_ALV.
    DATA: BEGIN OF SLIST_LISTLINE,
          LINE(1024)      TYPE   C,
          END OF SLIST_LISTLINE.
    DATA: ITAB_TXTLINES LIKE SLIST_LISTLINE OCCURS 0 WITH HEADER LINE.
    TABLES : CRHD , KAKO .
    DATA: BEGIN OF ITAB_DATA OCCURS 0,
          AA(20),LEVEL(20),ITEM(20),OBJ(20),OBJID(20),
          OBJDES(20),OVRFLW(20),QTY(20),UOM(20),ICT(20),
          END OF ITAB_DATA.
    DATA : WA_DATA LIKE ITAB_DATA.
    DATA: TEXT TYPE C LENGTH 10,
          RSPAR_TAB  TYPE TABLE OF RSPARAMS,
          RSPAR_LINE LIKE LINE OF RSPAR_TAB,
          RANGE_TAB  LIKE RANGE OF TEXT,
          RANGE_LINE LIKE LINE OF RANGE_TAB.
    *DATA: TEXT TYPE C LENGTH 10,
         RSPAR_TAB  TYPE TABLE OF RSPARAMS,
         RSPAR_LINE LIKE LINE OF RSPAR_TAB.
         RANGE_TAB  LIKE RANGE OF TEXT,
         RANGE_LINE LIKE LINE OF RANGE_TAB.
    DATA  : LIST_TAB TYPE TABLE OF ABAPLIST.
    SELECTION-SCREEN : BEGIN OF BLOCK ABC WITH FRAME TITLE TLT.
    SELECTION-SCREEN   SKIP 1.
    *SELECT-OPTIONS     ARBPL FOR CRHD-ARBPL.
    SELECT-OPTIONS     WERKS FOR CRHD-WERKS.
    SELECT-OPTIONS     KAPAR FOR KAKO-KAPAR.
    SELECT-OPTIONS     PLANR FOR KAKO-PLANR.
    SELECTION-SCREEN   SKIP 2.
    SELECTION-SCREEN : END OF BLOCK ABC.
    START-OF-SELECTION.
    *RSPAR_LINE-SELNAME = 'TRUST_ID'.
    RSPAR_LINE-KIND    = 'P'.
    RSPAR_LINE-LOW     = 'RPF1'."'VD06011013'.
    APPEND RSPAR_LINE TO RSPAR_TAB.
    CLEAR RSPAR_LINE.
    RSPAR_LINE-SELNAME = 'YEAR'.
    RSPAR_LINE-KIND    = 'P'.
    RSPAR_LINE-LOW     = '2009'.
    APPEND RSPAR_LINE TO RSPAR_TAB.
    CLEAR RSPAR_LINE.
    RSPAR_LINE-SELNAME = 'REPONAME'.
    RSPAR_LINE-KIND    = 'P'.
    RSPAR_LINE-LOW     = 'FORM3A'.
    APPEND RSPAR_LINE TO RSPAR_TAB.
    CLEAR RSPAR_LINE.
    SUBMIT RCCRY000 EXPORTING LIST TO MEMORY
    USING SELECTION-SCREEN '1000'
                    WITH CRHARBPL-LOW EQ ARBPL
                     WITH CRHWERKS-LOW EQ WERKS
                     WITH KAKKAPAR-LOW EQ KAPAR
                     WITH KAKPLANR-LOW EQ PLANR
                      AND  RETURN.
      CALL FUNCTION 'LIST_FROM_MEMORY'
        TABLES
          LISTOBJECT = LIST_TAB
        EXCEPTIONS
          NOT_FOUND  = 1
          OTHERS     = 2.
      CALL FUNCTION 'LIST_TO_ASCI'
        EXPORTING
          LIST_INDEX         = -1
          WITH_LINE_BREAK    = ' '
        TABLES
          LISTASCI           = ITAB_TXTLINES
          LISTOBJECT         = LIST_TAB
        EXCEPTIONS
          EMPTY_LIST         = 1
          LIST_INDEX_INVALID = 2
          OTHERS             = 3.
      LOOP AT ITAB_TXTLINES .                                   "from 5.
        CLEAR WA_DATA.
        SPLIT ITAB_TXTLINES AT '|' INTO: WA_DATA-AA
                                         WA_DATA-LEVEL
                                         WA_DATA-ITEM
                                         WA_DATA-OBJ
                                         WA_DATA-OBJID
                                         WA_DATA-OBJDES
                                         WA_DATA-OVRFLW
                                         WA_DATA-QTY
                                         WA_DATA-UOM
                                         WA_DATA-ICT.
       IF ITAB_TXTLINE-SY-INDEX .
    then
         DO 4 TIMES.
           REPLACE '.' IN WA_DATA-LEVEL WITH SPACE.
         ENDDO.
    *DELETE ITAB_DATA-INDEX=1." WHERE WA_DATA = ITAB_DATA.
         CONDENSE WA_DATA-LEVEL.
         IF NOT WA_DATA-LEVEL IS INITIAL and not WA_DATA-LEVEL cp 'Emp*'.
            APPEND WA_DATA TO ITAB_DATA.
         ENDIF.
       ENDIF.
      ENDLOOP.
    thanks.

    Hi,
    CM50 is generated from CM10 main program for parameter 'M'. It generates it on the runtime and exports values into memory. It's less likely you will be able to generate the whole set into a Z Program.
    I didn't find a function module to do so. But, with your consultants help you can create your own function module that gives results similar to CM50, it's merely calculation of capacity of workcenters for a period using the sales order booked against the work centers in that period. If you try a bit you can create it.
    Good luck.
    Also remember, before you post a code, use  ...

  • Value is not coming in excise invoice ..

    Hi .all,
    We have created one plant . For that we did STO , delivery , PGI , and billing ( commercial and excise ). But in Excise invoice , excise value is not coming ...
    Pls Advc ....

    hi,
    pls check whether u have done relevant setting for the new plant code.
    SPRO >Log general > Tax on Goods Movements > India > Basic Settings
    reg
    Deepak

  • ALV report value is not coming in output

    Hi all,
    I have developed one ALV report using ABAP OOPS. i have used Custom Container to display my all values.
    below are the methods i am calling to dispaly and all values is coming in T_DATASET[] ans fcat, But after Executing my report it is not displaying any value.
    my container is blank in output only fcat-coltext is coming and fieldname value is not coming.
    wa_fcat-fieldname = 'T_DATASET-KAVS'.
                 wa_fcat-coltext = ' '.
    CALL METHOD grid1->set_table_for_first_display
        CHANGING
          it_outtab       = T_DATASET[]
          it_fieldcatalog = fcat.
    please guide me.
    Thanks in Advance.

    Check below code. And make sure you code below steps before calling set table for first display.
    IF G_CUSTOM_CONTAINER1 IS INITIAL.
    *     create container for ALV grid1
          CREATE OBJECT G_CUSTOM_CONTAINER1
             EXPORTING
               CONTAINER_NAME = 'CUST_CONT'.
    else.
        ENDIF.
        IF GRID1 IS INITIAL.
    *     create ALV grid
          CREATE OBJECT GRID1
             EXPORTING
               I_APPL_EVENTS = SELECTED    "application event
               I_PARENT = G_CUSTOM_CONTAINER1.
          G_LAYOUT1-EDIT       = 'X'.
          G_LAYOUT1-sel_mode   = '3'.
          G_LAYOUT1-NO_TOOLBAR = 'X'.
          G_LAYOUT1-ZEBRA      = 'X'.
          G_LAYOUT1-info_fname = 'ROWCOLOR'.
          G_LAYOUT1-GRID_TITLE = TEXT-006.
          G_LAYOUT1-STYLEFNAME = 'CELLTAB'.
          CALL METHOD GRID1->SET_TABLE_FOR_FIRST_DISPLAY
               EXPORTING IS_LAYOUT        = G_LAYOUT1
                         IT_TOOLBAR_EXCLUDING = GT_TOOLBAR_EXCLUDING
               CHANGING  IT_FIELDCATALOG  = GT_FIELDCAT_LVC[]
                         IT_OUTTAB        = CONP[].

  • Field value is not coming in my customize ALV report

    Hi All,
    Good day.
    I have added two fields in a customized ALV report. But the customized report was not developed by me. Therefore I am unable to understand the whole report. As per my requirement I have added 2 fields more like* quantity* & unit field in that ALV. But not understanding why values are not coming in my report though values are there in DB. Plz help me regarding this. The portion of the code is given below.
    SORT t_ekbe by belnr.
      loop at t_ekbe INTO w_ekbe where vgabe = '1'.
        on CHANGE OF w_ekbe-belnr.
          SELECT  MBLNR
            BWART
            SMBLN
            ERFMG   " This is the new added field
            erfme     " This is the new added field
          INTO CORRESPONDING FIELDS OF TABLE t_mseg
          from mseg
          where mblnr = t_ekbe-belnr
          AND   bwart = '101'.
        endon.
      ENDLOOP.
    Thanks,
    Tripod.

    hi ,
    Do according to this
    SORT t_ekbe by belnr.
      if  t_ekbe[] is not initial  .
          SELECT  MBLNR
            BWART
            SMBLN
            ERFMG   " This is the new added field
            erfme     " This is the new added field
          INTO CORRESPONDING FIELDS OF TABLE t_mseg
        for all entries in t_ekbe
          from mseg
          where mblnr = t_ekbe-belnr
          AND   bwart = '101'.
      endif.
    after this
    loop at t_ekbe .
    loop at t_mseg  where mblnr  = t_ekbe-belnr .
      t_ekbe-ERFMG = t_mseg-ERFMG .
    t_ekbe-erfme =   t_mseg-erfme  .
    modify t_ekbe transporting ERFMG  erfme .
    clear t_mseg .
    endloop.
    clear t_ekbe .
    endloop.
    Regards
    Deepak .

  • Error in ABUMN: Line Item Schema SAP_RET_XX0 is not defined

    Hello Guru,
    I have one problem when doing asset transfer (ABUMN) within same company code, because we want to drop some of depreciation areas. And in the new asset those depreciation areas are not existing. When I was trying to run ABUMN and simulate, the error came. Message no AC598 "Line Item Schema SAP_RET_XX0 is not defined". I tried to look in OSS Note, I found that error but the solution is for 4.0 while we are using 4.7 already but still the error is happening.
    Please share whether you ever faces the error like this before.
    Thanks in advance.
    Kind regards,
    Dodi

    Hi,
    Please refer to Note 703302 - Error AC 598 SAP_RET_RU0 is missing if it helps.
    Summary
    Symptom
    Message AC 598 "Line item schemes are not found." is issued when trying to create assets postings with activity types 230, 300.
    Other terms
    SAP_RET_RU0 SAP_RET_RU1
    Reason and Prerequisites
    Line items schemes SAP_RET_RU1, SAP_RET_RU0 are incorrect. This is an error in the standard delivery for Russia.
    Solution
    Delete two records in the table T093H using transaction SE16 with the following data: LAND1 GLAFABER BWASL BUZSM
    RU    *        230   SAP_RET_RU1
    RU    *        300   SAP_RET_RU0
    Header Data
    Release Status: Released for Customer
    Released on: 03.02.2004  14:58:55
    Priority: Recommendations/additional info
    Category: Customizing
    Primary Component: XX-CSC-RU-FI Financial Accounting
    Secondary Components: XX-CSC-RU Russia
    Releases
    Release Independant

  • Return order value is not coming properly

    Hi All,
    In Export Pricing Procedure we manually enter value for Freight and Insurance.For both condition types in V/06 we have maintained Fixed Amount in Calculation Type.So in  the  sales order condition screen Pricing is like
    Ordered Qty 10  pc
    Price         USD 100 (Entered manually)
    Freight      USD 10 ( entered manually)
    Insurance USD 20 (entered manually)
    Total order  Value is USD 120.Here price per item is 12 USD
    Now when we create a return order for 5 pc wrt above invoice, Freight and Insurance is not calculated properly.
    The system is calculating like
    Price         USD 50
    Freight      USD 10
    Insurance USD 10
    Total Credit Memo/returm order amount is 70 USD.And return price/item is 14 USD.
    Here the system calculate Freight and Insurance value by dividing the original value(10 USD 0r 20 USD / return qty.(5pc).
    But in the above process the return order value should come 60 USD.So what settings do we need to get the value 60 USD.
    Regards
    Debasish

    Dear Raj,
    Thanks for the reply.I am giving you a brief idea abt the PP and condition types.(For Freight and Insurance ).
    For Freight  condition type
    condition class  A
    calculation type B
    Condition Category F
    No Access sequence is assigned
    For Insurance Condition Type
    Condition class A
    Calculation Type B
    Condition Category C
    No Access sequence is assigned
    In PP for both my condition types manual, mandatory and statistics has not been checked.No From To step is maintained.
    Coming to your query can you pls elaborate how did u calculate  Freight 2 + insurance 4  and the final value should be 56 usd.
    Now in my first invoice the  invoiced qty was 10 . Freight value was 10 and Insurance value was 10(for the total invoiced qty).
    Now when i create return order  for 5 qty the system should calculate proportionately.I mean Insurance value should be 5 usd and freight value should be 5 usd.So price is (for 5 qty) 50 usd + Insurance 5 usd + freight 5 usd= 60 usd
    If i am wrong then pls correct me.
    Regards
    Debasish

  • Text blank in Customer line item display for credit notes

    Dear SD gurus,
    We are creating credit memo request in SAP and credit notes are created later on. Now when we look the customer line items, the credit note number is seen over there. But the text field is coming blank. We want to enter some text in the credit memo request and the same should be displayed in the customer ledger i.e., customer line items.
    Kindly suggest some solution.
    Thanks in advance.

    Hi
    Can you elaborate more? Is it that the text is not getting copied form Refernce document to subsequent document ?
    Regards
    Deepak

  • UDF Value is not coming in the query report

    Hi all,
    i have designed query report based on AR Invoice which has some UDF .
    all udf have FMS applied and all these udf has values.
    when i run report some times udf values are coming in the report and somtimes not even if udf contains values.
    if i open perticular invoice and again update that udf and again run report now udf value will come in the report.
    every time i need to manualy update the udf even if that udf contain value.
    how to avoide this problem.
    Pls suggest solution.
    Regards,
    Chetan

    Hi Chetan,
    Try this,
    -> Open the require document(module).
    Assign this procedure and then ADD the document
    and Run the Query Report.
    1. Goto the UDF and Click (ShiftAltF2).
    2. Select the SEARCH BY SAVED QUERY.
    3. Assign the FMS Query in UDF.
    4. Select the AUTO REFRESH WHEN FIELD CHENGES.
    5. Select the Auto Refresh Field (for example CardCode (or) Remarks).
    6. Check the Display Saved Values.
    OR
    -> Open the require document(module).
    1. Goto the UDF and Click (ShiftAltF2).
    2. When will you add the document at that time
    you can Click the SHIFT + F2 and than ADD the document.
    and than Run the Query Report.
    Regards,
    Madhan.

  • Line Items in Sales Order not Replicated

    Hi
    1. We created an order in CRM with 10 line items ( all are same service items) and this order is replicated to R/3.
    2. We added to the same order 5 more same line items and saved but thid items are not replicted.
    Please suugest me how to trance it.
    Thanks and Regards
    Masthan

    Hi,
    As per my knowledge is if in case u want to create or add
    new line items. use CRMD_ORDER and next open the
    business transaction and enter the particular Transaction
    number. And next go to the products tab and add the new
    products and maintain conditions and prices etc., next save.
    you will get New Transaction Number. 
    Then after XI people will give the IDOC number. then after
    you use transacation code(we19 or we39) and enter u will get
    new screen display. Here you can enter the IDOC number then
    execute. You will get Line Numbers.
    ok

  • Line items 999 Acctng Doc not generated

    Hi, We are doing MB01-initial stock upload, where Material Document is generated but the Accounting Document is not generated as line items exceed 999 (max available).There is OSS Notes 36353 on this that suggest summarisation technique. But Client is not in favour of this. There is one more solution as "Splitting the document into more than one if line items exceeds 999". In case anyone has info on this plz share,advice.We are looking for ABAP logic that can determine how many FI line items will be created out of Mat doc.and can spit it into more than one doc.Thanks.

    HI Madhu,
    Thanks for the information.
    But it is possible to split the Accounting document. Some SAP notes are available.
    Regards
    Murali

  • LIne Item Reports CJIF & CJID - not showing output

    Hello Friends,
    Can anybody help me to find out why CJIF - Result analysis and CJID - Line item settlement not giving any out put though we are regularly doing RA & settlement for RA as well as Incoming order.
    Thanks and beste regards
    Bharat

    sorry - i should have clarified
    CJID can only be used for line items for settlements to assets
    this report is used when project is for investment
    the line item / summary settlement is part of investment profile, not settlement profile (i should have clarified that earlier)
    if your project is not for investment then use CJI3 from the line items for the project and fileter for the settlement cost element

  • In FI Line Item Display Purchase Document Not appearing

    Dear All,
    Could you please help me, how i can get the Purchasing document Number in Line Item Report .
    Thank you in advance.
    KSK

    Hi
    You have to add Purchase Document (PO) as a special field in the line layout variant through  customizing  to view PO in the FBL3N Line layout,
    Go to SPRO Settings - **** - GL Accounting - GL Accounts - Master Records - Line Items - Line Item Display - Define Special fields for finding and sorting data"
    A message will be displayed that it is a cross client change. Presse nter
    Before adding the special field PO, the line layout variant does not have the field PO
    Click on New Entries button
    Give the Table as BSEG and Field as EBELN.
    And save.
    Assign points if useful.
    thanks
    radhika

  • Line item for cenvat clearing not getting created during miro

    Hi all,
    I'm in ECC 5.0. I've carried out the CIN configuration. But I am facing the following problem.
    PO created for raw material. GR posted and the accounting document postings show correct figures against Stock A/c and GR/IR Account. The Part II posting also show correct figures against Cenvat A/c and Cenvat Clearing A/c. However, when I'm doing MIRO, the Cenvat Clearing A/c line item is missing. Line Items are created for Vendor Payable, GR/IR Account and Sales Tax and all these figures are correct. Only Cenvat Clearing A/c Line item is missing.
    Please help
    - Saleel

    Hi SP,
    thanx for your reply. However, the tick is already there in the separate line item and also, all Excise Transactions have been maintained. Excise Accounts and G/L Accounts for all Excise transactions have already been assigned. I guess the problem is somewhere else. Can u  plz throw some light? I'm in implementation project and stuck up coz of this. Need help urgently.
    Regards,
    Saleel

  • COPA value field not getting complete SD condition value

    Hi Gurus,
    I find a strange issue when a billing document is transferred to COPA (well basically, after a billing document is released to accounting, all the controlling docs and COPA docs are generated). The issue is, I have a SD pricing condition which has been assigned to COPA value field. I also have the transfer +/- sign checked on this value field. Now consider the following 2 scenarios:
    Scenario 1: In VKOA, two different G/l accounts have been assigned to the corresponding pricing condition account key. These 2 G/L accounts have been defined as cost elements with category '12' (its related to sales deduct). and fall under the same cost element group. When a billing doc is posted to accounting and hence to COPA, I see that there is no value in the value field and the corresponding condition type. Then I ran a simulation using KE4ST and found that I have two lines with the same pricing condition type and value field but one carries a positive value and the other one carries a negative value. Then I came to a conclusion that may be these two lines are netting out and hence there is no value being posted on the value field.
    Scenario 2: In VKOA, I have assigned two different G/L accounts which fall under different cost element group and one is defined as category 12 and the other as category 1. This time I see that only 1 line of value field is brought into COPA corresponding to the pricing condition and hence I see a value in COPA value field. But business doesn't want to go with scenario 2 as they don't want to use two cost elements in different cost element group. Also one is sales deduct and the other is primary cost/ cost reducing revenue. So there is a balance getting accumulated in the primary cost/cost reducing revenue element.
    How do I resolve this issue to post a value to the COPA value field using scenario 1?  I have also tried to uncheck the transfer +/- sign but I am unable to even release a billing doc to accounting as it is giving me a error message,: "correct the value field assignment for the condition type".
    Please help me !!
    Regards,
    Sony

    Version of SAP?

Maybe you are looking for