Problem in invoice printout for second line item of the contract.

Hi,
There are two line items in the contract. Both with different material and different plants. 1st line item with plant japan, and 2nd line item with plant singapore. But, when i try to take printout for 2nd line item after invoicing it, the address appearing in printout is of Japan instead of singapore.
Any idea why this happening?
Please revert back asap.

Hi Chetan,
If that is a header output, then there are issues at the design level itself. You have an output as header output and you expect the item level details to be printed in two different printouts.How is this handled in the program. Mostly header outputs are used to print the details abotu all the items in the doucment , not for a specific item. If you want to print a specific item only , then it is always advisable to configure the output as item output.
Leaving that aside, the problem lies in the code. You may be selecting the item number when you are printing the details of the second item, but for printing address, you are not coding using the item number.
To prove this test this scenario.
Create an order with first item belonging to Singapore plant and second item Japan plant.
Now create the otuput for item1----it will work fine
Do the same for item2-----Now, the plant address will be of Singapore, while the material belongs to Japan.
If this happens, it can be safely assumed that problem lies in the code. Do this test and then if the problem is in the program, discuss with your developer, he will rectify the bug for you.
You can reward me if this solves your problem.

Similar Messages

  • Sales order create/change line item with reference to contract - Open quantity not getting deducted for copied line item from the contract

    Hi friends,
    Please provide some valuable inputs for the following scenario:
    When a sales order line item is created(VA01) or changed(VA02) with reference to a Contract the open quantity is deducted in the contract which is a standard functionality. If the referenced line item is copied (custom enhancement to copy line item), then for the copied line item the open quantity is not getting deducted instead ATP quantity i.e. Available-to-promise is deducted.
    Any inputs on how we can fix this functionality i.e. deduct the open quantity from the contract for the copied line item?
    P.S. : Custom enhancement to copy line item is working fine, but open quantity is not getting deducted if the copied line item was referenced to a contract.
    Thanks,
    Sandeep
    Message was edited by: sandeep

    Sandeep,
    Yes, that was my original interpretation.  I was having a hard time believing that someone would ask such a question. 
    I guess, then, that you already know that you will have to add this logic to your enhancement. You should create your specifications and hand them off to a developer; ideally the one who created this enhanced solution in the first place.
    I do not provide advice in these forums about details of enhanced solutions.  Perhaps one of the other members will be more willing to do your work for you.
    Best Regards,
    DB49

  • CostCenetr not appearing in service PR for second line item

    Hi Experts,
    When we create a service shopping cart, if there more than one item in the shopping cart , in back end system in service PR under services tab column  Cost Center  is blank for second line item.
    How can we solve this?
    Regards,
    Anubhav

    Hi,
    Problem seesm to be with only one service category..
    Thanks,
    Anubhav

  • How to create an inspection lot for each line item of the Purchase order?

    Hi,
    How to create an inspection lot for each line item of the Purchase order ?
    In detail if possible.

    Hi
       please check this
    [thread|Create Inspection Lot;

  • Not displaying ship to party for second line item

    Hi All,
    When I am creating Sales order, I entered sold to pary,PO number,PO date,material (first line item)and qty.In partner functions for first line item it is displaying ship to party.But whaen I entered second line item & qty,ship to party is not displaying .
    Please guide.
    Thanks,
    GTNR

    Couple of questions !!!!
    a)  Was system allowing you to save
    b)  has the data properly configured in Set Up Partner Determination for Sales Document Item
    c)  is the ship to party different for first line item
    d)  did you check in incompletion log
    G. Lakshmipathi

  • Free Goods for multiple line items of the same material

    Hi Friends,
    We have configured Free Goods to a particular material in such a way that if the customer orders 100 qty of Material A then he gets 10 qty of Material B free. This is working fine if there is only one line item of Material A with qty more than 100.
    However, if the order is created in such a way that there are two line items of material A for 50 qty each then the system is not giving the free material B, even though the total ordered qty in the sales order for material A is 100.
    How can this be configured in the system? Please Help.
    Regards,
    Abhishek

    What is the purpose of giving the same material as second line item.
    specify in the first line item itself.
    or els the condition record which you have specified that for 100 material of A gives 10 material of B modify it to 10 of A should give 1 material of B
    The first you will be useful for you.

  • Ref. PO no. is not coming in second line item at the time of delivery

    Hi All
    STO Scenario
    In PO it single Line item,  but in delivery we doing split batch. the system showing error that " Enter the    PO No." But in first line it it picking the Ref. Document No. while it not coming second line item.
    Please suggest.
    Regards
    Mahesh

    Hi Mahesh
        Proceed accordingly, first select te batch split by selecting line item and then go to environment for batch select once the batch selected then choose the belowmentioned magnifying glass, maintained other necessary field your delivery will be created.

  • To make service entry sheet for multiple line items of the service PO.

    Hello MM Gurus,
    Please help me for the following
    I create a service PO with say 10 line items. Then while doing the service entry sheet the system automatically picks the line item 10 by default. When I try to enter the other items it throws an error" unplanned services cannot be entered"
    So how to make a service entry sheet which shall include all the line items of the service PO at the same time.
    So if I have 100 items in the PO do we make the service entry sheet 100 times against each item? Is there any seeting/solution on this?
    Please help.
    Regards,
    Prasanna.

    Dear,
    I have two solution for u.
    1) Create different service entry sheet -ML81N for each line item and create single invoice verification for all service entry sheet - MIRO
    2) Create service purchase order - ME21N for only one line item.
    And include all services in service tab available at item detail level of service purchase order. Enter it's quantity and rate.
    Than create one service entry sheet for purchase order.
    So you can create one service entry sheet for all line item of services.
    Note: - Use option 2 for easy process.
    Regards,
    Mahesh Wagh.

  • Discount for Second line item

    Hi All
    While creating a sales order, the pricing should be determined based on Product line item.
    For Example:
    If Line item 10 has Product X and if the same Product X is taken again for line item 20 then the system should give discount based on preceeding product.i.e. If I select the same product twice i should get less price than while taking a single product.
    Can Anyone help me to what condition type should be considered and how to solve this ?
    Thanks
    Ramya
    Edited by: Ramya Nagurtha on Dec 30, 2009 5:59 PM
    Edited by: Ramya Nagurtha on Dec 30, 2009 6:12 PM

    Hi Shantoo
    Thanks for your response. Let me clarify my question.
    We are not giving a free good. The price should be reduced only when when we go for a second item.The condition type we used is 0K04.
    The point is where we are refering the first line item.Can we do it through actions or is there any condition type referring preceeding item discount?
    Can anyone please help me in this?
    Thanks
    Ramya

  • Multiple sales deal for a line item in the order

    Hi,
    We are planning to use sales deals but i'm wondering as the sales deal is entered at condition record level, If i have one line item on an order and that this line item will have several sales deal eligibible (several condition records with different sales deal) What sales deal number will be saved on the VBAP table and VBRP table (sales and billing document). The sales deal is not saved at condition level (KONV) ?
    Does anyone know that ?
    Thanks
    Myriam.

    Hi, Gurus,
    Any answer to that question, please ?
    Thanks.
    Myriam.

  • Logic to get same text for 2 line items

    hi all,
    i have an issue in my report,
    i have a final internal table. fileds in the table are
    bukrs  belnr gjahr buzei  sgtxt
    0010  12345  2008  01      text
    0010  12345  2008  02      -
    now the problem is if the belnr is same thn in the final internal table the above sgtxt shoud come for second line item if the second line item is initial ,i shoud get the output as
    bukrs  belnr gjahr buzei  sgtxt
    0010  12345  2008  01      text
    0010  12345  2008  02      text
    please help me how to write code for this

    Hi,
    Use this :
    Loop at itab.
    if itab-sgtext is initial .
    read table itab into wa with key bukrs  =  itab-bukrs
                                       belnr = itab-bukrs
                                       gjahr = itab-bukrs
                                        buzei = itab-bukrs
                                        sgtext <> space.
    if sy-subrc eq 0.
    itab-sgtext = wa-sgtext.
    modify itab transporting sgtext.
    endif.
    endif.
    endloop.
    Hope this helps.
    Rgds,
    Sandeep

  • Vendor field empty for RE line items in FBL3N

    dear all-
    I'm experiencing a strange situation. Instead of using the MM-report, I want to do a GRIR analysis in FI. When I run FBL3N for the GRIR account I see that for the goods-receipt related documents (doc type WE) field like puchase order and vendor number are populated (and contain a value). However for the line items that come from the invoice the field purchase order is filled but the field vendor is blank.
    I did have a look at the BSEG table for the WE- and RE-related documents: for all line items of the WE document (goods receipt) the fields purchase order and vendor contained a value, for the RE document (invoice receipt) all line items have a value for purchase order but only the first line item (vendor line) has a value for the field vendor. On all the other line items the vendor field is blank.
    Looks pretty strange to me, who has a good solution?
    thx
    Ben

    hi Vishal-
    Thanks for the BSIK, BSIS tip!
    In the meantime I did find report RFWERE00. I was able to generate a list that indeed showed the vendor number on the GRIR account both from the GR- and RE-document. Didn't have time yet to go over the code to figure out where this report gets its data from.
    The report offers options to do actual clearing and do postings ... I'm not interested in that. Only in the list. I have a start now ...
    ... If you have another I idea that prevents me from creating a customer report ... I'm eager to hear it!
    rgds
    Ben

  • To Record  J1IS BDC  For Multiple Line Items

    Hi,
      Iam trying to record BDC for J1IS transaction.
    while  recording  material document which contains more than  8 line items , Only 8 line items get saved and the rest of the items doesn't get saved ,
        But when I  do this manually then  all the line items get saved,
        Can anyone give the remedy for this Problem (to record J1IS for multiple line items).
      Thanks in Advance.
    Regards,
    S.Janani.

    Hi Janani / Leo
    The problem might be that the scroll down functionality after 8 line items is not recorded in your recording.
    In order to overcome the issue, you need to check OK__CODE whicle page down and add it in recording after Number of line items are greater than 8.
    Please check below link for details:
    http://scn.sap.com/thread/1106677
    http://scn.sap.com/thread/797827
    http://scn.sap.com/thread/2037271
    Best Regards,
    Sachin

  • 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

  • BAPI_PR_CREATE for Service line items only

    Hi All,
    We are unable to create the Purchase Requistion Order using the BAPI_PR_CREATE for Service line items.
    The Error Message 436(06) " In case of account assignment, please enter acc. assignment data for item" is always received with respect to Account Assignment.
    We are currently using ECC 6.0 EHP 4. SAP instance to create the Purchase requisition order.
    We already did this analysis and came to this include previously for the Error Message 436(06) and could find thatt the accounting tables are not filled.
    Also, the accounting items table is refreshed and deleted in 3 places in the code.
    We did put debug on that u2026 but during debug, the control does not go to these places.
    I suppose there is some other major functionality related to Service PR is missing in the BAPI_PR_CREATE.
    Also we are unable to find the detailed documentation.
    Thanks and Regards,
    Shivakumar K.

    Hi Shivakumar,
                                                                                    Hi Shivakumar,
    in most of the cases this error - 06 436 - happens due to wrongly filled BAPI structures.
    Please check the entries in the x-structures in first line, for example:
    PRACCOUNT structure
    PREQ_ITEM                      00010
    SERIAL_NO                      01
    GL_ACCOUNT                     2222222     
    COSTCENTER                     SAP-DUMMY
    PRACCOUNTX structure
    PREQ_ITEM                      00010
    SERIAL_NO                      01    <<<<
    GL_ACCOUNT                     X
    COSTCENTER                     X
    SERVICEACCOUNT structure
    Line 1:
    DOC_ITEM                       00010
    OUTLINE                        0000000001
    SRV_LINE                       0000000010
    SERIAL_NO                      01
    SERIAL_NO_ITEM                 01
    SERVICEACCOUNTX structure
    Line 1:
    DOC_ITEM                       00010
    OUTLINE                        0000000001
    SRV_LINE                       0000000010
    SERIAL_NO                      01       <<<<
    SERIAL_NO_ITEM                 X     <<<
    Regards,
    Edit

Maybe you are looking for

  • Web Templates shortcut Not working in SAP Browser screen

    Hello All, I am facing a diffrent issue with Business Explorer Browser 3.x. When I try to open shortcuts which is for (Web templates) created in Business Explorer Brower 3.x they are not working properly. The addres stored for this web templates miss

  • Unable to Install Win 8 in Probook 450 G2

    I bought a new note book of HP Probook 450 G2 with Free DOS installed by factory. I am quite familier with DOS, Partitions & technical staff. I purchased this Probook 450 G2 becase of its beautifull design & specs, Its price suite me so I purchased i

  • The Dock processor uses 100% CPU

    hi, can someone please help me? my computer for the last 2 dayshas been heating up and the battery wasn't as long as it should, so i checked"activity monitor" and the Process name "Dock" is using100% CPU. i tried quitting the process but it just reap

  • Can't active IOS 6.0 3GS

    I have jarlbroken and restorted many times but it stuck on no SIMCARD support. Any solution? thanks

  • Want to import spreadsheet data into array constant in VI

    I want to create a VI with a static array of double precision values. The values represent an ECG waveform. I have the values in an Excel spreadsheet. How do I transfer these values into the static array (array of constants) in LabVIEW? I can not fin