Multiple invoice line items posted as single line item in FI

Dear Gurus,
My client has a specific requirement.
We are required to maintain a rebate condition at item level. In the invoice the values of rebate conditons are appearing as per the line item. This rebate condition has been maintained as statistical and accrual key has been assigend to it. Respective configuration has been done in VKOA. Accural check box has been activated for the rebate condition type.
Now when we are posting the invoice to FI, client requires that instead of line item wise posting of accrual amount it should post entire accrual amount in the single line item. In other words it is like posting of header amount directly, without any line item wise splitting.
Please help me ASAP.
Thanks in advance.
Regards
Piyush Ranpura

Dear Friends,
I am thankful for your replies. But probably I was not able to put the issue is the proper manner. Let us consider this example -
Mat. codes - M1, M2, M3 & M4   Rebate cond. - ABCD    Accrual key - ABC    GL - 12345678
In the invoice, rebate values are determined as follows for the each line item -
For Line item 10, Material M1
ZSHA   -   100
For Line item 20, Material M2
ZSHA   -   125
For Line item 30, Material M3
ZSHA   -   100
For Line item 40, Material M4
ZSHA   -   75
While the invoice is released for accounting follwing entries are there
xx 1 xx
xx 2 xx
xx 3      100  12345678
xx 4      125  12345678
xx 5      100  12345678
xx 6        75  12345678
xx 7 xx
xx 8 xx
But my requirement is
xx 1 xx
xx 2 xx
xx 3    400  12345678
xx 4 xx
xx 5 xx
How it could be done?
Thanks & Regards
Piyush Ranpura
Edited by: Piyush Ranpura on Sep 1, 2010 9:10 AM

Similar Messages

  • Can we create multiple billing document from delivery with single line item

    can we create multiple billing document from delivery with single line item

    Hi
    Please check the link
    [can v create multiple billing document from delivery with single line item]
    and as Lakshmi said, check the forum before posting an issue.
    Regards
    AA

  • Can v create multiple billing document from delivery with single line item

    can v create multiple billing document from delivery with single line item

    Dear Sandesh
    Go to VOV7, select your item category.  In this maintain K  for Billing Relevance
    Now go to VF01, give the delivery number and do not press Enter.  Instead click on Selection list on the next screen, select the items you want to bill and click copy and continue if necessary
    thanks
    G. Lakshmipathi

  • Multiple form items on a single line.

    Does anybody know if it is possible to squeeze multiple items onto a single line in a Java ME form? i.e. can you have a small TextBox (say, 2 chars wide), a small StringItem, and then another small TextBox all together on the same line?
    If it can be done, then how can it be done?

    Are you referring to using the standard LCDUI framework? If so this may be down to the device manufacturers implementation of the standard Form layout.
    Besides, I would personally advise using LWUIT for any current Mobile Java App, unless you have to target very old devices. LWUIT certainly has this layout capability and more through Swing-like layout managers, and Suns endorsement of it as the de-facto UI framework on JavaME apps seems to be growing by the day.

  • Displaying items in a single line in ALV grid using  ALV_TOP_OF_PAGE.

    Hello Guys,
    I am having a problem in displaying items in a single line in the ALV Grid using event ALV_TOP_OF_PAGE.
    My requirement is to group items on a single line i.e. in the example below, Vendor code and posting date are on the same line. The next line the prints Vendor Name and Document no.
    Vendor Code: 123123                               Posting Date : 01.01.2011
    Vendor Name: ABCD                                 Document No: 152246598.
    Here is my code in subroutine 'ALV_TOP_OF_PAGE', 
      wa_list_comments-typ = 'S'. 
      wa_list_comments-key = ''.
      wa_list_comments-info = 'Vendor Code'.
      APPEND wa_list_comments TO it_list_comments.
      wa_list_comments-typ = 'S'. 
      wa_list_comments-key = ''.
      wa_list_comments-info = 'Posting Date'.
      APPEND wa_list_comments TO it_list_comments.
    The above code prints in the following format i.e one below the other,
    Vendor Code: 123123                              
    Posting Date : 01.01.2011.
    I also tried using HTML_TOP_OF_PAGE, but it didn't work.
    Can anybody please help me out with this.
    Regards,
    Danish.

    Hi Danish,
    Your problem is with the alignment and you need some fix positions .
    The solution i feel is u can use as below :
    In CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    use 
    i_callback_html_top_of_page       = 'HTML_TOP_OF_PAGE'.
    Now on calling routine call use cl_dd_document class :
    FORM html_top_of_page USING document TYPE REF TO cl_dd_document .
    data : doctable TYPE REF TO cl_dd_table_element,
              col1_t1 TYPE REF TO cl_dd_area,
              col2_t1 TYPE REF TO cl_dd_area,
              col1_t2 TYPE REF TO cl_dd_area,
              col2_t2 TYPE REF TO cl_dd_area.
    add quick table with five columns
        CALL METHOD lw_document->add_table
          EXPORTING
            no_of_columns               = 2
            border                      = '0'
         cell_background_transparent = ' '
            width                       = '100%'
          IMPORTING
            table                       = doctable.
    Filling columns in row
        CALL METHOD doctable->add_column
          EXPORTING
            width  = '40%'
          IMPORTING
            column = col1_t1.
    Filling columns in row
        CALL METHOD doctable->add_column
          EXPORTING
            width  = '60%'
          IMPORTING
            column = col2_t1.* Filling columns in row
    Call method doctable->new_row.
        CALL METHOD doctable->add_column
          EXPORTING
            width  = '40%'
          IMPORTING
            column = col1_t2.
    Filling columns in row
        CALL METHOD doctable->add_column
          EXPORTING
            width  = '60%'
          IMPORTING
            column = col2_t2.
    *Now adding the texts
    lw_text1 = 'your first text'
    CALL METHOD col1_t1->add_text
          EXPORTING
            text = lw_text.
    *Similarly add text for other columns
    *Adujust % in width to adjust the column as required
    Endform.
    Hope this will solve your problem .

  • Invoice document posting in single line

    Hi,
    We will be having multiple goods receipts on purchase order of single line item but vendor will give single invoice only with respect to all goods receipts posted. In MIRO screen, system show the invoice line items for each goods receipt, but we will get invoice clubbing all receipts. So there will not be any break up.
    This we can overcome with out flagging GR based IV in PO, but it we don't want that way.
    Please advice is there anyway we can handle it.
    Best Regards

    Why do you care about break up as long as the total amount of invoice is match with systems.
    suppose oyu have three GR and the total is 500
    same you got in invoice then you are fine.

  • Multiple lines of data to single line

    Hi All,
    Need help on getting data in single line out of multiple lines from bex query based on condition.
    Reporting using Crystal 2011 SP06
    Please find the attachment.
    Thanks
    Santhosh

    Hi Santosh,
    Here's what you need to do:
    1) Create a formula with this code:
    If {Confirmed_Qty} > 0 then {Conf_Delivery_Date}
    2) Go to Insert Summart > Choose the above formula field as the field to summarize > Choose 'Max' as the sum function > Under Summary Location chose Group section
    3) You would also need to insert a Max function on the Confirmed Qty field and place the summary on the Group Section like all the other summaries.
    -Abhilash

  • Many lines of codes into single line

    I want to execute t-sql-query from VB.NET program. I wrote and successfully executed sql query in MANAGMENT-STUDIO-EXPRESS..  But the problem is that. The codes are of 10 lines. And i need single line code to paste in vb.net.. How is that possible
    In qbasic i used to use COLON ":" to merge lines. 
    Is merging lines possible in SQL SERVER. If yes how?? Please help

    Hi,
    Like Rsingh, suggested create Stored Procedure - 
    http://support.microsoft.com/kb/309486
    To combine multi line code -
    http://msdn.microsoft.com/en-us/library/ba9sxbw4.aspx
    http://stackoverflow.com/questions/461714/vb-net-single-statement-across-multiple-lines
    http://blogs.msdn.com/b/bethmassi/archive/2007/10/23/avoid-underscores-in-your-multiline-strings.aspx
    sathya - www.allaboutmssql.com ** Mark as answered if my post solved your problem and Vote as helpful if my post was useful **.

  • Converting strings with line feeds to a single line with identifying chars

    Hi, I dont want to re invent the wheel if there is something out there that does this already. I want to take some string with multiple
    line feeds and convert it to a single line. For example:
    "I want this string
    to be changed to
    a single line"
    to this...
    "I want this string\r\n to be changed tor\\n a single line"

    vsekvsek wrote:
    OK, Hope this will make better sense. So right now a I have a routine that loads files like below:
    "TEST\r\n TEST1\R\n TEST2"It's not clear to me at this point what you mean by that string.
    After the initial word TEST, does that string have a backslash character followed by an r followed by another backslash followed by an n? Or does it have a carriage return followed by a line feed. (\r followed by \n)
    We format it when loading in a way that it will look like this when queriing from the DB
    "TEST
    TEST1
    TEST2"It doesn't look like anything "when querying from the DB." That part doesn't make any sense.
    Either the string has a backslash followed by an r, in which case when you render in in a text editor or on a console it will look like a single line with a visible backslash character followed by an r, or it has a carriage return (\r) in which case it will look like multiple lines when rendered in a text editor or on a console.
    Later I re-extract it to a file from the DB and What confuses me is when I inspect the string it looks like this
    "TEST\r\n TEST1\R\n TEST2"How are you inspecting it? If it's in a debugger or similar tool, it's not uncommon for it to be showing a carriage return character (\r) as a visible backslash followed by an r, rather than interpreting it and rendering a new line. This is so that you can see exactly what characters are in there, rather than wondering about the specific whitespace.
    >
    but it extracts to my file like
    "TEST
    TEST1
    TEST2"
    So I guess there are some hidden cr's or something messing it up that I need to manipulate but not sure how to apprach it?I still don't know what you're trying to do, or if you even have an actual problem with your data or are simply not understanding what you're seeing.

  • Multiple values from database on a single text item

    i am trying to do the following
    on a single text item in a form
    (under form property pallete->records->number of items displayed is 5) run a triger "when-new-block-instance" with the following pl/sql statement
    declare
    menu_item VARCHAR2(35);
    begin
    select label into menu_item
    from menu_options;
    end;
    however, once i run the form it gives me
    WHEN-NEW-BLOCK-INSTANCE trigger raised unhandeled exception ORA-01422
    however, if in the pl/sql statement contains only
    begin
    execute querry;
    end;
    then it works fine
    The problem i beleive is the fact that the first querry retreives multiple values or recordset instead of A record.
    How can i go arond this and allow the form to list all the values in this form. Eventually i will need to add conditional SQL statments and that is why just execute querry will not work.
    Also, is there a way to dynamically assign a number to "number of records shown" property?
    All help is very much appreciated!
    null

    Hi, Marko
    I teach Forms, and I usually find a bad idea to use SQL statements directly (in particular when you can "make" Forms to do what you want).
    Inside PL/SQL, a SELECT..INTO statement is supposed to select a single row, otherwise an error occurs.
    EXECUTE_QUERY works.
    If by "conditional SQL statements" you mean restricted (filtered) queries, you don't need to write SQL to do this.
    You can set the DEFAULT_WHERE block property to a different value before using EXECUTE_QUERY, like:
    SET_BLOCK_PROPERTY('your_block', DEFAULT_WHERE, 'where menu_id > 100');
    And the answer to your second question is no, you cannot dynamically change the number of records a block is displaying.
    You can limit the number of records your block queries from the database table using Maximum Records Fetched block property (available in Forms 6 and above, not sure about Forms 5). However, this will only work as expected if you set Query All Records to Yes.
    Hope this helps,
    Pedro

  • Multiple IDocs to be posted from single IDoc

    Hi,
    I am using ORDERS05 Basic type. I have copied a IDOC_INPUT_ORDERS to a custom FM and using the same for the inbound IDoc. Now my requirement is to split a single incoming IDoc into number of IDocs based on the sales orders to be posted.
    Can anyone please suggest me to achieve this. I also need to send a reconfirmation to Biztalk system.
    Thanks,
    Bipen

    Hi BreakPoint,
    What I understood from you is to do below points.
    create a custom process code and a Funtion Module to read the incoming IDoc
    Based on each header found, I should split the IDOC_DATA internal table into new internal
    tables(each headerwise) and pass this to IDOC_INPUT_ORDERS with all the necessary
    parameters.
    I did not get your point to storing in the system. Please clarify me if I am wrong.
    Hi Clemens,
    Appolozies for the confusion. I am not quite sure why business has decided to send a single
    IDoc with multiple Orders details(1 IDoc for each sales order) inspite of complexities like BreakPoint has mentioned.
    The xml file content shared by Biztalk was something like:
    <sales Order type = ZZ45 Sales Document Number = 10000010 date = 2010.10.12 Item number= 00000010 Quantity = 1 Net Amount = 100 />
    <sales Order type = ZZ45 Sales Document Number = 10000011 date = 2010.10.12 Item number= 00000010 Quantity = 1 Net Amount = 110 />
    <sales Order type = ZZ45 Sales Document Number = 100000102date = 2010.10.12 Item number= 00000010 Quantity = 1 Net Amount = 120 />
    From this example, I need to create 3 IDocs for these 3 sales orders. Needless to say here, the content above is passes as a single IDoc.
    Looking forward for your suggestions.
    Thanks and Regards,
    Bipen

  • Multiple key items for a single data item?

    hi all. In my application multiple key items may have the same data item, such as:
    key data
    1 abcd
    1 abcd
    1 abcd
    2 efg
    2 efg
    but it may lead to a lot of duplicate storage spaces. I can use two dbs by giving each data item an ID, just like:
    db1
    key data
    1 1
    1 1
    1 1
    2 2
    2 2
    db2
    key data
    1 abcd
    2 efg
    is there any other simple solutions? thanks in advance

    Hello,
    This sounds like a data modeling question. I think your solution is reasonable, though you'll get a lot of good ideas and info if you read up on normalization for relational schemas - there's a ton of literature out there. Just do a search for "database normalization".
    Normalization is intended to eliminate redundancy and also avoid various update anomalies.
    Warm regards.
    ashok

  • Single line item for multiple open items in app

    we have three open items   to vendor x  100001000010000
    But we are paying to vendor only 10000100005000
    At the time of entry system showing
    Vendor account 25000
                 To    Bank account       20000
                 To    Bank account         5000(here we paying partial amount of 3rd open item)
    But my Clint requirement is system should post only single line item for bank account 25000 for reconcilation purpose
    Would you please suggest where we need to do customization?

    Hi Anantha,
    How are you making the payment which transaction you are using ? Both Manual & Automatic payment
    the suggested solution is go for split payment terms. configure using OBB8 and OBB9
    Hope this helps
    pbb

  • 3 buttons and 2 select lists in a single line

    Hi,
    I have an application which has 3 region buttons ( say, b_1, b_2, b_3) and 2 selects lists (say, sl_1, sl_2). I want to display all the five buttons and items in a single line in the following order:
    b_1 b_2 sl_1 b_3 sl_2
    I have set Begin on new line = no
    and Begin on new field = no, for both the two select lists.
    But it does not seem to work.
    Do anyone have any idea, how to sort out this issue?
    A quick reply would really be appreciated.
    Regards,
    AM

    Hi Vikas,
    Please have a look into the application at
    http://apex.oracle.com/pls/otn/f?p=34363:1:6206621111100168:::::
    I have created two select lists P1_X and P1_Y. These items are hidden on page load event. When the associated button is clicked the list should appear on the page.
    Written the following code in 'Pre element text' for each of the items:
    P1_X :: <input type="button" value="X" onclick="f_X();" class="t17Button" />
    P1_Y:: <input type="button" value="Y" onclick="f_Y();" class="t17Button" />
    Where, f_X() and f_Y() are displaying the select lists.
    As you can see, the select lists are appearing just below the html buttons, which I want side by side with the buttons.
    Could you please figure out the issue?
    If you want I can share my login details.
    Regards,
    AM

  • Transaction ME9E - Printing Single Line Schedule Agreement

    We are trying to print a line item that has a different delivery address than that of the header.  This is a single line document and the address is different.  The problem we have is when the scheduling agreements has only one part number and the delivery address for the part number is different then the default company/plant address.  This process is predominant when you have subcontract process.  We are unable to print the address at the line level for a single line document but system does this correctly and prints this delivery address when there are two part numbers in scheduling agreement.  How can we get this to work for us for single item documents?  This is critical for our end user.  We need to have the system access the text element ITEM_DELADDRESS in the MAIN window and not produce the address in the HEADER_DELADDRESS element in the CONSGNEE window.

    Hello,
    There are two possible status for schedule lines:
            1- Fixed schedule lines : System doesn't change these schedule lines upon MRP run
            2 Non fixed schedule lines : during MRP run, system deletes these schedule lines and creates new ones.
    To make a schedule line fixed there are two possibilities:
                        1- User set manually the indicator fixed schedule line in transaction ME38
                        2- Schedule line lies within the firm period.
    The firm period :
    For each schedule agreement you can define the firm zone : 
    1- ME32L change schedule agreement
    2- select the item then in toolbar> Item> More function-->additional data  Scheduling control
    enter the firm zone "number of days".
    If schedule line lies whithin this zone system will kepp it and create new line for additional requirement
    Best Regards

Maybe you are looking for