FM / BAPI Inbound delivery creation for a Purchase Order without material

Dear All,
I have a requirement to create a Inbound Delivery for a Purchase order without material number. The Purchase Order has only Material text and no material number. Please let me know a BAPI or FM to create inbound delivery in this case where there is no material defined on PO. I require BAPI / FM  since I have to make a web-service for the same.
Thanks in advance!
Abhishek

Hi I did a coding in one of the userexit. If ekpo-matnr is empty then fill
KOMDLGN-UMVKZ = 1
KOMDLGN-UMVKN = 1
KOMDLGN-MEINS = EKPO-MEINS
This parameters i.e. Qty conversion are necessary and since MATNR does not exists it has to be filled.

Similar Messages

  • Function module to create Inbound delivery with reference to Purchase Order

    Hi experts,
    I want to create Inbound delivery with refernce to Purchase Order. But I want to create item wise. For example If one purchase order is there with 10 line items. 10, 20, 30, 40, 50......100.
    If I am showing report for Purchase Order with select option and if I select first 5 line items 10, 20, 30, 40, 50 then my program should be create one Inbound delivery for selected line items only. I have tried BDC for Tcode VL31N, but its not worked. Is there any Function module to create Inbound delivery with reference to Purchase Order for selected line items????????

    Hi,
    Try FM RV_DELIVERY_CREATE or GN_DELIVERY_CREATE.
    For creating a delivery wrt PO u 1st need to have a sales order i guess.
    Regards,
    Amit

  • Create inbound delivery with reference to purchase orders

    Hi,
    I´d like to create inbound deliveries using BAPI or transactions like vl10x (for outbound deliveries) for different purchase orders, items and quantities.
    Does anyone know the way to do it?
    Thank you in advance
    Best regards

    Hi,
    Is there only that transaction to create inbound deliveries??
    We want to do a load a file and create inbound deliveries. I was looking for bapi mass transactions, but I don´t know if the only way is to create a batch input of transaction VL31n.
    Thanks

  • GTS 7.2 - Error with account assigned purchase order without material

    All,
    I am creating an account assigned purchase order without any material master in the feeder system (ECC 5.0) and it a standard SAP functionality.
    I am getting the following GTS related pop up message and documents are posted to technically incomplete documents in GTS 7.2.
    "Legal Control: Custs Prod. Mast. Required
    Material                                                  "
    Any ideas on how get rid of this error message
    Edited by: James Puzon on Oct 3, 2008 9:32 PM

    James,
    Even though material numbers are not mandatory on POs in the feeder system (ie in ECC) they ARE mandatory in SAP-GTS.
    This means that every line item (PO, SO, delivery) that is sent to GTS for compliance screening or Customs processing MUST have a material number in the feeder system.  You have a couple of options to resolve this:
    1. Always use a material number on all transactions that you enter in your feeder system if they are exports or imports (ie relevant for GTS). You can create service materials or "dummy" materials in ECC for items such as user manuals, warranties or installation services that are part of a particular shipment.
    2. You can add logic in the interface for GTS to always transfer a particular material number to GTS if the material number is blank on the line item of the feeder system document.  Ideally you would want to link this custom logic to a custom maintenance table in ECC so that you can easily change the material number that is sent to GTS without having to change the code.
    3. Override the error message by changing the message type to a warning or informational message (not recommended because this would require a small code modification because I don't think the message type is configurable for this error).  Even if you did make this code change you would likely run into more issues in GTS because license determination and other GTS services need a material number to function properly.
    Hope this helps.
    Sascha

  • Error during inbound delivery creation for some times not always

    Hi,
    I'm getting the following error when i'm trying to create an inbound delivery for PO.
                                                                                    Diagnosis                                                                               
    The system attempted to find the reference movement type for         
         the Warehouse Management system. A corresponding entry is            
         missing in table 156S with the argument 101/X/X/ / /X/.              
         The argument consists of:                                            
         o   IM movement type                                                 
         o   Indicator: Value update                                          
         o   Indicator: Quantity update                                       
         o   Special stock                                                    
         o   Movement indicator                                               
         o   Access indicator                                                 
         o   Indicator: Consumption         
    Can someone help me to resolve it? as it is not happening always
    Appreciates everyone time and help.
    Thanks and regards,
    Siva

    Hi,
    Thanks for the response and yes i did maintained IM/WM mvt types for 101 in both places.
    If the movement type is maintained well why SAP says it is not?
    SPRO > LE > WM > Interfaces > IM > Define Movement Types - "Assign WM Movement Type References to IM Movement Types'
    Related tabel is V_156S_WM
    If you check your configuration you will see that there are many entries with 101, and there are several other parameters...
    First you should check what you are doing in IM, what parameters that mvt has (qty, value update, special stock, etc) > after that you should check whether it is maintained well in WM customizing - see steps in my previous email.
    Regards,
    Csaba

  • Idoc creation for ORDERS5 (purchase order to sd order)

    Hi,
    I'm trying to get an idoc out of the PO but without success. I'm pretty new to idoc handling in SAP.
    In processing log of the PO messages I see the following:
    OK: Object 4500000213
    OK: Output type: Purchase order
    OK: Processing log for program RSNASTED routine ALE_PROCESSING
    ERROR: No partner profiles (message control) maintained
    The description gives me the following hint, but I have no Idea what to do.
    Diagnosis
    No IDOC partner profiles have been created for the message control for for application EF, condition key Z40B and change message '' with partner type 'LS' and partner role '  '.
    Procedure
    Please create the partner profiles for the logical system that should contain the IDOC. You can either generate them from the ALE model or create them manually.
    Kind regards and thank you for help!
    Florian

    Hello Indu,
    I created two partner profiles but still receive that message above:
    Partner No: 999999
    Partner Type: LI
    Outbound parameters: ORDERS
    Outbound Options
    Message type: ORDERS
    Receiver port: A0000000006
    Pack. size: 1
    Basic type: ORDERS05
    Message Control
    Application: EF
    Message type: Z40B
    Process code: ME10
    Partner No: XXXCLNT100
    Partner Type: LS
    Inbound parameters: ORDERS
    Inbound Options
    Message type: ORDERS
    Process code: ORDE
    Kind Regards,
    Florian

  • Is it possible to use IQS1 for purchase orders without material master?

    Hello,
    We are currently trying to come up with a way to send a notification on purchase orders which have GR's posted against them so that the purchasing team/requestor know that products have been shipped.  We have an office in Qatar where we would like to ship products to (which we are purchasing out of a catalog based in the US) and we need a way to track the shipment.  We are currently using T-Code IQS1 for any items which have been created as material master and are in stock within Qatar however we would like to utilize this t-code for products which are pulled in from a supplier catalog, which are not part of the material master.
    Is there a way to use IQS1 for non-material master products?
    Thanks,
    Katie

    Worked with my development team to locate the resolution.

  • Creation of Purchase Order Without material master

    Dear Experts,
    Can we create PO with out material master.
    1. If yes,  what is the functional objective behind creating PO with out material master
    2.  Where do you do the setting for the same
    I am trouble shooting on issue where once the user creates PO without Material master and with the account assignment caragory K and one GL account the FI document gets posted in MIGO and MIRO. But when I  use more than 1 GL account with the same above setting the FI document does not get posted.
    Any Input.
    Regards
    Paul

    Hi Tao,
    Thanks for your prompt response.
    The issue here is little different which i missed to mention above.
    with the account assignment catagory K when I put two different Cost center system does not go FI posting.
    paul

  • Purchase order without material master

    I wanna create purchase order for a material that does not have a material master record.
    is it possible to create it without entering account assignment? because i wanna buy it for an storage location and an sloc does not have any G/L account

    Hi
    You need to show purchase cost in some GL account. System recognises GL account through material master or material group with account assignment combination. Without these two you cannot identify to which account postings should happen. Assign a valuation class to a material group in OMWQ and assign a GL account to valuation class in GBB - VBR for automatic picking of GL account in purchase order. However you can overwrite this GL account as per the requirement.
    Thanks

  • GTS Stop delivery creation for blocked sales orders

    We implemented Note 579357 to stop the creation of deliveries when sales orders are blocked and everything works correctly except for rush orders (order type SO).
    After the note was applied, deliveries are not automatically created for rush orders even though the orders have gone thru screening in GTS and have been released.  Any solution to this problem???

    Dear GTS experts,
    I'm facing exactly the same problem with rush orders that Sammy Chan describes in his original post.
    I checked all replies but I have still no idea to solve this issue. The problem is that when creating the delivery during a rush order creation at the time the system reaches the copy condition with the implemented coding there is no order number available to check against in GTS.
    As the whole thread is marked as answered I hope someone can help me.
    Best regards,
    Ulrich

  • Automatic PO creation for Service Purchase Order

    Dear friends , good afternoon !
    Is it possible to create Service PO's automatically via ME59 ?
    We tried to flag on the automatic PO generation in the vendor master , and assign an vendor master to the purchase requisition but no PO was triggered.
    Does anyone knows the way to make it possible ?
    best regards,
    Ale

    HI,
    You can not create Service PO with ME59N.
    Problem is that you can not maintain info record(ME11) for Services because of their consumble in Nature.
    It is STD SAP functionality.
    Although You can maintain info record for material with out Material Master but it not in case of Services.
    Hope Clear U !
    Regards,
    Pardeep malik

  • BAPI for VL31N (Inbound Delivery Creation

    Hi,
    My requirement is I need to write a program create a inbound delivery based on multiple Purchase orders.  Usually Inbound deliveries are created through transaction VL31N. As it is SAP njoy transaction, we can write a BDC code for this. I searched a suitable BAPI, but i found none. 
    Anyone have any idea on this ?
    Regards,
    Ganesh

    Use the below function module to create a inbound delivery with the PO number
    DATA: IS_INB_DELIVERY_HEADER LIKE BBP_INBD_L.
    IS_INB_DELIVERY_HEADER-DELIV_EXT = 12121
    IS_INB_DELIVERY_HEADER-DELIV_DATE = 08/16/2006
    DATA: T_DETAIL LIKE LIKE BBP_INBD_D OCCURS 0 WITH HEADER LINE.
    T_DETAIL-MATERIAL = 'xxx'.
    T_DETAIL-DELIV_QTY = '10.000'.
    T_DETAIL-UNIT = 'EA'.
    T_DETAIL-PO_NUMBER = '45XXXXXX.
    T_DETAIL-PO_ITEM = '000010'.
    APPEND T_DETAIL.
    DATA: T_RETURN LIKE BAPIRETURN OCCURS 0 WITH HEADER LINE.
    DATA: V_VBELN TYPE VBELN_VL.
    CALL FUNCTION 'BBP_INB_DELIVERY_CREATE'
    EXPORTING
    is_inb_delivery_header = is_inb_delivery_header
    IMPORTING
    EF_DELIVERY = V_VBELN
    tables
    it_inb_delivery_detail = T_DETAIL
    return = T_RETURN
    Regards,

  • Inbound delivery creation with out reference to purchase order

    As per my requirement i am third party warehouse who provides space for my customers . i receive  goods from lot of customers who have their own ERP system or may not be any ERP system . The goods i am going to receive is non valuated material. How do i receive GR in the above scenario.
    I am thinking to create one dummy purchase order and then create inbound delivery. Otherwise How do i create inbound delivery without reference to any documents?.

    Hi,
    Inbound delivery
    You can create  purchase Order(ME21N),inbound delivery in t.code: VL31N and Goods Receipt in t.code: VL06IG and post the goods wrt PO into the GR blocked stock (movement 103) and finally you can release goods from blocked stock to unrestricted stock with 105 Movement type, if satisfy quality or other criteriau2019s.
    Or
    As you said, you just keeping customer stock better create material with non-valuated material type UNBW and do regular process like PO, GR & GI etc.Inbound delivery  not required for above said process.
    Regards,
    Biju K

  • Inbound delivery creation in WM - mapping to process type 1011 in EWM

    Hi All,
    I am new to EWM and have to configure handling units for picking and putaway in EWM.
    I am creating an inbound delivery w.r.t Purchase order in WM and passing it to EWM.  During the warehouse order creation I am packing the materials in a packing material. however, the warehouse process type is 1010 and I want it to relflect 1011.
    So I wanted to know how to configure the system either on the WM or the EWM side so that when the inbound delivery is received on the EWM side it maps it to process 1011.
    Arup

    Hi,
    To put across my question more clearly here is where I am right now. I pass the delivery to the EWM side. There I pack the materials. There is a HU association with the packing material.
    When I go to the screen with the follow on functions- warehouse task. Then when I choose the handling unit tab and click on the exectute button associated with the Whouse Req then there should be a Line item displaying the handling unit that was created in the previous step.
    However this is not happening and when I click on the execute button the line item does not show up.
    So I was wondering if there is some configuration that needs to be done to get the HU displayed?
    Arup

  • Confirmation control key check for inbound delivery creation

    Hi,
    Currently, in the Client's company, the process of receiving goods from purchase orders looks like that (SAP-wise):
    - create a purchase order,
    - receive goods using MIGO and automatically create an inbound delivery,
    - pack the delivery and post goods receipt.
    Recently, some patches have been installed, including one described by note 1602047 (which basically enforces checking confirmation control keys if goods receipt assignment and goods receipt relevance are activated for inbound deliveries). Note says that it only affects two-step stock transfer and creation of automatic inbound deliveries using SPED output but it seems it also affects other basic processes like PO receipt in MIGO.
    Now, when using the old control key (that had MRP-Relevant and GR-Relevant fields checked), the system is unable to automatically create an inbound delivery after the goods receipt is posted with MIGO (with message VL148 - Not possible to create an inbound delivery). I learned that this is because the "GR Assignment" field must be checked in the confirmation control key so it's possible to automatically create aninbound delivery after receiving a purchase order in MIGO.
    After changing the confirmation control key to have the missing field checked it's not possible anymore to receive goods from PO in MIGO as the PO requires shipping notification in order to be processed in MIGO thus requiring of manual creation of an inbound delivery.
    Is there any way to skip this check so the process would remain the same (this model has been working fine for few years in the Client's system) and the inbound delievery would be created automatically after posting the receipt in MIGO?
    Thanks in advance,
    Piotr

    Hi,
    don't know if you found a solution, but we received the following message from SAP:
    The advent of the new version requires some attention to the users. It
    was necessary to avoid inconsistencies which in the past version the
    system was susceptible.
    Main Program SAPMM07M
    Source code of MM07MLVS
    sy-msgid VL sy-msgty E sy-msgno 148
    I have checked the process and through debugged I could confirm the
    following information SAP is providing to all similar incidents reportedfor us:
    Error message VL 148 is issued if in the confirmation control key used
    in the purchase order, the fields for MRP-relevance (T163G-KZDIS),
    GR relevance (T163G-WEREL) and GR assignment indicator (T163G-WEZUO)
    are not set.
    The correction of note 1602047 was necessary to avoid inconsistencies
    (table EKES) in the purchase order. Without having the GR assignment
    (T163G-WEZUO) set, there is no unique reference created between the
    purchase order history (table EKBE) and the inbound delivery
    confirmation (table EKES) at goods receipt which leads to a problem if
    several inbound deliveries exist for the same purchase order.
    If you set T163G-WEZUO to 'X', this assures that, for an inbound
    delivery, the confirmation record (EKES) belonging to this inbound
    delivery (EKES-VBELN) is also accurately updated at goods receipt.
    How to solve the issue?
    Use a confirmation control key with the GR assignment indicator set
    and then create the inbound delivery with VL31N. If you want to be able
    to create the inbound delivery with reference to a certain line item in
    the PO, use transaction VL34.
    If you still want to use transaction MIGO, there is the following
    workaround:
    - Create a purchase order without any confirmation control key
    - Create a goods receipt (GR) in transaction MIGO with reference to this PO and post the GR to a non-HU-managed storage location
    - Create a transfer posting with MIGO using movement type 311 to
    transfer the goods from the non-HU-managed storage location to the
    HU-managed storage location.
    As the transfer posting is an additional step for the user, the whole
    process could be automated using a partner storage location
    (T001l-PARLG) for the GR which then triggers (through a modification)
    the BAPI 'BAPI_GOODSMVT_CREATE' to create the transfer posting without
    user interaction.
    I hope to have satisfied you on the reason why it is now happening and
    also I believe you can explain to business that it is a new behavior
    necessary done from SAP side to avoid worse situations, we are aware of
    potential dissatisfaction it might cause. SAP Support is always
    available to clarify any issue.
    Sorry for not having a more positive answer.
    I hope it helps!
    Leentje

Maybe you are looking for