Bapi_po_create is not creating Purchase Orders for multiple records in file

Hi All.
iam trying to create contracts and Purchase Orders  In me21n,me31k .
here iam using bdc for contract creation against services and using bapi_po_create for PO Creations.
in this process i could create contracts and POs for the first record in the file but for second record bapi_po_create couldnt create POs and the return table in bapi says
1.document contains no items.
2.no services or limits have been maintained.
wil be waiitng for  r great answer.
bye.
regards.
seeta.

Hi Seeta Ram,
Did you pass the table PO_ITEM_SCHEDULES to BAPI_PO_CREATE with the coresponding Item numbers for each item in the table PO_ITEMS?
Regards,
Vitz.

Similar Messages

  • Process  create Purchase order for external instructor in training & event

    Dear Experts
    Need the process  create Purchase order for external instructor in training & event management.
    Regards
    Sonali

    Hi,
    for your requirement raise one servoce PO for 1000-00, with item category 'D',
    for that line item , it is possible to maintain sub-services line items,
    but, it is not possible to maintain raw materials under the service activity ,
    if you want to valuate paint cost also, maintain the sub service line item with short description ,
    at the time of SES , u can create individual SES, for all sub services,
    hope this is helpful,
    chenna kesava reddy

  • Could not create Purchase Order Stock Transfer Order

    Hi Expert!
    Need your help.
    User could not make Could not create Purchase Order Stock Transfer Order for new plant 1075 & 1076 at P05 with error message Not posible to determine shipping data for material. Our new vendor are 510022060 for new plant 1075 and 510022061 for new plant 1076.
    The problem was caused by the missing STO setup for these two plant 1075 and 1076, as no customer code being referred.
    Now i got the customer number for these two plants but how to set it up in configuration? Please guide me step by step.

    Hi Crystal,
    The following customising need to be carried out for Inter Company Stock Transfer.
    Path : sproMaterials ManagementPurchasing-Purchase OrderSet up Stock Transport Order
    Define Shipping Data for Plants :
    For the Supplying plant (1) the Sales Org data to be maintained.
    For the Receiving plant (2) the Customer No to be maintained.
    Create Checking Rule - U can use existing one Eg : B
    Define Checking Rule : Use Standard one Eg :01 linked to B.
    Assign Delivery Type and Checking Rule -- For the Supplying Plant (1) and document type NB use the delviery type NLCC and Checking Rule B.
    Assign Document Type, One-Step Procedure, Underdelivery Tolerance :
    For the supplying Plant (1) and Receving Plant (1) ; assign the document type : NB.
    Points to be noted :
    The Material should exists in both the plants ( 1 & 2 ) with the sales view maintained . Note that the Loading grp / Transporting Grp is mantaory in Sales Views.
    The Vendor is to be assigned to the supplying Plant (1 ) in Purchasing View of Vendor Master.
    For that click on Extras - Add Purchasing data in Purchasing view of Vendor Master (XK02 )
    Do maintain the customer in Control data of Vendor Master.
    Do maintain the Vendor in Control data of Customer Master.
    Also note that shipping conditions are maintained in the Customer Master . The same can be found in Sales Area - Shipping Tab.
    Shipping Point determination :
    SPROLogistics ExecutionShippingBasic Shipping FunctionsShipping Point and Goods Receiving Point Determination--Assign Shipping Points ( For a particular Shipping condition/ Loading Grp /Plant - the shipping point is assigned ).
    Regards
    Ramesh Ch

  • How to create Purchase order for non valuated material with fright charges

    Dear Guru,
    When i have creating purchase order for non valuated material then GR non valuated tab should be in display mode.And how to load fright charges.
    Regards,
    Abhijit

    hi,
    while creating the PO, u have the option FREE indicator in the right corner of the line item.(u can have separate Valuation type for the same, for valuation purpose)
    even u can create the UNBW material type.
    check the material type customization in oms2
    hope will get the clarity

  • DI: Create Purchase Order from Multiple Sales Order - Lines

    Hi all,
    I am trying to group multiple lines from multiple Sales orders concerning One given Vendor/Supplier so as to generate One Purchase order for this Vendor/Supplier
    oSalesOrder = (Documents)B1Connections.diCompany.GetBusinessObject(BoObjectTypes.oOrders);
    oPurchaseOrder = (Documents)B1Connections.diCompany.GetBusinessObject(BoObjectTypes.oPurchaseOrders);
    oPurchaseOrder.CardCode = 'Vendor1'
    oSalesOrder.getByKey("13");
    oSalesOrder.Lines.SetCurrentLine("4");
    oPurchaseOrder.Lines.BaseEntry = oSalesOrder.DocEntry;
    oPurchaseOrder.Lines.BaseLine = oSalesOrder.Lines.LineNum;
    oPurchaseOrder.Lines.BaseType = (int)BoObjectTypes.oOrders;
    oPurchaseOrder.Lines.Add();
    oSalesOrder.getByKey("14");
    oSalesOrder.Lines.SetCurrentLine("2");
    oPurchaseOrder.Lines.BaseEntry = oSalesOrder.DocEntry;
    oPurchaseOrder.Lines.BaseLine = oSalesOrder.Lines.LineNum;
    oPurchaseOrder.Lines.BaseType = (int)BoObjectTypes.oOrders;
    if (oPurchaseOrder.Add()!=0)
        MessageBox(B1Connections.diCompany.GetLastErrorDescription());     
    I get the following Error: <i>Base Document Card and Target Document Card do not match</i>.
    What more Should I do to avoid This?
    Regards,
    Emmanuel.

    Hi Emmanuel,
    As far as I know you cannot create a purchase order based on a sales order using the DI API. I know in SBO you can do this, but I don't think using the SDK. The reason why it's giving you the message "Base Document Card and Target Document Card do not match" is because one is a vendor and one is a customer.
    Hope it helps,
    Adele

  • How to create production order for multiple items having common raw materia

    Dear all,
    We are running a sheet metal fabrication company at Vadodara Gujrat.
    Please guide us how to create single production order for multiple items using single raw material??
    For example, We want to produce baby shirt(item code AAA001), shirt with full sleeve(item code AAA002), shirt with half sleeve(item code AAA003),shirt slim fit (item code AAA004),shirt loose fit(item code AAA005) from single raw material say(item code XXX001).
    Right now we have to create 5 production order to produce above 5 items of single sales order  in SAP B1 though it is made from single raw material which is foolishness and time consuming too. (Please also note that to produce any finfish good item, raw material required for that item may vary every time in our process.)
    Kindly guide us how to solve the problem.
    Thanks.
    RUPESH  +91-9227744273
    WEB : www.gorasia.co.in

    Hi Rupesh Gorashiya,
    This is possible through MRP for that you have to put Sales Order first and Run MRP Wizard
    MRP Wizard Put Multi Production Order as per Item Taking in Sales Order just click it on and execute.
    Thanks,
    Srujal Patel

  • LOGIC FOR CREATING Purchase Order FOR repective Purchase Requisiton URGENT

    hi all,
    guys i have got all the purchase requisition for the materials  from EBAN table.
    now i have to create the PURCHASE ORDER  for these PURCHASE REQUISITIONS.
    so how should i proceed.
    what logic i should use to create the PO for These PR.
    if anyone of u have any code regd this requirement then plz share it with me.
    its very urgent, i have to deliver it by today evening.
    plz help me .
    i will award ur efforts.
    Thanks
    Sanjeev

    hi,
    Automatic Conversion of PR to PO
    You created purchase requisition for various material. During creation of purchase order you used the following path:
    Purchase Requisition
    .......Follow on function 
    .........Create Purchase Order
    ............automatic via purReq. 
    When you mentioned required purchase requisition number and execute, system give error that purchase requisition does not contain any suitable item. 
    Is there any setting in customization where you can monitor and use that function.
    In an effort for you to successfully use the Transaction Code ME59 to automatically convert the current PR into PO, then the following criteria should be met: 
    1) In the Purchasing View of the material master data, the "Autom. PO" field must be clicked; 
    2) In the Purchasing View of the Vendor Master Data, the "Automatic Purchase Order" field must be clicked; 
    3) The Outline Agreement or Purchasing Info Record shall be maintained which will allow the automatic copying of unit price and other conditions into PO; 
    4) The Source List shall be maintained for the nominated vendor which was shown in either the Outline Agreement or Purchasing Info Record. 
    or 
    it might be PR subject to release strategy and not yet released
    or 
    If you're not using a source list or automatic creation of PO, you may need to assign the requisition to a purchase information record using transaction ME56. Then it should appear in ME58. 
    reward points to helpful answers.
    rgds

  • VL06 / LT0S create Transfer Order for Multiple Deliveries

    Dear all,
    My customer is used to create a WM Transfer Order for multiple Deliveries with transaction LT0S. The group that is processed here was created with VL06 / subsequent functions/ Group / Create with WM reference / TO for Multiple Deliveries.
    -Currently I am trying to find a backway processing mode for this. Are Pickwaves a good alternative? Or will they generate TO' s per Delivery?
    -My concern is this: Creating ONE TO is essential to keep the the picking route. With multiple TO's I will lose this. Creation of the group mentioned in the menu path above requires manual input such as giving a name for the group and checking the checkbox TO. for Mult.Del.
    Thank you for your time.
    Sandeep

    Vinod,
    Thanks for taking the time.
    Have been able to have my Pick Waves generated in background jobs. However, not been able to process these Pick Waves in a single TO. Each delivery gets its own TO. So far Pick Waves have not proven to be an alternative to LT0s
    I have not been able to find a setting -like the checkbox in VL06 K Group with WM reference, TO for Multiple Deliveries- that enable me to have ONE TO per Pick Wave.
    Any suggestions?
    Thanks,
    Sandeep and Dave

  • Shopping Cart is not creating Purchase Order

    We are using SRM 4.0 in an extended classic version.  We have been running into a couple of situation where that shopping cart that are created and approved are not creating PO in SRM.  The follow-on document in the SC shows it's approved and the SC # but there is no purchase order linked to it.
    I have looked in tcode BBP_PD but it's not yielding anything to this situation. I have also checked to make sure BBP_GET_STATUS is running and that is fine....so can someone point me in a direction to look?

    Hi
    <b>Please refer to follwoing SAP OSS notes as well.</b>
    <u>Note 980017 - Follow-on document not created
    Note 949162 Follow-on documents exist, status I1111 and I1113 active
    Note 899006 - Status I1112 and I1113 even though subsequent doc exists
    Note 1040670 Requirements are greyed out in the sourcing cockpit
    Note 865797 BBP_ALERT_SB_NOTTRANSFERED: Incorrect status set
    Note 854478 Alert monitor: No longer possible to transfer shopping cart
    730239 Check status: Missing Backend reference
    798604 Shopping cart monitor: Icon transfer inactive
    729967 Shoppng cart:Status I1111,no follow-on docs->analysis report
    728536 Shopping cart: Follow-on docs => analysis-/correction report
    486246 Incorrect shopping carts offered for confirmation
    Note 432434 'Item in the transfer process' for reservations</u>
    Hope this will definitely help.
    Regards
    - Atul

  • How to create a purchase order for a purchase requisition

    Dear Experts,
       Explain the steps for creating purchase order for a purchase requisition.
    and where can i find this purchase requisition field in PO creation.

    Hi Ravi,
    Check out these documents:
    http://www.olemiss.edu/projects/sap/MM_Create_PO_with_Ref_to_a_PR.pdf
    http://www.sap.com/africa/services/education/pdf/Work_Instruction.pdf
    Regards,
    Chandra Sekhar

  • How to create a B/D Order for multiple notifications?

    Dear Sirs,
      I would like to know how to create single order for multiple notifications of the same breakdown type.
    Is it allowed to do so what are the advantages and disadvantages of the same.
    Regards,
    M.Boopathy

    Dear Boopathy,
    You can create a Maintenance Order with Ref. to a main notification thorugh Order Create icon in transaction IW22.
    Once the Order is created, you can add remaining Notification in Object Links Tab in the Maintenance Order.
    This is the standard way of attaching multiple Notifications to a single Order.
    Kindly acknowledge if this answer helped.
    Do let me know if you have any other query in the same.
    Thanks.
    Regards,
    Avi

  • MRP - Single Purchase requisition for multiple Items

    Hi
    We have recently introduced MRP module in SAP .In some specific scaeanrios , we want to create a single Purchase Requisition for multiple items .Standard SAP generate different Purchase requisition for each item
    Is there any way out

    Sandeep,
    This topic has been covered numerous times in this forum and in the MM forum.  You evidently have not used the search feature.  There are thousands of posts in these forums, and the search function will be very helpful for you in future questions.
    To answer your question, No, nothing is available to make standard SAP MRP create Purchase requisitions for multiple items.
    Most companies address this issue during the conversion of Purchase Requisitions to Purchase orders.  During this process, you can add many items to a single purchase order.
    Rgds,
    DB49

  • Capital  Import Purchase Order  for  1000000000.0000 Euro

    Dear Sir
              I am creating Capital  Import Purchase Order  for  1000000000.0000 Euro.We have already set  price up to four decimals also in case of Imports.   But Field is not allowing  Purchase Order for that amount, its reducing the price. Maximum field length is 13 Charectar.
    How its possible ?
    Regards
    Manoj

    are you from Microsoft trying to buy Yahoo?
    I dont think that 1 Billion Doller purchase order is standard business that really need to be created as a PO in SAP.
    You just have a technical limitation of the field size.
    You will not only have this issue for the PO. you will get it with the GR and IR  and payment as well.

  • Bapi to create purchase order

    Hi Experts,
                    I need to find a bapi to put purchase orders using co08.Please let me know if some bapi or function module exists there for the same.
    Thanks in advance

    See th Business object BUS2012
    u can see all bapis for Purchase order.
    BAPI_PO_CREATE
    BAPI_PO_CREATE1 to create purchase order.
    <b><REMOVED BY MODERATOR></b>
    Regards,
    Vimal
    Message was edited by:
            Alvaro Tejada Galindo

  • "Create purchase order" doesn't work, trans. me21n

    hello all,
    in me21n (trans. for creating purchase order) I've got this message:
    Material not subj. to inventory mgmt. in plant 1302 (Pl. check your input)
    Message no. ME124
    Diagnosis
    There is no data for plant 1302 (plant/storage location stock view) in the material master record.
    Procedure
    Enter a different material or - if possible - a different plant.
    Or maintain the missing view in the material master record.
    Could you please let me where is problem???
    I'm trying to do "creating purchase order" for material 000000-1331-894 and plant 1302.
    For another plant 5600 "it" works OK. I' ve checked purchasing in mm03 and compared "right" and "wrong" plant but I didn't find difference in mm03 for both of materials :(((
    Any ideas???
    V.

    Dear Vladislav Rossa
    Just check in SPRO for Material types whether u have set Quantity ahd Value field as Tick mark for that particualr plant-1302
    After that just checked whether that material is extended for that plant
    Just Go in Create mode
    T code MM01 and  copy paste ur material 000000-1331-894
    in Copy from also mention the same material
    select the views u want
    in org structure: Copy from Plant-5600 and store location
    in copy to enter the plant 1302 and str loc
    Hope after that while creating u will not get any errors
    regds
    shailesh

Maybe you are looking for

  • HP 7110 all in one printer scanner, etc.

    My hp 7110 will scan and copy, but stopped printing yesterday.  When I try to print a document from outlook or word or a pdf file, the printer "starts", makes some noises, and then stops and all the lights on the "all in one" apparatus start to flick

  • Problem in JComboBox selected Index change

    hi all Can anyone send me the code for Loading values to JComboBox & then i want to Display Particular value for that Loaded value in JTextField. Ex: I loaded category cade for JComboBox & when JComboBox selected index change the particular category

  • WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'.

    <?xml version="1.0"?> <!-- <configuration>     <system.web>       <compilation debug="true" targetFramework="4.5" />       <httpRuntime targetFramework="4.5" />     </system.web>     <appSettings>       <add key ="ValidationSettings: UnobstrusiveVali

  • HP PROBOOK 430 G1

    HELP PLEASE NEED BIOS PASSWORD This question was solved. View Solution.

  • PowerPivotConfigTool has stopped working

    hi when I run PowerPivot Configuration tool for the second time(first it ran perfectly), I get this error message while it's in the "Examining your system. Please wait..." problem details: Problem signature:   Problem Event Name:    BEX64   Applicati