Open quantities of a line item in one row

Hi,
i have a scenario related to open quantity for a line item for the schedule line.
i have developed a report and the data is coming perfect accordingly. Now I need to manipulate the data based on some scenario in my final table before displaying it in ALV.
A Sales Order has 5 line item (10, 20, 30, 40, 50).
10 & 20 are confirmed and their qty. on delivery is 0.
but 30, 40 and 50 are On Delivery status as they have qty still on delivery.
line item  sch. line    status                 open qty    Conf qty.   On del. qty.
10             1          Confirmed            2                2             0
20         1          Confirmed            2                 2                 0
30             1          On Delivery          3                 3                 3
40         1          On Delivery          2                2                  2
50         1          On Delivery          1                1                  1
now ' If a line item has all of it's quantity on an Open Delivery only show one line in the report ( lines 30, 40, 50)'
also the data related to these line items should also be shown in one line.
I have many fields in my table, the above fields are in between the table.               
Any help will be appreciated.
Thanks               
Lalit
Moderator Message: Spec-dumping is not allowed.
Edited by: kishan P on Dec 10, 2010 3:17 PM

Hai
Whatever u can use the t.code in that u maintain Header text in header level in the document aslo this is very useful.
Regards
Madhu I

Similar Messages

  • How to copy line items from one expense report to the next

    I travel to the same project/destination every week so in PR05, I was able to just copy the previous expense report for the new week and edit the expense values. Now, when I book travel, the air line booking starts a new expense report entry.
    Is there a way to copy the employee-paid expenses to the GetThere-generated trip entry expense report, i.e. just copy the line items from one expense report to another that already exists. I guess that would be a merge function.

    Hi Tom,
    Here are two alternative solutions:
    Alternative 1:
    If you copy the expense report before you book the services (flight, hotel …)
    in GetThere, then the airline or hotel bookings will not start a new expense
    report but will be assigned to the copied expense report.
    Alternative 2:
    This alternative is a bit laborious.
    Shift the start date and end date of the expense
    report  that was automatically created by
    your flight booking for next week (e.g. Calendar Week (CW)  47) to the week after next week (e.g. CW 48).
    Copy the expense report of the previous week (e.g.
    46)
    Afterwards open the expense report that you
    moved to CW 48 and click on the tab strip itinerary
    Now assign the bookings (flight, hotel …) to the
    expense report of CW 47 by clicking on the button assign to existing trip
    Later delete the expense report in CW 48
    Get back to me if you have any questions concerning the alternatives outlined
    above.
    Note:
    These solution alternatives are only available for customes using HTML5 UIs.

  • Open field for customer line item

    Hi Guru
      I have some problem about open field for customer line item  post with posting key 09 and special GL , I open field at posting key 09 but the field still hidden  . How I can open field for used . Thank you

    Dear,
    Use transaction FBL5N and select Special G/L Transactions only and execute.....here bring posting key and filter the posting with 09.
    REgards,
    Chintan Joshi

  • Reposting of Planned Line Items from One Cost Ctr to another

    Hello SAP Gurus,
    Can you tell me the process hoe We can repost planned line items from one coct center to another ?

    Hi,
    You can use Transaction code KP06 to update the changes to the plan data for the Cost Centers. There is no separate transaction code to repost plan data for Cost Centers.
    Thanks
    Murali.

  • Combining quantities of Two line items while calculating Free goods qty

    Hi,
    Scenario is: On every sales of 50 pieces( 50 pieces can be of different material like Mat A and Mat B) in single sales order,
    5 pieces ( of Material A) should be given as Free goods.
    Means: I want to total the quantities of all the line item before calculation of the Free goods.
    Is it possible in SAP if yes, how to do it?
    Regards
    Gaurav

    Hi,
    I have one solution but I have not tried it. You can try.
    What you can do is to group all the materials for which you want to give free goods
    Add new field Material group from field catalogue to Condition table - create new condition table
    create access seq and put this table in it, put acc. seq in cond. type, assign it to free goods determination
    Create condition record, enter this material group and qty., I guess here system will total the qty of all the materials that you will enter in sales order assuming you have assigned mat. group in respective material master
    Try this and post your feedback
    If it works, it will be good for all friends having similar req.
    regards,
    Sagar

  • Line items transfter one gl to another gl

    Dear Expers,
    Please guide me,   i have one gl code without Openitem management i have posted some entries also, now i want to activate Open item management, i have tried to activate through program but it is telling line items are there.
    how to transfter that line items to antother gl code and after activation again i need that line items in the same gl code.
    how to process,  please help me.
    Regards
    chandu

    Hello,
    SAP recommends to set item management for an account in the standard    
    way as follows:                                                                               
    Create a new account with the correct account assignment. Post your     
    items to the new account. If you want to use the original account       
    number, you must bring the account balance to zero, change the account  
    assignment, and repost the items. You can remove the old items by       
    archiving the documents.                                                                               
    Customers are encouraged to follow the mentioned message in the popup   
    box to convert their account to OI mgt.                                                                               
    Up to release 45A, there was a report RFSEPA02 to switch on open item   
    management. With this report you could set  the flag open items         
    management for documents posted before the change in the master record.                                                                               
    However, this report is no longer supported as of release 45A as the SAP note   
    175960 describes. Nevertheless, you can get this functionality following
    the steps described in the note. This is valid for your case if        
    you are on ECC 6.0.                                                     
    So, if you still want to use this program to convert your accounts      
    and do not mind the fact that the same is no longer supported by SAP,   
    this action will be at your own responsability.                                                                               
    Please, for further information, refer to the SAP note 175960.                                                                               
    FAGL_ACTIVATE_OP is available from ECC6.0 / Enhancement Package 3. This transaction can do the work for you.
    REgards,
    REnan

  • Transfer of Vendor Line Items from One Co CD to another Co Cd  -- urgent

    Hi Peers
    We have a situation wherein we are going for a new company code from the existing company code. so we have to recreate all the customers & Vendor  master data. Is there any T.Code or Program by which we can create the customer & vendor master data. 
    My second query is, is there any T.Code or other program by which, i can copy line item wise transactions of the existing vendor to the new vendor in the new company code. Like wise customer line item details as well.
    Note:  The Chart of accounts of both the new co. cd and the old co. cd is the same.
    Its a bit urgent
    Expecting your reply ASAP.
    Regards
    Rajaram

    Hello
    Data migration from one company code to other company code relates to 2 objects.
    First ensure master data is copied to new company code.
    Copying master data is simple and in most cases automatic.
    It is merely extending data  from old company code to new company code.
    Now comes thetransaction data.
    You have 2 choices. One is an interface program, which performs both download from old CC and upload to new CC.
    The second is LSMW.You would require 2 programs. One is data download and the other is data upload program.
    Mapping data fields is not an issue because, bothe are SAP systems and presumably within the same client.
    Lastly, you need an ABAPer to work on this. Sit and resolve.
    Reg
    assign points if useful

  • Production order from sales order with multiple line item(for one material)

    Dear Gurus,
    I am working in MTO scenarios. If there is several line item in a sales order for one material, multiple production order( same as no. of sales order line item) is getting created against each of the line item.My requirement is,since the material code is same in each line item and sales order is one, one production order should be generated for all line item. please tell me how to do it.
    (Here for one material, multiple line item is required for some specific reason)
    Regards
    Rajib Pathak

    Hi,
    This is not possible.
    In Std SAP will create one production order for one sales order. The stock is also allocated to thet particular sales order only. Because each and every sales order may vary in any one of the parameters. Considering this, SAP has designed like this.
    Regards,
    V. Suresh

  • Display Totol Stock & Open Order Quantity for line item while creating SO

    Dear Experts,
    We have requiremet that while creating SO (VA01) for each item it sould show the message (Popup Screen) about Total Stock & Total Open Oder quantity for that material when user enters the material, plant & storage location in line item.
    Please let me know your ideas in detail if anyone knows about this....
    Thanks in Advance
    Best Regards
    Venkatesh

    Dear Venkatesh
    It is a standard if you create sale order, whatever stock is available in MMBE, it will show during availability check but additionally if you want to see open orders, then you have to go for additional enhancement.
    thanks
    G. Lakshmipathi

  • SO Multiple Line Items but one line item in billing

    Hi Experts,
    I have a requirement from a client whereby they want to consolidate the items in the sales order and create billing as one line item.
    Example: in sales order there are 5 line items (user need to have separate line items due to PR need to be generated for different vendors via 3rd party).
    Line item 10: Miscellaneous charges - $20.00
    Line item 20: Miscellaneous charges - $20.00
    Line item 30: Miscellaneous charges - $20.00
    Line item 40: Miscellaneous charges - $20.00
    Line item 50: Miscellaneous charges - $20.00
    In standard SAP, when the user generates billing document - the billing will show 5 line items. However user wants to consolidate them into 1 single line item  i.e. Miscellaneous charges - $100.00
    Please advice how can this be done.
    Rgds

    Hi,
    Go to Tcode : VTFL.
    There select your  Billing Type with respect to Delivery type. e.g F1 --- LF or F2 -
    LF.
    Select thet option and goto Items.
    There at item level , select the item category of your materials. There In Details :
    Maintain Billing Quantity : H as Cumulity Batch Quantity.
    Let me know weather is has solved ur problem or not.
    Thanks.

  • Create multiple line item from one line item in BizTalk mapping

    Hi,
    In one of our new requirement we need to create 3 line items for every line item we are receiving with same value but in the below format.
    Sample Input:
    <EmpId>1234</EmpId><Name>ABCD></Name><Dept>YYY</Dept><Year>2014</Year><Desc1>D1</Desc1><Desc2>D2</Desc2><Desc3>D3</Desc3><Valid>Yes</Valid>
    Sample Output in Flatfile:
    1234,ABCD,,,D1,Yes
    1234,ABCD,YYY,,D2,Yes
    1234,ABCD,YYY,2014,D3,Yes
    Can you Pls help me in creating the mapping in above format.
    Thanks in advance,
    Regards,
    Elango
    Chennai.
    Mark As Answer or Vote As Helpful if My Reply Does.

    Elango,
    Before I explain about the solution, make sure when you give inputs/requirement in forums for us to help you, pay attention.
    The input instance you have shown
    Doesn’t have a root element
    Has a typo - <Name>ABCD></Name> -Element has invalid “>” character.
    This makes us to spend more time in cleansing your input and then find out solution.
    We are here to help you, so help us to help you better.
    Anyway, coming to the solution
    You have to create map with a structure similar to the below shown image:
    Here destination schema is a flat file schema with comma-delimited fields.
    If you look into the destination schema, it look similar to your input schema, but there is just one “Desc” field instead of “Desc1”, “Desc2”, “Desc3” in your source schema. In destination, the
    record has to repeat with same values for rest of the fields. And for “Desc” in destination schema will have corresponding index value of “Desc1” or “Desc2” or “Desc3” from source. i.e. first node of destination will have value of “Desc1” from source to “Desc”
    field in destination, second node of destination will have value of “Desc2” from source to “Desc” field in destination and third node of destination will have value of “Desc3” from source to “Desc” field in destination.
    I use XSLT in the map, with recursive template which will repeat for 3 times. I have given comment in the XSLT for your benefit.
    <?xml version="1.0" encoding="UTF-16"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:var="http://schemas.microsoft.com/BizTalk/2003/var" exclude-result-prefixes="msxsl var" version="1.0">
    <xsl:output omit-xml-declaration="yes" method="xml" version="1.0" />
    <xsl:template match="/">
    <xsl:apply-templates select="/Root" />
    </xsl:template>
    <xsl:template match="/Root">
    <Record>
    <!--Call the template with index and counter of 3. There times as you wanted for every item-->
    <xsl:call-template name="LintItemTemp">
    <xsl:with-param name="i">1</xsl:with-param>
    <xsl:with-param name="count">3</xsl:with-param>
    </xsl:call-template>
    </Record>
    </xsl:template>
    <xsl:template name="LintItemTemp">
    <xsl:param name="i" />
    <xsl:param name="count" />
    <Details>
    <EmpId>
    <xsl:value-of select="EmpId/text()" />
    </EmpId>
    <Name>
    <xsl:value-of select="Name/text()" />
    </Name>
    <Dept>
    <xsl:value-of select="Dept/text()" />
    </Dept>
    <Year>
    <xsl:value-of select="Year/text()" />
    </Year>
    <!--as in your output instance, Lineitem1 will have value of Desc1-->
    <xsl:if test ="($i =1)">
    <Desc>
    <xsl:value-of select="Desc1/text()" />
    </Desc>
    </xsl:if>
    <!--as in your output instance, Lineitem2 will have value of Desc3-->
    <xsl:if test ="($i =2)">
    <Desc>
    <xsl:value-of select="Desc2/text()" />
    </Desc>
    </xsl:if>
    <!--as in your output instance, Lineitem3 will have value of Desc3-->
    <xsl:if test ="($i =3)">
    <Desc>
    <xsl:value-of select="Desc3/text()" />
    </Desc>
    </xsl:if>
    <Valid>
    <xsl:value-of select="Valid/text()" />
    </Valid>
    <xsl:value-of select="./text()" />
    </Details>
    <!--Recursive template, i.e. calling the template again for 3 times as your requirement-->
    <xsl:if test="$i &lt; $count">
    <xsl:call-template name="LintItemTemp">
    <xsl:with-param name="i">
    <xsl:value-of select="$i + 1"/>
    </xsl:with-param>
    <xsl:with-param name="count">
    <xsl:value-of select="$count"/>
    </xsl:with-param>
    </xsl:call-template>
    </xsl:if>
    </xsl:template>
    </xsl:stylesheet>
    So the input and output will look like the below:
    You can change the schema/XSLT and its corresponding namespaces as you want.
    When the above shown output is send to a custom-pipeline with flat file assembler in send port will output the above shown output to the flat-file structure as you wanted. Again, I repeat you
    to use flat-file file schema with comma-delimited fields as the destination schema in the above shown map for you to get the flat-file output as you needed.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Multiple Line Items in One Service Entry Sheet

    Dear All,
    Can we capture multiple line Items of same PO in one Service Entry Sheet
    If yes,Please can you give some steps to do the same.
    Regards
    Murali raju

    Hello,
    We need to create a service entry sheet seperately for every line items of the PO.But you can create Service entry sheets for multiple lines with in that Line item.
    Ex. if u have 2 line item in the PO,
    Every line item of the PO will have Multiple services in the Item details..So these Multiple service number Entries shall be treated in the same Service Entry sheet. But not the 2 nd Line itme ot the Purchase order as it will have another set of Service entries.
    Please cme back if u hv queries..
    Mug

  • Combining all line items in one output of material Document...

    HI All,
    We have created one new output type for the material document.
    If we have multiple line items in the material document, the output must be assigned once in the document. But In our case it is assigning for each of the line item. Can any one help how to handle this issue.
    Regards
    Sukant
    Edited by: sukanta patro Chinari on Jan 7, 2010 2:33 AM

    Hi,
    The issue solved. Needed to add some codes in the routine to restrict multiple assignments. For reference take the help of Routine number 173.
    Regards
    Sukant

  • FDM_COLL01 (Cust Acct-Receivables) Open Bal FBL5N (Cust Line Item)

    I have a customer with open balance from FDM_COLL01 (Customer Acct - Process Receivables) 13,533.33. But FBL5N (Customer Line Item Display) has open item of 81,200. The AR data is sent to FSCM daily on batch jobs. What factors can contribute to the difference?
    Thanks in advance.
    Stephen

    I would check the line items.
    There will be missing line items, I would check them.
    Have you got any noted items, special GL items, items that were cleared in the future?
    Also have you activated Head Office display as per Enhancement Package 4 - that could be a reason as well.

  • FI Open Vendor and Customer Line item

    Dear Experts,
    Do we have to migrate the Tax code in the Vendor and Customer Line Items during data migration?
    I read somewhere that is it not necessary to do so.
    Please advise.
    Thank you.

    Hi ,
         It depends on the legal enviroment and sometimes on the settings used in your system. It is a matter of whether the Tax code information is needed in any circumstance that could arise subsequent to migration.
    Examples where you must migrate the tax codes:-
         i) Deferred VAT is used.
         ii) Prepayments with Gross Display.
        iii) Prompt payment discounts are VAT relevant.
    Kind regards

Maybe you are looking for

  • Why is my portable HDD no longer readable?

    My WD portable HDD is no longer readable on my computer. Whenever I connect it, an error message pops up saying "The disk you inserted was not readable by this computer". It was working fine this morning and I've never had any issues with it before.

  • Primary key violation

    Hi, Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production PL/SQL Release 11.2.0.1.0 - Production CORE 11.2.0.1.0 Production TNS for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production NLSRTL Version 11.2.0.1.0 - Productio

  • How to know which CS4 serial number is installed on my computer ?

    Hi, Our company has several CS4 software packages installed on several Windows computers. Some have been purchased from a store, others have been downloaded from the Adobe webstore. Now I'd like to upgrade to CS6 on one of the computers; for this, I

  • Copy paste a expression operator.

    hi all, i have a exp operator in a mapping ,i have created 200 output variables(manually) in the same mapping i have a req to create a same exp operator( this for performing union operator) now is there any way with which i can copy the exp i have al

  • Oracle fusion Middleware 11g -- forms issue while hitting url

    Hi , we are facing one issue while hitting the url mentioned below http://scrmskr.apac.nsroot.net:7801/forms/html/CRMS_KR.htm FRM-92052:fatal error: cannot connect to the server at URL /forms/lservlet here in the above CRMS_KR.htm we have hard-coded