Customer in PSG from FI line item

Hi,
we need to get customer in PSG while creating an invoice in F-02, FB01,FB70...
For example, the 1st line item: posting key 01, customer XXXXXX, the 2nd line item: posting key 50, revenue account XXXXXX.
In the second line item we have PSG where have to populate the customer number from the previous line item.
I think we can use enhancement COPA0005, exit EXIT_SAPLKEII_001. But I don't know which tables or structures should we use.
Can we use ACCIT and ACCIT_PA, because I think that BSEG will not help?
Thanks in advance,
Jasmina.
EDIT: Problem solved via ACCIT
Edited by: Jasmina Miteva on Feb 3, 2010 2:24 PM

DO the config for AP -AR
IMG>Fi>AP-AR>Customer/vendor acounts>line items> Define additional fields for line item display
Table-BKPF, Field-GRPID
And for GL do the same
Thanks
Ron

Similar Messages

  • Customer Invoicing Printing First page line items blank

    Hi Everybody,
    Customer Invoicing Printing First page line items blank and it is printing it from the second page.  Please help me on this.
    Regards,
    Md Ziauddin.

    item No    Material No   Descripition  Putaway Bin   SUT  Vendor Batch  LE QTY  COA   Base UOM
    this how my line item should like, i am able to print only single line item for each item no.
    if i have 5 pallets for single line item, i want the same line item to be printed 5 times and this is what i am looking at

  • Copy Trading Partner to Asset line items from Vendor line items in F-90

    Dear Friends,
    I want to copy trading partner field from Vendor line item to other line items like Asset and Tax in T.code - F-90
    Client want to use Transaction type - 100
    Is it feasible?
    Thanks in advance

    try:
    1) substitution - tcode OBBH
    or
    2) open FI - menu FIBF tcode BF44
        - event 1120 or 1130
    A.

  • Prevent user from view line item details in KSB1 report

    Hi,
    how to restricting user from view line item details by double-click on it or highlight an item click on Document?
    Regards,
    Kelvin

    Hi,
    This issue got resolved.
    SAP suggested to execute the program "FAGL_CORR_0001" for company code wise.
    In ECC 5.00 from support pack 10 onwards two new fields has been added to table FAGLFLEXA.  (earlier we are on support pack 9, recently we applied the latest support pack)
    If we can execute the above program FAGL_CORR_0001, the two new fields will filled with relevant data and then we can able to use drill down option.
    This is for your information.
    Message was edited by:
            prasad naga

  • Can I summarize data from a line item ODS into a higher summary level?

    Hello friends,
    1) Can I summarize data from a line item ODS into a high summary level and store the results into another ODS?  If so, can you discuss the approach at a high level...i.e. whether or not a start up routine is needed?
    2) Once data is stored in an ODS, can a routine be written to update specific fields in the ODS after the data has already been loaded into the ODS.  As a simple example, is it possible to write a routine that simply multiplies "Field A" by "Field B" and stores the result in the ODS as "Field C"?  (Most of the time I would do this calculation in Bex, but in this one case, I have the need to calculate and store "Field C" in the ODS.)
    Thank you.

    1.- Yes, you can sumarize data in other ODS. Connect both ODS and use aditions for key figures intead of overwriting.
    2.- You can do it in load time, in update rules, is not necesary to wait for ODS was loaded

  • Not able to create DIR from PR line Item

    Dear Friends,
    I have Cretaed Doc Type "CON" and entered "EBAN - Purchase Req. Item" in the object link and in Create Document I have mentioned " 1 - Create simple document".
    When I try to create a DIR from PR Line Item, there is no option or a logo in the Popup  where I can click and create DIR from The Object PR Line Item.
      I get the create Document icon in WBS element for same document type.
    Can anybody guide me the if I have missed any config.
    With Warm Regards
    Mangesh Pande
    Edited by: MANGESH PANDE on May 23, 2011 11:33 AM

    Screen calling is controlled by MM module -
    check
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=68747578
    I dont think its possible to create document from PR

  • Copy texts from parent line item to substituted line item in Sales order

    Hi Guys,
    I want to copy texts from parent line item to substituted line item in a sales order where the material is substituted by SCM.Can you guide me which FM can be used in which user exit or any new suggestion?
    Thanks
    Swathi

    Hi,
    do you want to set long text or just short one? Obviously you can not use this BADI to set different fields than are available in the method interface. But I found thread with a similar problem here on SDN.
    Re: Automatic Population of Texts during Sales Order Processing
    If you call subroutine on commit, it should be working.

  • Item Text in FBL3N copied automatically from MIRO line item

    All,
    When a purchase order is created to a cost centre, G/L account and cost centre are entered manually. Often Purchase Order only uses short text field as reference, ie, Material is not mandatory.
    MIRO process is then done for PO after GR, and the PO text (short text) is copied into MIRO.
    G/L account line items can be displayed in FBL3N, detailing the document numbers related to the invoice/PO once posted.
    The field "Text" is defaulted as blank, even if created with reference to a PO which contains text. Does anybody know of a way to automate process so that the text field is populated with the text from MIRO.
    Thanks.

    Hi Jacob,
    You can transfer what ever the data from the MIRO to Accounting document using BTE.
    Goto SE37 - SAMPLE_PROCESS_00001120 (this is the standard BTE for account document posting). copy this with ZSAMPLE_PROCESS_00001120.
    In this you cannot modify the tables t_bkpf and t_bseg. you can use t_bkpfsub and t_bsegsub.
    For this a little bit config is required.
    1) Goto t-code FIBF-> settings->Products->... of a customer.
    Click new entries -> product name- ZPRODUCT , text - any text, RFC dest - ZSAMPLE_PROCESS_00001120, A - enable check box -> save.
    2) Go back -> settings -> P/S Modules -> ... of a customer.
    Click new entries -> event - 00001120, Product - ZPRODUCT, Ctr - Country key, Appl - FI-FI, Function module - ZSAMPLE_PROCESS_00001120 -> save.
    3) Go back -> settings -> Process Modules -> ... of a customer.
    Click new entries ->Process - 00001120, Ctr - Country key, Appl - FI-FI, Func module - ZSAMPLE_PROCESS_00001120, Product - ZPRODUCT -> save.
    Now goto SE37->ZSAMPLE_PROCESS_00001120
    logic.
    loop at t_bkpf.
    loop at t_bkpfsub.
    move 'your value' to t_bkpfsub-value.
    modify t_bkpfsub index sy-tabix.
    endloop.
    endloop.
    loop at t_bseg.
    loop at t_bsegsub.
    move 'your value' to t_bsegsub-value.
    modify t_bsegsub index sy-tabix.
    endloop.
    endloop.
    ''your value' is imported value.
    no need to worry abt modified values. after execution of BTE it will go to standard prog and copy the values of t_bkpfsub] and t_bsegsub[ to SAP tables. so pls be perfect with code. SAP wouldn't allow change the values in t_bkpf] and t_bseg[ values. you can add your own fields in bkpf_subst and bseg_subst.
    But make sure that, pls write the code in FM with conditions like cocode doc type etc. bcz this BTE is very important. it will executes before acc doc is posted.if you do not specify any conditions it will execute for all co codes in acc doc. it will affect business. you can debug this BTE. put a break point in FM and see the values while post the MIRO.
    once import the values free memory id and clear the variables what ever u used in BTE.
    Best Regards,
    Mohan.

  • 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.

  • Customer Purchase Order Number in line item and F.27

    Hi Experts.
    I was just wondering if its possible to populate customer purchase order number (entered in sales order) in line item, so that I can use in customer statement in F.27.
    The requirement is to populate customer purchase order number in customer statement (F.27) which is sent to the customer at month end.
    Is there a some other better way to do, please advice.
    Thanks in advance
    Best Regards
    Jen

    Based on my experience std feature from SD-FI . Depending on the SD Billing config which can be by delivery(VTFL) or sales order(VTFA). You can assign options of A: Cust PO No. B Sales order no. C Delivery no. D External delivery no.  E Actual invoice number to available header fields of Assignment No. or Reference No. Try it out

  • Customer aging report-needs the line items behind it

    We have created a Z report for customer aging report,is it feasible to get the drilldown against each aging bucket.I.e to call the FBL5n report to be displayed to see the line items behind each aging bucket.
    Regards
    Rekha

    If standard report does not suffice your requirement, then create your own.
    FOR vendor USE K in transaction code instead of D.
    Hello,
    The following example I have given is for customers.
    The only difference is in transaction codes. For customer you go to FDI1, for vendor you go to FKI1 (reports).
    For Customer you go to FDI4, for vendor you go to FKI4 for forms.
    Remaining all are the same.
    Hello,
    Go to transaction code FDI4
    Select Form Type RFFRRD20 Line item analysis
    Give your form name and description
    Structure (Two axis) - as defaulted
    Click on Create
    You will have lead column
    Delete the rows 2, 3 and 4
    Double click on column 1
    Enter the customer numbers from 1 to 999999
    First column double click (A)
    Slelect following values
    Due date analysis 1
    Days for net due date 0 to 30
    Give the short name, medium name and long text for the column.
    Repeat this step in next columns like 31 to 60, 61 to 90, 91 to 120 and 121 to 99999 days etc in other columns and select due date analysis 1. (B,C,D,E)
    Create one more column by way of formula. To create a new column you need to double click on blue line. Put formula add all five columns you have created above. (F = ABCDE)
    You prepare one more column with
    Due date analysis 2 (G)
    Now you prepare one more column add (F+G) = This will be total open items = over due and not due.
    Now go to FDI1 and prepare a report - assign the form created in FDI4 to the report.
    Characteristics you need to select are
    Account Type (Select Account Type as D for customers)
    Currency
    Customer
    Document Type
    Special G/L Ind
    Company Code
    Change the output types and options according to your requirement.
    Refer FDI2 and FDI3 for other standard reports created.
    Refer FDI5 and FDI6 for other standard forms created.
    Save your report and execute.
    From there you can put the cursor on customer number and from the menu goto -> line items then it will go for each line item wise..
    Regards,
    Nauma

  • Customer/Vendor A/C with line item details and with opening and closing Bal

    Dear Sir / Madam,
    Is it possible to have a customer and / or vendor Sub-Ledger account-
    with line item details and with opening and closing balance detail
    for a particular period.?
    Regards
    Chirag Shah
    I thank for the given below thread which has solved the same problem for G/L Account
    Re: Report to get the ledger printout with opening balances

    Hello Srinujalleda,
    Thanks for your precious time.
    I tried the referred T-Code
    But this report is not showing Opening balance, closing balance detail.
    It only gives transactions during the specified posting period and total of it.
    Please guide me further in case if I need to give proper input at selection screen or elsewhere.
    Client Requires Report in a fashion
    Opening Balance as on Date
    + / -  Transactions during the period
    = Closing Balance as on date
    As that of appearing for G/L Account by S_ALR_87012311
    Thanks once again & Regards
    Chirag Shah

  • One line item in po from multiple line items of Purchase Requisition

    Can we merge multiple line items for same item from different different purchase requisition into a single line item in Purchase Order ?
    For example, say department A and B made two different purchase requisition for 1 number of computer system. Now the purchaser viewed these requisitions and he want to make a purchase order to party X for 2 no of computer system. Now how he can do this in Oracle Purchasing.
    Regards
    Edited by: Saroj.Dash on May 31, 2010 6:02 AM

    Hi !
    thanx to all for your responses.
    But, let me explain better.
    Say Dept A raises an Requisition (Req No: 1 ) for 5 Chairs. In the same time Dept. B raises requisition (req no: 2 ) for 10 chairs.
    Now Purchase Dept. wants to make an PO to procure chair with respective to these 2 requisitions i.e. req no 1 from dept A and req no 2 from Dept B.
    Now my query is that, can the purchase dept. prepare a PO with 1 line item only i.e. for chair (5+10) of 15 numbers from these requisitions of dept A and B ?
    If yes then how ?
    Regards

  • Sales order Userexit to copy item text from one line item to other

    Hi Gurus,
                 I have an urgent issue. Based on item category in sales order, for one line item, I am getting item text. Now I have to copy same item text to other line item.
    Till now I tried save_document_prep & save_document to
    build object tdname & fetch all tdid from table stxh for object 'VBBP'.
    After that READ_TEXT and SAVE_TEXT function module.
    But during creation of sales order I am not able to get any value in STXH table for created sales order. Now I want to know from which internal table I can get item text ?  (some internal table should be there like xvbap to get text per line item)
    Or is there any other way to do this... Please help.
    Points will be rewarded.
    Thanks,

    Hi ,
    try something like this .
            l_name = ls_vbap-vbeln.
            IF l_name IS INITIAL.
              l_name = 'XXXXXXXXXX'.
            ENDIF.
            CONCATENATE l_name ls_vbap-posnr INTO l_name.
            CALL FUNCTION 'READ_TEXT'
                name            = l_name
    Regards
    Prabhu

  • Customer Clearing with additional open line item

    Dear All,
    Pl. consider the following scenario:
    A customer open line item is created wilth Billing Document/outgoing invoice. Alongwith this one more open line item is generated. Eg Accrued Sales Commission. Now, we need to clear this line item (with Accrued Sales Commission) alongwith the customer whenever the payment is received. We tried to look for enhancement/user exit, but  could not fine one.
    Can you pl. suggest the solution in SAP for the above scenario?
    Thanks & Regards,
    Raja

    Hi,
    If you manually clear customer open items then:
    1) Execute t-code F-32;
    2) Enter customer account, company code and other required fields;
    3) Press "process open items" button;
    4) Press "Res. items" tab;
    5) Select line items that you want to clear;
    6) Simulate it;
    7) Post the document;
    Residual payment  means it clears the  invoce amount for incoming payment.and ceate  line time for remaing outstanding amount.
    If you select "Part payment" tab then the payments that can be posted to an account without open items being cleared.orginal open items (credit invoice amount)and partly payment remains in open item category.
    Cheers!
    Martins

Maybe you are looking for