Bapi for partial good issue with ref to reservation

I have check the bapi for goods issue with ref to reservation. But how to take care scenario where good issue qty is less than reservation qty. How to map this in bapi.
Please provide input its urgent
Thanks
JENA

Hi Jena,
Implement a check in your program calling  BAPI_GOODSMVT_CREATE.
If you call BAPI_GOODSMVT_CREATE in your own program you have to fill the interface of it (GOODSMVT_HEADER, GOODSMVT_ITEM ...).
So in the first step you have to select/colect all the required data for the interface. If you want to post a goods-issue with
reference to a reservation you can implement a quantity-check in you own program similar to the checks in transaction MB1A or transaction MIGO which lead to message M7064. All the required informations are stored in the table "RESB - Items of reservation".
This is the quantity-check implemented in transaction MIGO (... see note 409754):
Take only reservation items with open quantity > 0 or
   or flag 'propose all items' is set (->default settings)
     l_open_quantity = ls_resitem-bdmng - ls_resitem-enmng.   >(1)
     CHECK l_open_quantity > 0 OR
            s_defaults-propose_all_items = abap_true.
l_open_quantity  = open quantity -> is calulated here
ls_resitem-bdmng = Requirement Quantity ->
                    table RESB / field BDMNG
ls_resitem-enmng = Quantity withdrawn ->
                    table RESB / field ENMNG
Furthermore you could check, whether the quantity you want to post now is larger than the (remaining) open quantity. If this
not the case you could add this item to the interface-data. Otherwise you can ignore it and send a corresponding message or add the item to an error-log.
After the check has been carried out and the interface has been filled with the valid items you can call BAPI_GOODSMVT_CREATE.
In the customizing-transaction OMCQ you can maintain the category of messages. If you set the message M7 362 to the category "E - error message" the BAPI_GOODSMVT_CREATE will return with   this (error-)message as soon as the requirement quantity is exceeded by the goods-issue("Reserved quantity exceeded by ...").
But: other processes/applications are using these settings too.
This means: these processes/applications might have a different behaviour after your changes (error-message instead of a warning-  message ... for example).
I hope this helps,
Elaine.

Similar Messages

  • BAPI For Create Goods Issue for Sales order with picked quantity

    Hi friends,
            Is there any BAPI available to create Goods issue For sales order with picked quantity...............?
    we hv used BAPI_OUTB_DELIVERY_CREATE_SLS
    with sales order .......its creating delivery order but not doing goods issue with piked quantity........

    pls,reply its argent

  • BAPI for billing doc. creation with ref to outbound delivery

    Hi,
    I'm looking for BAPI to create pro forma invoice billing doc with red. to outbound delivery.
    I have tried using BAPI_BILLINGDOC_CREATEMULTIPLE entering the outbound delivery as ref. document and all other required data. Pro forma is create but pricing is not copied since the bapi considers the delivery number as external doc.
    It seems that BAPI_BILLINGDOC_CREATEMULTIPLE is designated to billing doc. with ref to sales orders
    Would appreciate any suggestions,
    Assaf

    Hi,
    In Function Module initial screen, there is no input parameter. Directly choose execute.
    system will give the create billing document screen enter delivery document number and execute.
    Why are using BAPI  to create billing document with reference to delivery document.
    you can create background job for billing through VF06.
    Regards,
    Chandrasekhar.S

  • Goods Issue not possible with ref to Reservation using 201 mvt type when reservation created by 311 movement type

    HI MM Folks,
    My requirement is reservation should be created with 311 movt type. When we do good issue with 201 movt type with reference to reservation
    system is throwing an error "Goods movement not possible with mvmt type 311". Due to MRP run we should create a reservation using 311 movement type but not 201 mvt type, (If we create a reservation 201 movt type, during MRP run automatically reservation quantity also taking into consideration, to avoid this we will be creating reservation as 311 movt type). Is there any enhancement to available to reach the requirement. If it is possible give me guidelines.
    your help will be highly appreciable.
    Regards
    Vinay

    Dear,
    Movement type 311 is for doing transfer posting from storage location to storage location with single step.But Movement Type 201 is to have consumption entry with respect to cost center etc...
    You are creating a reservation using 311 movement type and while posting the entry you are selecting the"Executable action in MIGO" is "A08-Transfer Posting" so system will always use the movement type used at the time of reservation only.Here you can not change.
    And more over if you process entry with 201 movement type system creates accounting documents but with movement type 311 system will not create accounting documents.
    Regards,
    Pardhu

  • Post Goods Issue with BAPI with reference to BOM

    Hi All,
    I want to post Goods Issue with BAPI / FM with reference to BOM.
    The requirement is like to replicate what we can do with MB1A with reference to BOM with BAPI / FM.
    Please give ur suggestions.
    Thanks in advance.
    Chintan.

    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_forums_rm&query=kanban&adv=false&sortby=cm_rnd_rankvalue&sortmode=true&searchmode=similar&similardocsuri=/forumsrm/1_category/42_category/50_forum/34196_thread/322837_message

  • Partial Goods Issue against a Delivery Document

    Dear Xperts,
    I am having a scenario regarding standard Stock Transport Process with Delivery(Material Movement 641).
    My requirement is, when I will create a Stock Transport Order the Delivery document will automatically be created at the same time.This can be achieved thru customization.
    But the problem is , the material quantity in the delivery document will be same as the order quantity in PO.My question is :
    1. Can the user change the quantity in delivery which is automatically got created at the time of PO creation.
    2. If yes, then for the remaining order quantities , shall the system will automatically create another delivery?
    3. If no, can we do partial goods issue against that delivery if total material is not available at sending plant?If yes , how to configure?
    Means , In delivery my material qty is 10, can I do Post Goods Issue of leass than 10 qty & create a proforma invoice against that delivery and do the P.G.I. and Billing again against that delivery?
    Plz advice.
    Regards,
    Soumick

    Hi
    As per your scenario you can do the PGI (post goods issue ) for partial quantity only if u required later for reaming quantity when ever stock is available that time you can do again PGI by using the same delivery no for reaming quantity but for this
    In PO you have unchecked the Delivery  completed indicator with   this when ever complete goods are coming then only PO will
    be close up to that PO will be in open Status
    Regards
    Balaraju

  • How can partially goods issue in delivery document?

    hi,
    I created delivery document with 20 delivery quantity at first. after that I want to create partially goods issue. for example i want to have 10 quantity in pick quantity and at first 10 quantity goods issue and save and another time goods issue the remained quantity. but I can not configure the system to do this.
    thank you.

    Lida,
    As per standard SAP, you cant do partially picking. If you want to do partial elivery of item, change the quantity of the delivery item in the delivery and pick the full qty. for example :
    Sales Order 10 Qty,
    Delivery 5 qty
    Picking 5Qty
    This will be partial delivery,
    Thanks,
    Raja

  • Goods Issue with Serial number reversal

    Hi Experts,
    I have an item which is set to Inventory Item and Sales Item. I brought it in via Inventory/Good receipts to assign serial numbers.
    I realized I used the wrong Warehouse and wrong item Code ( I have 2 codes set the same but for different recording purposes)
    Unfortunately did I turn around and created a goods issue with the serial numbers to wash it but I do nee the serial numbers available to do my correct entry. How can I get my Serial numbers back which show no unavailable.
    If I try to set the item also as Purchase Item and try to do a return it wont show. Please advice.
    Thanks

    Hi,
    Receive again with correct item code and ware house with same serial number.
    If not, Please explain with an example.
    Thanks & Regards,
    Nagarajan

  • Goods Issue with reference to Material document

    Hello,
    I would like to create Goods Issue with reference to material document (Transfer Posting document) , but the following message appears :
    "Selected material document does not correspond with action to be executed".
    Is it possible to create Goods Issue with reference to Transfer Posting (mov.type 311 - from stor.loc. to stor.loc.)  ?
    Thanks

    Thanks,
    probably I'll have to find another way to solve this business requirement of copying the transfer document data in GI.
    We have an auto created transfer postings via interface from another system and the main idea was to use already entered fields in transfer posting document such as material , quantity , text , goods recepient , etc. and not to enter them twice when GI should be created. In our case (it's a case for certain materials) it's always 1:1 relationship, so the idea was to facilitate the job of creating the GI, because GI should contain the same data as in transfer posting document.

  • Unit of measure for stock , Goods issue , Purchase.

    Dear All Experts,
    How we can maintain different unit of measure for Stock, Goods Issue, Purchase?
    Regards,
    Sandeep.

    Hi,
    The UOM qualifies the quantity you enter on the
    purchase order line. This will default in if you entered an item number, if not enter
    a UOM of your choice using the List of Values.
    Please Refer the following links...hope it helps you....
    http://help.sap.com/saphelp_45b/helpdata/en/c6/f83bb94afa11d182b90000e829fbfe/content.htm
    http://www.admin.cam.ac.uk/offices/finance/training/manuals/inv_training_stores_user.pdf
    Regards,
    Udaya.

  • Goods Issue with PI sheets

    Hi
    I am trying to do Goods Issue with PI sheet in SAP v4.7c. I have used the following characteristics however only the finish product and the qty comes up in the PI Sheet.
    can any one please let me know what should be done to have components assigned to the phase or irresepective of the phase:
    The scope of the Component Recipe destination is 03: for all order items and reservation and
    the position is 05: at the start of the phase
    The characteristics used are:
    PPPI_INPUT_GROUP          Material list
    PPPI_MESSAGE_CATEGORY          PI_CONS
    PPPI_PROCESS_ORDER          
    PPPI_RESERVATION          
    PPPI_RESERVATION_ITEM          
    PPPI_MATERIAL          
    PPPI_VARIABLE          'MYVAR&0050&'
    PPPI_MATERIAL_CONSUMED          
    PPPI_UNIT_OF_MEASURE          
    PPPI_AUTOMATIC_VALUE          Event date
    PPPI_AUTOMATIC_VALUE          Event time
    PPPI_OUTPUT_TEXT          Material
    PPPI_OUTPUT_CHARACTERISTIC          PPPI_MATERIAL
    PPPI_OUTPUT_TEXT          Material quantity-target value
    PPPI_OUTPUT_CHARACTERISTIC          PPPI_MATERIAL_CONSUMED
    PPPI_OUTPUT_TEXT          Unit of measure
    PPPI_OUTPUT_CHARACTERISTIC          PPPI_UNIT_OF_MEASURE
    PPPI_INPUT_REQUEST          Material quantity-actual value
    PPPI_DEFAULT_VARIABLE          'MYVAR&0050&'
    PPPI_REQUESTED_VALUE          PPPI_MATERIAL_CONSUMED
    PPPI_VALIDATION_FORMULA          ( X > ( 0.95 * 'MYVAR&0050&'))
    PPPI_VALIDATION_FORMULA          AND
    PPPI_VALIDATION_FORMULA          ( X < ( 1.05 * 'MYVAR&0050&'))
    PPPI_OUTPUT_TEXT          Unit of measure
    PPPI_OUTPUT_CHARACTERISTIC          PPPI_UNIT_OF_MEASURE
    PPPI_INPUT_REQUEST          Batch
    PPPI_REQUESTED_VALUE          PPPI_BATCH
    PPPI_MESSAGE_CATEGORY          SIGN
    PPPI_PROCESS_ORDER          
    PPPI_CONTROL_RECIPE          
    PPPI_OPERATION          
    PPPI_PHASE          
    Can any one please let me know where am I missing!!
    Thanks in advance
    -Rahul

    This is at control recipe creation or you are checking the instruction in the process order ?
    This is a simple PI which is working OK fo rmaterial consumption.
    Check it.
    10     PPPI_DATA_REQUEST_TYPE     Solicitud de datos simple
    20     PPPI_MESSAGE_CATEGORY     PI_CONS
    30     PPPI_UNIT_OF_MEASURE
    40     PPPI_OPERATION
    50     PPPI_OUTPUT_TEXT     Operación
    60     PPPI_OUTPUT_CHARACTERISTIC     PPPI_OPERATION
    70     PPPI_PHASE
    80     PPPI_OUTPUT_TEXT     Fase
    90     PPPI_OUTPUT_CHARACTERISTIC     PPPI_PHASE
    100     PPPI_RESERVATION
    110     PPPI_OUTPUT_TEXT     Reserva
    120     PPPI_OUTPUT_CHARACTERISTIC     PPPI_RESERVATION
    122     PPPI_RESERVATION_ITEM
    126     PPPI_OUTPUT_TEXT     Item
    127     PPPI_OUTPUT_CHARACTERISTIC     PPPI_RESERVATION_ITEM
    150     PPPI_PROCESS_ORDER
    160     PPPI_AUTOMATIC_VALUE     Hora de evento
    170     PPPI_AUTOMATIC_VALUE     Fecha de evento
    180     PPPI_MATERIAL
    190     PPPI_OUTPUT_TEXT     Code
    200     PPPI_OUTPUT_CHARACTERISTIC     PPPI_MATERIAL
    210     PPPI_MATERIAL_SHORT_TEXT
    220     PPPI_OUTPUT_TEXT     Material
    250     PPPI_OUTPUT_CHARACTERISTIC     PPPI_MATERIAL_SHORT_TEXT
    300     PPPI_MATERIAL_QUANTITY
    330     PPPI_OUTPUT_TEXT     Plan
    360     PPPI_OUTPUT_CHARACTERISTIC     PPPI_MATERIAL_QUANTITY
    400     PPPI_MATERIAL_CO_PRODUCT
    500     PPPI_OUTPUT_TEXT     Um
    600     PPPI_OUTPUT_CHARACTERISTIC     PPPI_UNIT_OF_MEASURE
    700     PPPI_INPUT_REQUEST     Lote
    800     PPPI_BATCH
    900     PPPI_REQUESTED_VALUE     PPPI_BATCH
    1000     PPPI_INPUT_REQUEST     Cantidad Real
    1100      PPPI_MATERIAL_CONSUMED
    1200     PPPI_REQUESTED_VALUE     PPPI_MATERIAL_CONSUMED
    1300     PPPI_INPUT_REQUEST     Sloc
    1400     PPPI_STORAGE_LOCATION
    1500     PPPI_REQUESTED_VALUE     PPPI_STORAGE_LOCATION

  • Pick and Pack / Goods Issue with Multi Batch Pickup

    Dear Friends,
    Can anyone explain me the process of Pick and Pack / Goods Issue with Multi Batch Pickup.
    Harsh

    Hi Mathur,
    Please refer these links on working with batch splits in deliveries :
    <a href="http://help.sap.com/saphelp_47x200/helpdata/en/38/c1853488601e33e10000009b38f83b/frameset.htm">Batch split</a>
    <a href="http://help.sap.com/saphelp_47x200/helpdata/en/38/c1853488601e33e10000009b38f83b/frameset.htm">Executing Multi batch</a>
    <a href="http://help.sap.com/saphelp_47x200/helpdata/en/38/c1853488601e33e10000009b38f83b/frameset.htm">Transferring Batch Data from Deliveries into Warehouse Management</a>
    Hope it helps. Please reward if useful.
    Thanks & Regards
    Sadhu Kishore

  • BAPI for creating scheduling agreement with reference to Contract agreement

    Hi All ,
    Can anyone please suggest if there is any BAPI for creating scheduling agreement with reference to the contract agreement number.
    Thanks for your help.
    Vadivukkarasi

    Hi,
       Check this BAPI <b>BAPI_AGREEMENT_MAINTAIN.</b>
    check these
    BAPI_CUSTSCHEDULAGREE_CONFDELV Customer Sched. Agreement: Confirmation of Delivery; Document Flow Upd
    BAPI_SALES_DEL_SCHEDULE_CREATE BAPI for creation of releases in scheduling agreements
    Regards

  • BAPI for Free Goods determination

    Hi Folks,
    Can anybody help me providing the BAPI for "Free Goods determination" in MM.
    I checked the BAPI_FREEGOODS_CONDITIONS; but I would like to know the BAPI which triggers the free goods determination while creating PO.
    For eg I hv  condition records in MBN1 and it triggers free goods in PO.
    Points for sure
    Thanks

    Hi
    check the BAPIs
    BAPI_FREEGOODS_CONDITIONS    
    CND_FREEGOODS_CALL_BAPI      
    CND_FREEGOODS_DEL_AFTER_INIT 
    CND_FREEGOODS_MAP_BAPIMTCS   
    if doesn't serve the purpose do it by BDC method
    Regards
    Anji

  • Goods Issue with reference to Purchase Order

    Hi MM Gurus,
    Is there any settings to do Goods Issue with reference to Purchase order?
    I want to capture the material price in purchase order during goods issue instead of standard price or moving average price.
    Thanks in advance
    Dinesh

    Hello Dinesh,
    Batch valuation is similar to split valuation. Here is the link on how batch valuation works.
    http://help.sap.com/saphelp_47x200/helpdata/en/25/283db54f7811d18a150000e816ae6e/content.htm
    Please check in sandbox environment before using.
    Hope this helps.
    Regards
    Arif Mansuri

Maybe you are looking for

  • Nokia 6280 display issue!!! Pls help!!

    Hi there everyone! I live in United States and i use nokia 6280 for almost 1 year, but recently my phone display turn black whenever I slide it up/down. and i can't make a call with black screen as my display, and i also think that this is a strange

  • Mail marked do not goes away!

    I have some mails "marked" filed away into his folder.  I raised the emails but the folder still indicate the number.  What I have to do to cancel this number?

  • IWeb Helvetivca Neue font substitution

    I recently did a lot of work on my website using Helvetica Neue as the main font. I think this is a system font, appearing as HelveticaNeue.dfont in the system folder. The problem is that, for other reasons, I had to do an archive and install of OSX.

  • My photosmart C 4750 will not accept glossy paper for printing pictures.

    My photosmart C 4750 will not accept glossy paper for printing pictures. Vista OS 32 bit. Paper jams completely with either single or multiple sheets. No changes to the system. Plain paper feed just fine. Thanks

  • MacBook pro retina 15" V.10.8.3

    I have MacBook pro retina 15" It was very fast everytime. When I update to 10.8.3, it hungs all the time and I can't work on it. I never hered the sound of the fans and the computer was always cool. Now the fans running most of time and the computer