RWIN to automatically add line items in FI document

Hi all!
I wish to know if is possible to automatically add line items in a FI document via RWIN and how.
My final goal is the following:
A user try to create an FI document with FB01 transaction.
He/She insert the appropriate line items manually.
He/She press the "Simulation" button
In simulation screen there are user's line items, PLUS some more that are necessary in some circumstances.
Is it possible to achieve this scenario?

Hi Marinos,
i think it's  possible via table <b>TRWPR</b> and an
appropriate function module but it's hold for a modification by SAP.
other possible solutions:
- user exit ?
- interface ( e.g. Intranet-appl. / excel)
  and posting via RFBIBL00 / BAPI
regards Andreas

Similar Messages

  • Automatically add line-items to Sales order

    Hello,
    Our client needs us to add line items to sales orders. The requirement is such that, when the users enter a material on a line item, they wish to see few more materials automatically added as new line items -- item category to be maintained as "Free" items. This appears similar to automatically getting BOM-sub-items for materials which have BOMs maintained. The client is not willing to maintain BOMs for materials in question. They instead have asked us to maintain sub-item materials in a Z-table and then fetch those to populate the subsequent line-items on the sales order.
    So far, we have tried to fiddle around with the XVBAK and XVBAP internal tables in sales exit (MV45AFZZ) and also tried to use BAPI within the same exit. Both methods do not work.
    Could you please guide us ? Thank you.
    Regards,

    Hi,
    I think you can try with product proposal(Item Proposal). T.Code:VA51.
    Using this one can create list of items to be proposed at the time sales order processing.
    Item proposal contains list of items with or without default quantities those were frequently ordered by the customer. You can create any no of items in an Item proposal.Like wise you can create any no.of item proposals.
    But,You can assign only one item proposal per customer in sales tab of the CMR.So that when ever you are creating order for that customer you can access those materials which are listed in an Item proposal completely or selectively,with or without default quantities.
    The items which are proposed from an Item proposal are always changeable.
    Item proposal makes sales order processing simple and fast.
    Only the thing here is it will not automatically explode like in case of BOM.You have to manually select those items from an item proposal.
    Regards,
    Revan
    Edited by: REVAN on Dec 23, 2008 10:55 AM

  • Automatically add line-items to sales orders

    Hello,
    Our client needs us to add line items to sales orders. The requirement is such that, when the users enter a material on a line item, they wish to see few more materials automatically added as new line items -- item category to be maintained as "Free" items. This appears similar to automatically getting BOM-sub-items for materials which have BOMs maintained. The client is not willing to maintain BOMs for materials in question. They instead have asked us to maintain sub-item materials in a Z-table and then fetch those to populate the subsequent line-items on the sales order.
    So far, we have tried to fiddle around with the XVBAK and XVBAP internal tables in sales exit (MV45AFZZ) and also tried to use BAPI within the same exit. Both methods do not work.
    Could you please guide us ? Thank you.
    Regards,

    Ist method:
    Maintain one Ztable with the fields of Material and sub materials.
    write BDC to create order,before entering the material  number check if material is existed in Ztable or not.
    If it exist take that material and added as a another line item.
    if not exist create like normal line item.
    2 nd method:
    Ask your MM functional consultant to maintain supression of materials concept.

  • How To Add Line Items to Workflow Document Template

    Hi Gurus,
    ive made a Workflow which has few containers referencing VBKPF, VBSEGS, and constructed two methods which one of them gets the table VBKPF data into MyStructure and the second the data into MyStructure2.
    Inside of the workflow i made two container operations and assigned those two methods to VBKPF and VBSEGS containers.
    The Problem is that VBSEGS is a (multi) line item table and it doesnt show me the data inside of the document template.
    What could be the solution for this scenario
    Thanks, Points for Reward

    Hi,
    i checked the swo1 methods and it looks good. I didnt change the binding that ive implemented, and some values are getting showed, but still they do not correspond to the BO element (concerning Acct.Doc.Nr)
    My binding is:
    Display Document Task:
    #######Workflow -> Step Display Parked Doc
    **************BO FIPP -> &_WI_OBJECT_ID&
    #######Workflow <- Step Display Parked Doc
    **************Empty
    Document Template:
    #######Workflow -> Step Create Doc From Template
    **************&_WORKITEM& -> &FLOWITEM&
    **************DC8BA2ADFCEA4EF18D2F00145EDCE7A4 -> &TEMPLATE&
    #######Workflow <- Step Create Doc From Template
    **************&WF_DOCUMENT_0001& <- &_WI_OBJECT_ID&
    **************&_WF_INITIATOR& <- &_WI_ACTUAL_AGENT&
    As ive explained earlier i have a Container VBSEGS with abap table vbsegs, which is filled using method ReturnMe2 with MyStruct2 structure.
    Regards
    Laurynas Prikockis

  • How to add line items to Accounting Document posted through MIRO ?

    I need to perform Additional posting when Posting through MIRO transaction..i tried with INVOICE_UPDATE BADI but this was not useful...Please let me know if there is any way to add additional posting to Accounting Document created through MIRO.
    If any user exit , BADI ot BTE present?

    Hi,
    Check the BTE's:
    00001020     POST DOCUMENT:       Prior to final checks             SAMPLE_INTERFACE_00001020
    00001025     POST DOCUMENT:       Final checks completed       SAMPLE_INTERFACE_00001025
    00001030     POST DOCUMENT:       Posting of standard data     SAMPLE_INTERFACE_00001030
    00001050     POST DOCUMENT:       Accounting interface           SAMPLE_INTERFACE_00001050
    Thanks & Regards,
    Harish

  • Tax code input for Automatically Generated Line Items

    Hi Guys,
    We want to input a tax code for the Automatically generated line item..for exchange rate differences in F-28.
    Once i simulate the F-28 , and i try to input the tax code in the Automatically generated line item for exchange rate difference,
    I cannot input the tax code in that screen..and it is greyed out.
    Is there a way we can assign a tax code for this GL account line item that is automatically generated by the system ?
    Thanks,
    Srikanth.

    Hello,
    you have to add the tax code in GL master data. if that's not possible (several codes possible), I would set up a substitution.
    kr
    Nico

  • How to add line item to sales order item table?

    Kindly help me the with the below requirement .
    Add line item to sales order(va01) dynamically on click of button. The button is also custom created push button.
    In the above requirement I have added the pushbutton to va01 tcode. But when I click on that button I need to add line item to sales order item table.
    I tried a lot but I am not successful. If possible can u please help on this.
    Regards,
    Rachel

    Hi!
    It's quite easy even in the standard SAP to add a line item for a customer order, I don't think it worth to develop a new button for this.
    However if you wanted to add a line automatically, the you can do the following in the program MV45AFZZ, FORM USEREXIT_SAVE_DOCUMENT.
    You can use similar code, but with some modifications.
    DATA: lv_posnr.
    LOOP AT xvbap.
    MOVE xvbap-posnr TO lv_posnr.   "get the last posnr
    ENDLOOP.
    ADD 10 TO lv_posnr.
    MOVE 'XYZ' TO xvbap-matnr.   "enter your material number here
    MOVE lv_posnr TO xvbap-posnr.
    * fill additinal field data in XVBAP if necessary
    MOVE 'I' TO xvbap-updkz.                  "Insert line
    APPEND xvbap.
    Regards
    Tamá

  • Urjent-how to add line items in tcode-FBL3N

    Hi Experts,
      How to add line items customer, customer name,  vendor and vendor name in FBL3N.
    Thanks in advance.
    mahe
    Moderator message - Please do not use words like "urjent". Please ask a specific question. Please search the forum. This question has been asked and answered before. Post locked
    Edited by: Rob Burbank on Apr 29, 2009 11:27 AM
    Edited by: Rob Burbank on Apr 29, 2009 11:28 AM

    Hi,
    Check the BTE's:
    00001020     POST DOCUMENT:       Prior to final checks             SAMPLE_INTERFACE_00001020
    00001025     POST DOCUMENT:       Final checks completed       SAMPLE_INTERFACE_00001025
    00001030     POST DOCUMENT:       Posting of standard data     SAMPLE_INTERFACE_00001030
    00001050     POST DOCUMENT:       Accounting interface           SAMPLE_INTERFACE_00001050
    Thanks & Regards,
    Harish

  • EXIT to change / add line items during STO PO creation in T.Code ME21N

    Hi
    Can somebody suggest me a EXIT or a BADI  to change / add line items during STO PO creation in T.Code ME21N.
    The requirement is as below.
    When the user enters a material no ( which has a BOM created in CS01), and presses enter or saves the PO, i need to get the sub components of the BOM and populate them as the next line items.
    This is because the user needs to create the delivery with reference to the PO. In the delivery, the BOM material needs to be populated with all the sub components of the BOM.
    I tried to do it using EXIT_SAPMM06E_013 in which i am able to change / add the line items in the XEKPO and YEKPO internal tables. The entries are available in the internal table when the EXIT is executed.
    But when the PO is posted internally, the item is not changed/added.
    Thanks in advance.
    Guna.

    Hi,
    Try BADI "ME_PROCESS_PO_CUST".
    cheers,

  • Change of additional acct. assignment in automatically created line items

    Hello,
    How can we change the additional account assignment of automatically created line items in transaction MIRO. In my case the tax line item is created automatically in MIRO.
    I am able to change the account assignment of consumption line item. But not Tax line item.
    Best Regards,
    Tapan

    But FBZP is for APP not for Tax line item. Is it possible to change the additional account assignement (from cost center to internal order) in tax line item in MIRO.
    Best Regards,
    Tapan

  • FB60 - Substitution rule to generate Text in automatic generated line item

    Hello SAP genious,
    While we post vendor invoice ( FB60) and customer invoice (FB70), at this time along with Dr and Cr line items one automatic additional line item is getting generated this is based on Tax type which you select while making invoice.
    now, I want to show some text in this automatically created line items. This might be possible by creating some substitution rule but i am not sure.
    and if it is possible through substitution rule then what could be my prerequisite, and check would be..?????
    can you please tell how can i get Text in this additional line item getting created due to VAT tax code.
    Thanks a Lot for your input.
    your reply will be rewarded with points.
    Thanks
    Jignesh

    Thanks for all your replies.
    I Want the field BSEG- KOBEZ i.e description field in the accounting doc of the offsetting entry to be replaced in the GL account  text field.
    Ex :
    PK    Account        Description                  Amount           Text
    31    100000         Furniture  Vendor             50             Sales
    40    1999             Inter Compy                     50             Furniture Vendor
    I want the description of offsetting entry vendor description i.e Furniture vendor (field BSEG-KOBEZ) to be replaced in GL line item text BSEG-SGTXT.
    I cant find the field BSEG- KOBEZ while i search in the substituion to replace in Text field.
    How do i write in substitution to say that the offsetting entry description should be in text field of GL account.

  • How to assign profit center to automatically generated line items

    Hi, Experts,
                       My problem is that I want system automatically assign profit center to automatically generated line items.
                       Eg.
                             (Vat is @ 10%)
                                        Transaction                             Amount                            Profit Center                    
                              Purchase                   Dr                    Rs.1000/-                           XYZ
                              Vat                             Dr                    Rs.100/-
                              To Vendor                  Cr                                      Rs 1100/-
    Here I have to assign Profit Center in VAT G/L by double clicking on it, in reality, system should automatically assign profit center to VAT G/L same as to purchase, because this vat amount belongs to same purchase G/L.
    Kindly help me
    Thanks in advance

    Hi,
    1. In which SAP version you are working ? Are you using SAP 4.7 or ECC 6.0. ?
    2. If you are in ECC 6.0, have you activated New G/L ?
    3. Segment reporting is happening with Profit Center is one of the scenario ?
    Auto updation of Profit Center will depend upon these conditions. Accordingly one can provide you the solution.
    Regards,
    Shridhar

  • Tax Cide Field as editable for Automatically created Line Item

    Hi
    How can we make the tax code editable for automatically created line item, when an FI Document is simulated.
    Thanks & Regards
    Sanil K Bhandari

    Hi
    I want to edit the line item which has been created by the system, when the document is in simulation mode. The entry has not been posted yet.
    Thanks & Regards
    Sanil K Bhandari

  • Discount header condition should adjust automatically in line items

    Hi,
    I have a discount header group condition which is adjusting automatically in line items based on net price. Even if I delete one line item out of two lien items, header discount value is adjusting to balance 1st line automatically. This is hapneing in QT and in sales order without reference, but not hapening for sales order where I referenced with quotation.
    Ex: I have created QT with ZD03 = -2000. This distributed for line item 1 as -1500 and 2nd line item as -500. (Here in QT if I delete the 2nd line item, then ZD03 for 1st line item is automatically adjusted as -2000 and header remains same as -2000). Now if I converted this QT to SO with same 2 line items and then in that SO if I delete 2nd line item, ZD03 for 1st line item remains as -1500 only and header changing from -2000 to -1500.
    I don't want this to happen. I want the header value to remain same as -2000, irrespective of what I do for the sales order line items.
    Kindly suggest.
    Ratna

    Hi,
    Just test your requirement by going into the Condition type configuration TC V/06 for the "ZD03" ,under changes which can be made remove the Header condition and mark it as item condition and try the sales cycle.
    Regards,
    Ravi

  • Automatically created line items will be deleted-Withholding tax

    Dear Experts,
    Please let me know the reason for generating message as Automatically created line items will be deleted while simulating.On second simulation onwards,TDS entries is deleting and the same is disappearing on posting.

    Hi,
    You might be getting this error while do clearing of vendor who is liable for withholding tax.
    You are getting this error because you have to do payment of Withholding tax.
    If this is not the scenario please revert with exactly when you are getting said error.
    Regards,
    Tejas

Maybe you are looking for