Issue on Purchase order creation with Delivery schedule line items per PR

Hi
Note->Developed inbound FM to create PO's in SAP through IDOC.
We are creating purchase orders from vendor which is coming from Inbound IDOC. Here we are using as BAPI_PO_CREATE1
to create PO's. before that i am passing all the inbound data of the IDOC and getting some Purchase requisions for plant and material wise from EBAN table where we have open PR's and split the inbound line item qauntity as per Open quantity in Purchase requisions. Problem here we are modifing schdule line data as per purcahse requisitions and post the all the shehduline data into above functional module, we are using creation date as delivery date in the scheduling line for each line.
Set1- If we have multiple requisions for each material and plant in the inbound IDOC item , while creating PO using  above BAPI
creating PO with delivery date is taken from Purchase requesion date, this only will happend in the first schudle line item always, second line scheulde has taken correctly from creation data as delivery date.
Set2-If we have one requisition for each line item, it will creating correctly for schulding line item as with correct delivery , whcih is not taken from requstion delivery date.
Set 2 is working correctly, but Set1  has problem with delivery date  in the scheduling lines particulary for first schduling line item.
Please help me on this issue.
Advance wishes

Hi Satish
Thanks for the reply.
I checked the parameters and it is creating 2 PO when the Indicator Ordering address is set.If I uncheck this Indicator then only one PO is created.
But now my question is from where is the Ordering address taken because for both line items Vendor is same and ordering address is also same.
Then why the system is creating new PO?
Regards
Vaibhav Mahajan

Similar Messages

  • Purchase order creation with reference to Contract

    Dear All
                    Purchase order creation with reference to quantity contract the contract quantity is not copied in to po. any configuration copying rules required. please guide
    Regards
    Anand.

    Hi Buddy
    The correct business process is RV Preq created by a user from any department then buyer converts this Preq to a MK contract with some quantity keeping the duration as some months/year. Then as and when material mentioned in the contract is required during the validity period of the contract MRP creates Preq or buyer manually creates NB preqs , same are then converted to PO but these PO are released against MK contract. So qty in PO are different then mentioned in contract because contract is for  a large qty keeping in mind the duration (for example one year).
    Regrds
    Yogesh

  • SCHEDULE AGREEMENT-DELIVERY SCHEDULE LINE ITEM PRINTING

    Scheduling agreement is created in ECC.
    Delivery schedule line items are generated using APO and CIFed over to ECC.
    Upon displaying in ME38 in ECC, the delivery schedule line items are appearing as required. The problem is that no output type is displayed for condition type LPET even though the settings are done & condition records are maintained.
    Can someone throw some light on this?

    Hi Anil ,
    Goto Transaction NACE , Select Application EL and then Click on O/p Types.
    Select your o/p and click on Processing routines.
    Make a copy of medium 1 and change it to 5. The program , Form , Form routine would remain the same.
    Maintain condition records with medium 5 in MN10.
    Ensure that email address exists in Vendor Master.
    Check with ur Basis to make sure that the setting are done in Transaction SCOT for sending document via PDF.
    Create a new Agreement and test it.
    Regards
    Ramesh Ch

  • Open Sales Order  table with multiple schedule line....

    YUSUF BHORI wrote:
    Hi Experts,
    In Sales Order there are multiple schedule line for single item.
    Where and in which table i can find open qty for order ,material, item and schedule line items.
    I Want open items for each schedule line. For One vbeln, posnr there multiple etenr.
    Urgent,
    Yusuf.

    Hai,
    Join VBAK & VBAP and store data in an internal table GT_VBAP to get Sales order numbers, items, materials.
    Get Open Sales order items from VBUP into GT_VBUP  where VBUP-GBSTA  NE  'C'.
    LOOP at GT_VBAP.
    Read table GT_VBUP with key vbeln & posnr.
    If sy-subrc <> 0.
      delete GT_VBAP.
    endif.
    ****Fill your Final Report Internal table with required field values **Append into that internal table
    ENDLOOP.
    Now Select WMENG BMENG from VBEP into GT_VBEP for all entries in GT_VBAP.
    LOOP AT  GT_VBEP.
    *******Again Modify your Final Report internal table with these values
    ***VBEP-WMENG is Ordered Qty
    ***VBEP-BMENG is Confirmed Qty
    ************Open Qty     = Ordered Qty      = Confirmed Qty***
    ************Open Qty     = VBEP-WMENG = VBEP-BMENG.***
    ENDLOOP.
    Edited by: Eswara Rao Aakula on Dec 24, 2007 9:56 AM
    Edited by: Eswara Rao Aakula on Dec 24, 2007 9:57 AM

  • Converting Multipule Reqs to a Purchase Order with Delivery Schedule Lines

    Is it possible to convert a multiple Purchase Reqs for the same items to a PO that has one line but multipule deliver dates in the Schedule lines - Where the Purchase Reqs have been generated by MRP
    Example
    I have an SAP Contract 46***** that runs via MRP and creates 3 Reqs for item number 12345. All from the same vendor
                 Req 1 delivery date 2/4/10  QTY 50
                 Req 2 delivery date 6/4/10  QTY 20
                 Req 3 delivery date 10/4/10 QTY 30
    Aim is to have 1 PO with line 1 having a QTY 100 but the Delivery Schedule Tab to show the three seperate delivery needs
                date 2/4/10  QTY 50
                date 6/4/10  QTY 20
                date 10/4/10 QTY 30
    Any Help?

    When i try that the QTY in line one does not alwasy update to the total qty of the reqs and infact the qty on the req doesnt always appear in the schedule line....
    This works for me perfect, I never encountred that the item quantity was not updated if I added a new requisition to the schedule.
    ME59N should work, do not select per requistion and per delviery date in the New PO section in the selection screen. But set a flag into box create schedules.

  • Problem with Purchase Order creation with Random numbers .

    Hi Experts
    Currently i am facing an issue with Bapi BAPI_PO_CREATE1 to create Purchase order with random numbers for example items 1, 3,5.
    Please let me know the settings .
    Thanks in Advance

    Hi Neha,
    A reset of the release strategy only takes place if
    -  the changeability of the release indicator is set to '4' in
       case of a purchase requisition and '4' or '6' in case of
       another purchasing document (purchase order, request for
       quotation, contract, scheduling agreement),
    -  the document is still subject to the previous release
       strategy,
    -  the new TOTAL NET ORDER VALUE is higher than the old one.
    The total net order value is linked to CEKKO-GNETW for a purchase order,
    CEBAN-GSWRT for a purchase requisition item-wise release and CEBAN-GFWRT
    for a purchase requisition overall release.
    If you have maintained a Tolerance for value changes during release
    (V_161S-TLFAE), the release strategy is reset when the value of the
    document is higher than the percentage you have specified and if the
    document is still subject to the previous release strategy.
    Review the SAP note 365604 and 493900 for more
    information about Release strategy.
    Regards,
    Ashwini.

  • Regarding material wise purchase order creation with reference to pr

    Dear sir
    I have a scenario depending on the  material wise pos creation
    I have two type of material
    1) raw material
    2) consumables
    When user will create purchase order for raw material, system should ask purchase requisition. ( i.e with out purchase requisition for raw material , system should not allow to create the purchase order)
    Where as for all consumables materials system should allow to create the purchase order
    Without purchase requisition also, for user.
    Regards
    Jrp.

    You have to create two different document type for purchase order.
    1) Raw Material Purchase
    2) Consumables Purchase
    You can create two different document type for purchase order with below mention path: -
    SPRO >> Materials Management >> Purchasing >> Purchase Order >> Define Document Types.
    After define two different document type, You can change field status for two different document type with below mention path.
    SPRO >> Materials Management >> Purchasing >> Purchase Order >> Define Screen Layout at Document Level.
    Select document type and change field status of purchase requisition.
    Regards,
    Mahesh Wagh

  • Purchase Order creation with reference to Purchase requistion

    Hi,
    The scenario is like this I am creating Purchase order with reference to a Purchase requisition which is not relased.The created Purchase order is in hold status.I am releasing the Purchase requisition and opening the Purchase order and saving at this time the release strategy for Purchase order is not activating.Programatically I tried to activate the release strategy but it's not activating.Anybody have to solve this issue.
    Regards,
    Surendar Reddy.

    Hi,
    Please check the release strategy. Check if your Purchase requisiton is released at all the levels.
    Thanks,
    Chinmay

  • When we create a Purchase order that has PIR in line item, the text is stored in EINA or EINE?

    Hi Friends,
    I have a requirement that, whenever we created the PO that has PIR in line item, the text is getting stored in EINA or EINE table.
    so here the businees need to move the text which storing in EINA /  EINE to ekpo text id up on saving.
    please suggest how i need to proceed with this issue.
    Thanks in Advance,
    kasi.

    Hi Madan,
    Thank you for your reply.
    As per your suggestions I found  BADI  ME_PROCESS_PO_CUST.
    Could you please help me how to read the "Info record PO text" for each line item in the purchase order and i want to save the readed text into EKPO-txz01.
    Thanks in Advance,
    kasi.

  • Purchase Order Creation with System Date but not Server Date???

    Dear Experts,
    We have server Located in USA and User is working from India when user is Recording the PO system is taking Server Date but as per requirement it has to take system date (i.e User system date - India time).
    How to achieve this please let me know
    is there any profile option or setup need to done??
    Thanks in Advance!!
    Regards
    Bharath

    Hi,
    Please check the release strategy. Check if your Purchase requisiton is released at all the levels.
    Thanks,
    Chinmay

  • MRP - Auto creation of del schedule lines based on planned delivery time

    Hi,
    We have activated MRP (type PD) where Purchase requiesition is auto created by system for requirement quantity. We require to optimize delivery schedule in such a way that entire PR quantity is broken into various delivery schedule based on planned delivery time and requirement.  Scenario can be further explained with following example.
    Material Requirement for a month is say 1,25,000 units
    Closing Stock say 25,000 units
    PR Generated by system for 1,00,000 units. The entire quantity is schdulled with only one delivery schedule line as per planned delivery time. 
    The requirement is to generate multiple delivery schedule lines automatically in Purchase requisition based on planned delivery time so that Purchase orders can be placed with system generated delivery schedule lines.
    How can it be achieved ?
    Regards,
    Nirav Kinkhabwala

    Nirav,
    This subject has been discussed repeatedly in this and other forums.  I must assume that you overlooked the rules of engagement, which state that you should first search the forums and other public sites, before posting questions here.
    Standard SAP MRP cannot be made to generate multiple items in a Purchase requisition.  The functionality you seek is usually achieved when converting purchase reqs to Purchase orders, where many single purchase reqs can be adopted into a single Purchase order.
    You also might want to investigate use of Vendor Scheduling agreements.
    Best Regards,
    DB49

  • Order of delivery schedule line counter at schedule agreements from MRP run

    Currently we are using schedule agreements for our long term external suppliers, but we are facing a problem with the order of new delivery schedule lines created during MRP run.
    Because of master data settings like, lot size, rounding value, plan delivery time and planning time fence to set as firm new requirements, multiple schedule lines are created with no order for schedule line counter.
    Does anyone is aware of a BADI, user exit or customizing control to have this schedule line counter in order?
    Thank you
    Daniel Guillen
    IT
    Skyworks Inc.

    Hi,
    Pls put this query in SD fourms  and get immly help because this is technical fourms.
    Anil

  • MRP creating multiple delivery schedule lines in PR

    Hi,
    We have activated MRP (type PD) where Purchase requiesition is auto created by system for requirement quantity. We require to optimize delivery schedule in such a way that entire PR quantity is broken into various delivery schedule based on planned delivery time and requirement.  Scenario can be further explained with following example.
    Material Requirement for a month is say 1,25,000 units
    Closing Stock say 25,000 units
    PR Generated by system for 1,00,000 units. The entire quantity is schdulled with only one delivery schedule line as per planned delivery time. 
    The requirement is to generate multiple delivery schedule lines automatically in Purchase requisition based on planned delivery time so that Purchase orders can be placed with system generated delivery schedule lines.
    How can it be achieved ?
    Regards,
    Nirav Kinkhabwala

    Dear
    Are you dealing with Single vendor  where you want Multiple Schedule Line item through single PR  which should be generated through MRP run ??
    What you will have to do is to set up the Outline Agreement or Info Record for your vendor and material and then create the source record for this vendor- material relationship and make sure that this source record is set as MRP relevant. Once MRP is run, the vendor is automatically defaulted to your PRs. If in your material master, you have defined the same purchasing group for various material numbers, then with Transaction ME59, it is feasible that you can combine various PRs of the same purchasing group by flagging onto the 'Per Purchasing Group' indicator checkbox. Make a trial test and let me know how it goes.
    Or you can use Qouta arrabgement in that case for different vendor .Please refer : Multiple Requisition  line itme for Quota arrangement
    Just check and revert
    regards
    JH
    Edited by: Jiaul Haque on Dec 25, 2010 1:52 PM

  • 750 to 1200 line items per order

    Hi
    Does any body have the experience of creating order with 750-1200 line items per order, in such scenario how the performance of the e-commerce was handled, was any custom development made to achieve.
    please let us know
    thanks
    vignesh

    Stefan, as stated, this was not well thought through solution (but with some work would be possible to achieve).
    Regarding memory leaks. We have spent quite a bit of time looking in-depth at the shop code over the years and have so far seen very little evidence of actual memory leaks.
    MASSIVE memory consumption, yes, definitely, but no actual leaks
    If you have a suitable OS and JVM running that will allow you to crank up your JVM memory settings then you will most likely see that the memory usage will plateau...it might just be at a much higher level than you would have reasonably expected.
    To give you an example. One of our customers was running a very large catalog (900 000 items) and the shop used 22 GB of memory when running. One of the main reasons in their case, with such a big catalog, was how the web shop chooses to create web cat items and cache them. Deep in the standard shop code you can find that there are lots and lots of ArrayLists initiated and they are all given a >0 default length, which consumes memory even when empty. In this particular case this became such a big issue that we sent SAP the proof that if they would initiate the ArrayLists with 0 length the memory consumption would drop significantly for each WebCatItem instance.
    We estimated at the time after some in-place replacements of the CatalogAttributeValue, class out of the pcatAPI.jar where we set it by default to null instead of size of 10 that we would have saved about 40% of memory consumption. We even prepared the test case and sent it all to SAP, but don't think we ever got it implemented in standard code.
    Another suggestion was that SAP would implement a LRU cache for catalog caching for larger catalogs....again would help with memory usage challenges.
    With another customer we had 1 Million+ hits per business day (8 h period) and I can't remember us ever having to chase up memory leaks in the standard shop code...they might exist, but perhaps the usage scenarios I've been involved in have just not brought most of them to daylight.
    Purely out of interest...if you have found memory leaks in the shop it would be interesting to hear where you found them.
    Cheers
    Kalle

  • Import Purchase orders failing with numeric/value error issue

    Import Purchase orders failing with numeric/value error issue

    Hi All,
    Import Purchase Orders program is failing with PL/SQL Numeric or Value Error.
    DECLARE
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at line 55
    Kindly help me to get the issue fixed

Maybe you are looking for

  • Business Rules will not launch or open in EAS or Planning

    The Business Rules will not open or launch in EAS.  Additionally, they do not show up in Planning at all.  The error received is "Exception occurred. Please check your log file for details."  As of Friday, everything was working fine. On Monday morni

  • Unable to open bsp component because of dump.

    I have tried to add  viewset in the window of the controller for creating a new search component but when I did this  an error came and after that I am not able to open the component from component workbench. What could be the error and the possible

  • ATE Engineer with LabVIEW Position Open

    Moog Aircraft Group Salt Lake Operations has several immediate openings for Test Engineers with the following experience: 6+ years ATE experience, including real-time technologies, as applied to complex component simulation and control solutions.  Wo

  • Dout in Submit statement in print program....

    Hi all, In my print program, after printing my forms i need to call another print program. For this im using SUBMIT statement. I hope my print program goes to an update task. So when it encounters a function module or submit statement it coming out o

  • No audio on playback of any file types. Driver issue? Realtek High Definition

    I don't recall when this started happening, since I haven't used the program in a very long time. But, no sound is heard from any type of clips I drop into the program. Nothing from the source monitor and nothing from the main window. Volume bars sho