Multiple Header Lines

Hi Gurus
When I enter a header condition in the sales order and activate it,system automatically inserts a line for the same condition type but with condition value displayed.. I don't want this to happen.Could you please tell me where I can change the settings.
Thanks
Kumar

Hi kumar,
First as far as i see your header condtion base concept is not clear.
system will automatically divide the value of the header condtion in the line items .
Read the following to gain more insight in to the functionality
Header conditions are those which appear in the header level of any sales order. these conditions are to be entered manually and get distributed automatically and the basis for distribution are taken from the NET VALUE of items mentioned at item level. 
When we go to the conditions section in a sales order, where the details of pricing is mentioned, here we add these conditions. 
Whenever any Header Condition is used, it overrides the PR00 condition type.
Examples of header condition.
- HA00 - % Based Header Condition. 
- RB00 - Absolute or numeric value which applies to all items.
- HB00 - Numeric value or Absolute value.   
Usage of this feature is to apply price / discount for a specific group of materials. 
1. You maintained a discount based condition record fbased on material group ( = 01 for example). You maintained scales also.
     Qty      Discount          
    1 - 10   Rs. 100.00
  11 - 50   Rs. 105.00
51 - 150   Rs. 110.00 etc.
2. You are creating a sales order for a customer with five different items with different quantities as below
ITEM 1 - 25 No's
ITEM 2 - 3 No's
ITEM 3 - 12 No's
ITEM 4 - 27 No's
ITEM 5 - 62 No's
All the material is having the material group = 01.
3. While calculating the discount, because of this group condition, system add the quantities of items which have material group = 01. In the above example total quantity is = 109. System apply a discount of Rs. 110.00 to each item irrespective of the individual quantities.
4. If you have not activated the group condition feature, system determines the discount value based on individual item quantity which is as below.
                                      Discount
ITEM 1 - 25 No's         Rs. 105.00
ITEM 2 -   3 No's         Rs. 100.00
ITEM 3 - 12 No's         Rs. 105.00
ITEM 4 - 27 No's         Rs. 105.00
ITEM 5 - 62 No's         Rs. 115.00
5. Is it clear now. Just try a sales order and see the out come
Procedure to Test:
1. Create 3 materials. Maintain Material Group of each item is same. 
2. Activate the condition type as a group condition. 
3. Create a condition record for this condition type with scales. 
4. Process a sales order for a customer with these three material with different quantities. 
5. Check the outcome.     
Revert if helpful
Mohit Singh

Similar Messages

  • Multiple Header line in Receiver File adapter

    Hi,
    I have an issue in Receiver File adapter with multiple header lines. I am able to get only 1 header lines in the receiver file but not multiple header lines with 'nl' since it is static in file mode
    [CommunityTag:Header]
    empNo,EmpName,Age
    [CommunityTag]
    I tried with the below in content conversion one as below with no luck
    Root.addHeaderLine=1
    Root.headerLine=[CommunityTag:Header] 'nl' empNo,EmpName,Age 'nl' [CommunityTag]
    Root.fiedSeparator=,
    Root.endSeparator='nl'
    I am getting the Header line as same row as static text.
    Can you advise this.

    Hi Gabriel, I suggest to produce the header lines from additional nodes in the message payload. That means you need to modify the data type of the target message in order to generate an extra structure in the payload. Use constants in message mapping to generate the header column names, e.g.
    <Header>
      <H1>CommunityTag:Header</H1>
      <H2>empNo,EmpName,Age</H2>
      <H3>CommunityTag</H3>
    </Header>
    In content conversion you have to convert the Header row with
    Header.endSeparator='nl'
    You won't need parameter addHeaderLine anymore then.
    Regards, Martin

  • Check on multiple header line data.

    Hi All,
    I have one requirement where i need to check the multiple accounting document header line.
    Kindly suggest how to check the above requirement.
    Thanks in Advance!
    Regards,
    Chirag

    Hi All,
    Sorry for the short description.
    Currently i am validating only the one header line data of expense spread sheet file with vendor. but the now requirement has changed and there can be a multiple header line item also.
    So i need to check for each header line item whether vendor already exist or not.
    I am able to check it for 1 header line item, Kindly suggest how to check it for multiple header line item.
    Thankyou.
    Chirag

  • Multiple Header Line In HIERSEQ ALV

    Hi Experts,
    Please guide me how to get miltile Header lines in the HIERSEQ Alv , My requirment it develop a genledger for customers in which the Address of customer should be in 3 or four lines then followed by its balances. Please suggest me ...
    Regards,
    Prakash

    Hi,
    You need to pass the Row number to the filed catlog in order to display multiple header lines.
    For example,
       wl_fieldcat-row_pos = 1.  " This field will be displayed in first row
      wl_fieldcat-col_pos     = 1.
      wl_fieldcat-fieldname   = 'VBELN'.
      wl_fieldcat-tabname     = 'T_VBAK'.
      wl_fieldcat-outputlen   = 20.
      Append wl_fieldcat to t_fieldcat.
      wl_fieldcat-row_pos = 2.    " This field will be displayed in Second row
      wl_fieldcat-col_pos     = 1.
      wl_fieldcat-fieldname   = 'VBELN'.
      wl_fieldcat-tabname     = 'T_VBAK'.
      wl_fieldcat-outputlen   = 20.
      Append wl_fieldcat to t_fieldcat.
    Regards,
    Rajneesh

  • Flat file having multiple header lines , how to separate the same and pushit into my intrnal table

    Hi Guys,
                    I got an issue , My flat file having multiple header lines
    TPS27RPR  MOME                                      THRIFT (SAVING) PLAN SYSTEM                                           Page    2
    09:54 05 JAN 2014                          List of Contributors w/Company Contributions                           Phase DAY Unit TRE
    Company No: xxxxxxxx - xxxxxxxxxxxxx.
                                                                            Employee/       Employee/
    Employee Full Name/                                                       Company         Company                        Allocation
    Number  ID Number                           PS  PN  End Date        Contribution          Profit        Total Balance   Percentage
    some lines of data and again
    TPS27RPR  MOME                                      THRIFT (SAVING) PLAN SYSTEM                                           Page    2
    09:54 05 JAN 2014                          List of Contributors w/Company Contributions                           Phase DAY Unit TRE
    Company No: xxxxxxxx - xxxxxxxxxxxxx.
                                                                            Employee/       Employee/
    Employee Full Name/                                                       Company         Company                        Allocation
    Number  ID Number                           PS  PN  End Date        Contribution          Profit        Total Balance   Percentage
    in this case how could I separate the header lines from the flat file and update the details to my internal table.
    kindly help me on this issue.
    Thanks and regards,
    M.S.Amirtharajvijay.

    Hi Amirthraj,
    If the flat file is static (if the content within it is same for all) then use the offset concept. First get the contents of the flat file into an internal table and later find the field that has to be in final internal table within the line, calculate the offset for the line and get the value into an workarea. Finally modify/append the work area into an internal table. Also wait for other experts answers for any other hassle free way to achieve the requirement.
    With Regards,
    Giriesh M

  • Multiple Header Lines in Flat-File read by FileSenderAdapter

    Hello XI and File Sender Adapter Species
    We have the following file with fixed file lengths:
    #H1 F1
    #H2 F1
    #H3 F1
    #H4 F1
    #H5 F1
    #H6 F1
    #D1 Field1 - Fieldn
    #D2 Field1 - Fieldm
    #D2 Field1 - Fieldm
    #D1 Field1 - Fieldn
    #D2 Field1 - Fieldm
    #D2 Field1 - Fieldm
    #F F1
    Concrete example as follows:
    #H1 150
    #H2 ECH150_20070709_026745152.dat
    #H3 20070709_1600
    #H4 9.0
    #H5 8712423010208
    #H6 8712423009202
    #MDDTD3 146307732 146202845 871687940006178374E70871687910000219120200707090032B 040235031             Noordkant               28         SINT ANTHONIS           5845EW                                   8716879000004871242300920287124230091962007070909550113533533                 8716948000010501000L
    #MDDTD4 59664          E10
    #MDDTD4 30180          E11
    #MDDTD3 146309776 146202839 871694840030212726E70871694830000000309200707090031B 0411   8              Flierakkers             21         VROOMSHOOP              7681XV                                   8716948000003871242300920287124230091962007070909590113533515                 8716948000010503000L
    #MDDTD4 3562           E10
    #MDDTD4 2422           E11
    #F6
    This File Should be read via the File Sender Adapter and afterwards mapped into the following idoc structure:
    IDOC-Type
    ZUECH_010
      Header Segment: H1, H2, H3, H4 , H5 ,H6
      Detail1Segment: Field1, Field2 …. Fieldn
      Detail2Segment: Field1, Field2 …. Fieldm
      Detail2Segment: Field1, Field2 …. Fieldm
      Detail1Segment: Field1, Field2 …. Fieldn
      Detail2Segment: Field1, Field2 …. Fieldm
      Detail2Segment: Field1, Field2 …. Fieldm
      FooterSegment: Field1
    Now my Questions:
    1.     As far as I know it is not possible to configure in the filesender adapter 2 different Record sets? We need two record sets, one for the header lines whose occurrences are once per File and one for the detail lines? Does anybody know if this is possible?
    2.     Any other ideas for a simple solution?
    Thanks for a soon answer.
    Regards Marlies

    Thanks all very much for your answers:
    The hint from Praveen was very helpful.
    If possible we need a solution with the graphical mapping tool and as far as possible without UDF, because at the moment there is no java developer.
    The file adapter now produces the following xml structure:
    <ZUECH_0150>
      <recordset>
        <H1>     
         <KH1>#H1</KH1>
         <H1>150</H1>
        </H1>
        <H2>
         <KH2>#H2</KH2>
                       <H2>ECH150_20070709_026745152.dat</H2>
              </H2>
              <H3>
                   <KH3>#H3</KH3>
                   <H3>20070709_1600</H3>
              </H3>
              <H4>
                   <KH4>#H4</KH4>
                   <H4>9.0</H4>
              </H4>
              <H5>
                   <KH5>#H5</KH5>
                   <H5>8712423010208</H5>
              </H5>
              <H6>
                   <KH6>#H6</KH6>
                   <H6>8712423009202</H6>
              </H6>
              <MDDTD3>
                   <KMDDTD3>#MDDTD3</KMDDTD3>
                   <MDDTD3>146307732 146202845 </MDDTD3>
              </MDDTD3>
              <MDDTD4>
                   <KMDDTD4>#MDDTD4</KMDDTD4>
                   <MDDTD4>59664          E10</MDDTD4>
              </MDDTD4>
              <MDDTD4>
                   <KMDDTD4>#MDDTD4</KMDDTD4>
                   <MDDTD4>30180          E11</MDDTD4>
              </MDDTD4>
         </recordset>
    </ ZUECH_0150>
    I would prefer the following structure, because it fits exactly to the structure of the idoc.
    That means the mapping is very simple:
    <ZUECH_0150>
          <HEADER>
                  <H1>150</H1>
                  <H2> ECH150_20070709_026745152.dat</H1>
          </HEADER>
          <MDDTD3>
                 <KMDDTD3></KMDDTD3>
                 <MDDTD3>146307732 146202845</MDDTD3>
                    <MDDTD4>
                   <KMDDTD4>#MDDTD4</KMDDTD4>
                   <MDDTD4>59664          E10</MDDTD4>
              </MDDTD4>
              <MDDTD4>
                   <KMDDTD4>#MDDTD4</KMDDTD4>
                   <MDDTD4>30180          E11</MDDTD4>
              </MDDTD4>
          </MDDTD3>
    </ZUECH_0150>
    Now my new questions:
    1.     Is it possible to configure the file adapter to produce a xml structure which afterwards can be mapped with a simple graphical mapping into the idoc structure?
    (I can live with the suggestion from Praveen, that the header information is in each recordset but only has content in the first one.)
    2.     What about the MDDTD4? It is a substructure from MDDTD3. Is it possible to configure this in the file adapter?
    Thanks a lot for your help and a soon answer.
    Regards Marlies
    Message was edited by:
            Marlies  Nowotka
    Message was edited by:
            Marlies  Nowotka

  • How to get multiple header lines dynamically and also data hierarchically using ALV

    Hi experts,
    My requirement is shown below.. I neet to compare prices of service RFQs. So i design as below..
    I want to get RFQ number ,Vendor code and vendor name in ALV header and also other headings which static. I think dynamic table is the best way to load RFQ numbers to header.. But problem is i'm unable to load two lines dynamically using ALV.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
         EXPORTING
           i_style_table             = 'X'
           it_fieldcatalog           = gt_dyn_fcat
         IMPORTING
           ep_table                  = gt_dyn_table
         EXCEPTIONS
           generate_subpool_dir_full = 1
           OTHERS                    = 2.
    I use this function and pass RFQ no and vendor code in two rows but it output gt_dyn_table in same row.. How to print them as given image???
    Then in data I want to get service items and according to the external service number divide them to groups and get sub totals and also finally total of all sub categories to compare each RFQs price to  compare.. There i think ALV hierarch can use. but not sure I can use with dynamic table(in header use it).
    What is thee best way to get the output in my image..??
    Thanks..
    Pavi

    Hi experts,
    My requirement is shown below.. I neet to compare prices of service RFQs. So i design as below..
    I want to get RFQ number ,Vendor code and vendor name in ALV header and also other headings which static. I think dynamic table is the best way to load RFQ numbers to header.. But problem is i'm unable to load two lines dynamically using ALV.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
         EXPORTING
           i_style_table             = 'X'
           it_fieldcatalog           = gt_dyn_fcat
         IMPORTING
           ep_table                  = gt_dyn_table
         EXCEPTIONS
           generate_subpool_dir_full = 1
           OTHERS                    = 2.
    I use this function and pass RFQ no and vendor code in two rows but it output gt_dyn_table in same row.. How to print them as given image???
    Then in data I want to get service items and according to the external service number divide them to groups and get sub totals and also finally total of all sub categories to compare each RFQs price to  compare.. There i think ALV hierarch can use. but not sure I can use with dynamic table(in header use it).
    What is thee best way to get the output in my image..??
    Thanks..
    Pavi

  • Multiple Header Lines for the ALV  Layout

    Hi Experts,
    I am working on a ALV report in MM , the output should be like mentioned below, I have tried this by using  ALV List , I got it then ,  but I want the output by using  ALV Grid ( Function Modules / Classes ).
    Material
    Branch
    Material No
    Created on
    Material Type
    Plant
    Valuation Category
        1343                 29/06/09            HALB                     HKM1                   01                        
        1342                 28/06/09            HALB                     HKM1                   01  
        1341                 27/06/09            HALB                     HKM1                   01   
        1340                 26/06/09            HALB                     HKM1                   01
        1339                 25/06/09            HALB                     HKM1                   01
        1338                 24/06/09            HALB                     HKM1                   01
    Thanks
    V. Venkatesh

    check the standard program  BALVHD01_GROUP
    http://www.geocities.com/mpioud/Z_ALV_HIERSEQ_LIST.html

  • Header line only prints on first page of multiple page document

    Hi, I've created a SmartForms table and it has the Header, Main, and Footer sections. I've created table lines for the Header and Main sections. In the Header section, I've checked 'at Start of Table' and 'at Page Break'. The form prints multiple pages fine, BUT the header line only prints on the first page and not at any of the multiple page breaks.
    Does anyone have any suggestions as to what might be causing this?
    Thanks,

    Hi,
    Remove that 'at Start of Table' check box and check it.
    Regards
    Muthappan.

  • How to create multiple report header line?

    Dear Experts!
    I am creating a report, which needs multiple lines for report header e.g. First row should have Report Name in bold. Then next line should have the month for which the report was executed and last line should have the person, who executed it.
    I know that I can get the text of these values by text variable but the problem is to format it and to put the text in different report header lines.
    Please help!
    Thank you,
    Tyagi

    Dear Tyagi,
    Are you using BEx Report Designer?
    You can use drag-and-drop for moving the fields. Just click on the cell and as the buttons appear, move it to your destination cell.
    Regards, Karol - SAP BI Development

  • How to get multiple copies with different decription on header line

    I want to get multiple copies of print out automatically with different description on header line when i click on save or print button.

    is this smartforms....?
    if yes then this can be achieved using the copy windows concept of smartforms.....
    Regards,
    Lalit Mohan Gupta

  • Payable open interface-Multiple distribution lines

    Hi,
    As i know there is no distribution interface table in R12,there are only AP_INVOICES_INTERFACE and AP_INVOICE_LINES_INTERFACE.When i insert one line for one invoice header,it is creating one distribution line.
    Now my requirment is i want insert multiple distribution lines for invoice line.
    Is it possible?If yes,tell me the way...
    Is there any alternative ways?
    Thanks
    Praveen

    Hi Praveen
    How are you inserting the records into Interface Table ?
    Is it through SQL LOADER or a simple Insert Command from a PL/SQL Block ?
    While loading Multiple Distribution Lines for a Invoice Header in AP_INVOICES_LINES_INTERFACE Table we can pass the same HEADER_ID for Multiple Invoice Lines.
    Ex
    BEGIN
    INSERT INTO AP_INVOICES_INTERFACE(INVOICE_ID,INVOICE_NUM)VALUES(100,100);
    INSERT INTO AP_INVOICE_LINES_INTERFACE(INVOICE_ID,INVOICE_LINE_ID,LINE_NUMBER)VALUES(100,100,1);
    INSERT INTO AP_INVOICE_LINES_INTERFACE(INVOICE_ID,INVOICE_LINE_ID,LINE_NUMBER)VALUES(100,101,2);
    COMMIT;
    END;
    Please do let me know if you face any problems.
    Regards
    Nakul.V

  • After adding one column in a table can't get the header line

    hi all,
    i have make a SMART FORM which was working perfectly.Now the requirement of user is to add one column in my table at smart form which i did and after modification i execute it it give me data as well but issue which i'm facing is that the TABLE at smart forms in which i have add one field is not displaying the HEADER LINE which i have define with SELECT PATTREN option.
    Thanks & Regards,
    sappk25

    Hi,
    Have you created the Header Text? If yes, then might be the case that your smartforms
    table which was already created is with Multiple Line. Check weather you have added
    customer field in Header Line or Not?
    Regards,
    SUjeet

  • Multiple Heading in ALV Grid

    Hello ,
    I have a requirement to display Multiple heading in ALV Grid, I am using the Class 'cl_gui_alv_grid'. please let me know if you have Any suggestions.
    Ex:
    |                 Divison                     |     
    Sub D:1
    Sub D: 2
    Sub D: 3
        Like wise i have few more divisions to display and Under we need to display the Sub Division also .
    Thanks in Advance..  Waiting for your suggestions.
    With Best Regards
    Nags

    Hi,
    I had attempted to do it in the object oriented way, but found no ready solution, so I settled for the below solution.
    Please use the function REUSE_ALV_COMMENTARY_WRITE.
    This allows you to print multiple lines in the header.
    I had a requirement of showing 5 lines in the header.
    So i went on like:
    DATA: it_list_commentary TYPE slis_t_listheader,
               wa_list_commentary TYPE slis_listheader.
    wa_list_commentary-typ = 'H'.
    wa_list_commentary-info = <text>.
    APPEND wa_list_commentary TO it_list_commentary.
    wa_list_commentary-typ = 'S'.
    wa_list_commentary-info = <text>.
    APPEND wa_list_commentary TO it_list_commentary.
    I fed he internal table with all 5 lines like above.
    Finally I called the function.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = it_list_commentary.
    Regards,
    Prosenjit.
    Edited by: prosenjit chaudhuri on Jan 28, 2009 6:14 AM

  • How to handle text files with Header lines

    Hi,
    Eventhough the number of header lines is specified, when I do Reverse to get columns, its considering only header line.
    I have file format like
    ffserver started.
    192.168.11.30 - - [Fri Apr 20 19:28:01 2007] "GET /robots.txt HTTP/1.1" 404 150
    192.168.11.30 - - [Fri Apr 20 19:28:02 2007] "GET /V23WASTINGPETROL HTTP/1.1" 200 310
    first line is header line and there are spaces within a field value, and the field separator also is space.
    regards,
    Vivek

    in this scenario of urs ,ur file has multiple delimiters like -- and spaces.
    in this case u need to convert the file in a file with single delimiter .
    this can be done by writing a code in java in ODI procedures.
    once you have the same delimiter all over the file.
    u can extract multiple headers using typical Procedure

Maybe you are looking for

  • Adobe Premiere CC 2014 will not load

    Adobe Premiere CC 2014 will not load. Been with tech support for HOURS, reloaded several times. On Windows 7 with 64 bit computer. NVIDIA 3-D graphics card (plenty of ram, etc) It has NEVER worked. Any suggestions? Mel Wayne

  • Can't use "Copy Finder Items" after "Run Workflow"

    Create a simple Automator workflow: Set just 1 action "Create Thumbnail Images" and save it. I called it "wf1.workflow". Now create the second workflow with 3 actions: "Get Specified Finder Items" action (choose an image file here). -> "Run Workflow"

  • How to suppress row when one column has zero  using condition

    Hi Experts, How do I suppress row when one column has zero. I read it is possible using conditions. How ? Thankyou.

  • Reporting Agent in 2004s

    Hi Experts, I want build new solution in my BW. This solution have to execute WEB-Templates and saves the results to file system. I thought, I will use the functionality of Reporting Agent - WEB Templates Precalculation + some own programming for it.

  • IPod resets itself while trying to play certain songs.

    For no specific reason, this has only happened so far with audio from my "Comedy" playlist. Either this is coincidental or my iPod lacks a sense of humor. Please let it be the former. Anyway, when this occurs it takes me to the silvery Apple logo scr