Purchase order message Re-determination after goods issue is posted

We have a requirement to trigger special function message type (which creates a flat file) in a purchase order when goods issue for all items are posted. We have created a requirement routine for message type to check if goods issue is posted for all line items. Goods issue is posted using BAPI which uses transaction MIGO. When goods issue is posted, we want output to be triggered in purchase order. Requirement is working fine but is there any way to trigger output automatically without going to PO?
After goods issue is posted, if we go into purchase order using ME22N then we see output proposed or if we make any changes in PO then output is proposed. This will not happen in real life though.
Any suggestion will be highly appreciated. Thanks.
Sanjay

Hello,
You can create a new output message record in NAST using RV_MESSAGE_UPDATE:
CALL FUNCTION 'RV_MESSAGE_UPDATE'
      EXPORTING
        msg_kappl = 'EF'
        msg_objky = w_objky
      TABLES
        msg_xnast = itab_nast
        msg_ynast = itab_nast_old
      EXCEPTIONS
        no_update = 1
        OTHERS    = 2.
Once the record is created, you may submit the program RSNAST00 to output the message.
Thanks,
Venu

Similar Messages

  • How to re-run output determination after goods issue through idoc

    Hello,
    i've got a question about output determination. We are currently in a process to automate picking, packing and goods issue through a 3rd party software. The software creates DELVRY03-Idocs including picking, packing and goods issue-information. Picking, packing and goods issue work just find and after submitting the idoc, the delivery is updated as needed.
    The problem arises when it comes to printing the shipping document on the printer belonging to the picking station that just processed the delivery. To determine the correct printer, the external software includes the picking station number inside the idoc. A user exit in idoc_input_delivery puts the number (3 digits) into likp-traid. The customizing for using this field inside output determination is complete and seems to be working.
    The problem is: as the number of the picking station is not known before goods issue, the LD00 message must not be generated before goods issue. I used the appropriate condition insinde the message scheme, the message is not generated until goods issue is complete. After processing the DELVRY03-Idoc, the message should be found and generated, but it isn't. When i take a look at the delivery after submitting the idoc, goods issue is complete, picking and packing is done - and no sign of an header message of type LD00. First i thought about a misconfiguration inside my customizing for output determination, but when i access the delivery via vl02n (change delivery), output determination seems to be processed again and without making any changes or actions, LD00 is generated and waiting for processing. After saving the delivery, LD00 is processed and the shipping document is printed exactly where it should be.
    So, as my customizing seems to work and everything else around idoc processing doesn't make any problems either, i conclude that, after processing the idoc, R/3 just needs a little kick to re-run the output determination, find the now fitting condition for LD00, find the appropriate entry in the condition table and print the document.
    I already tried report rsnast00, but this one just seems to run already created messages.
    Any ideas how to automate this little "kick in the butt"?
    Thanks in advance!

    I'm working on a similar issue with ws_delivery_update. I'm not using the IDOC as you are, but I'm using the function in a program of mine to PGI the delivery, but the output isn't being added to the delivery. I've tried to run the function twice as you suggested, but that doesn't seem to work. Do you have any suggestions or ideas on things to try?
    Thanks,
    Eric

  • Purchase order delivery shedule tabl , no Good issue date, loading date.?

    Hi Experts
      We found some Purchase order, in po item, it is without goods issue date, loading date and so on.
    Material has set ATP check on mrp3. what's possbile wrong? something wrong for matieral setup or others?
    Thanks
    Alice

    Hi
    Really thanks for your help. You mentioned " SD delivery of the sending plant is created and processed."
    Do you mean in material master , the sales view -delivery plant will impact this po GI date and Loading date? It maybe something wrong?
    Thanks
    Alice

  • Automatic Batch Determination during Goods issue of Production Order

    Hi,
    Iam trying to set up automatic batch determination during Goods Issue against a production order. My requirement is system should automatically run the batch determination similar to the case in production order.
    I have set up all the required configs for batch determination. But to get the batch I need to click on the batch determination button. What I need is without clicking on anything. How can I do this. Whats the config needed
    Thanks and Regards
    Enrico

    Dear Enrico
    It is required lot of set up both in production order parameters and Batch Managemnet .I am providing you a summery of it .
    Configuration Required for your above issue are as follows :
    1.Activated Batch Management in the Material Master-MRP2 view and Work Scheduling view of the FG
    2.check material master MM02, tab MRP2 and set field "Batch Entry" to value 3 here
    4.You maintain a Search Procedure in OPL8 - Order Type Dependent parameters .Before that you should have Batch serach strategy :The sequence of steps are as follows -
    Create Condition Tables
    Create Access Sequences
    Create Strategy Types
    Batch Search procedure definition
    Batch Search procedure allocation and check activation
    Define Selection classes
    Define sort rules
    Maintain Batch Allocation Strategy Number Ranges
    All the above are available in the Path - SPRO --->Logistics-General ---> Batch Management ---> Batch Determination and Batch Check
    5.Maintain the setting in T.code OPKP (production scheduling profile). Select automatic batch creation on order creation.
    6.If u want to execute the batch determination for components in the component overview of production order , then u have to create batch search strategy at COB1
    7.If u want to execute during order confirmation u have to create batch search strategy at MBC1.
    Refer the below link for your farther reference :
    http://help.sap.com/saphelp_47x200/helpdata/en/25/28428b4f7811d18a150000e816ae6e/frameset.htm
    Hope this will be useful
    Regards
    JH
    Edited by: Jiaul Haque on Jun 22, 2010 11:28 PM

  • MPN Manufacturer batch determination during goods issue

    I am from pharma industry and my business runs with batch management, MPN features.
    Scenario:
    I have 3 different finished product P1, P2 and P3. All three finished products use raw material R1.
    But, I have restrcition like, when I am manufacturing P1 product I can only use R1 of batch from manufacturer M1.
    For P2 material we can use R1 batch from manufacturer M2 only.
    For P3 material we can use R1 batch from manufacturer M1 and M2.
    Now, I have maintained the BOM CS02 batch classification for three differ FGs P1, P2 and P3 with relation P1-R1-M1, P2-R1-M2, P3-R1-M1+M2.
    In COB2 T-code I am mainmtaining strategy type CO02 - Order type/Plant/Parent material with child relation ship. Here also, I am maintaining relation P1-R1-M1, P2-R1-M2, P3-R1-M1+M2.
    Now, when I am creating process order in COR1, I am getting in case of P1 order R1 material batch determination only batches from M1 manufacturer.
    Same as for P2 material process order R1 material only batches for detrmination from M2 manufacturer.
    Same as for P3 material process order R1 material batch determination option from M1 and M2 only.
    Now, if I don't go for batch determination through Process order and in stead of that if I want the batch determination during goods issue MIGO 261 movement against order, the above manufacturer level control we can't put.
    As in MBC2 T-code, we have standard batch determination and search strategy for material, plant and movement type.
    But, here we can't maintain any parent child relationship.
    Now, can you please suggest how I can control manufactuer batch detrmination as per above strategy during Migo goods issue.
    Through any standard settings we can do or, any exits required?
    Gurus please suggest!

    Dear
    You can do this by using FM CO_WB_BATCH_DETERMINATION or VB_BATCH_DETERMINATION function module.
    here you can sort the batches and compare the Batch results with the batch search strategy.
    Regards,
    R.Brahmankar

  • Material in stock after goods issue

    Hi Friend,
    Though material is issued to cost center , it is showing in stock under inresticted stock ,WHY? (In MMBE report)
    Regards,
    Mahesh.

    HI,
    After doing goods issue to cost center following message comming -
    EXPRESS DOCUMENT- "UPDATE WAS TERMINATED" RECEIVED FROM AUTHOR "MAHESH"
    material document is also not getting created.
    Your goods issue not post.
    with help of Basis person  check why it so
    check number range also
    Regards
    Kailas Ugale

  • Override consignment price  determination during goods issue process

    Hi ALL,
    My requirement is that User is asking want to override consignment price  determination during
    goods issue process. Is there any BADI/User Exit or  Enhancement spot which can override the price value and in the
    database level during Goods issue.
    If yes provide me the enhancement details and where I can implement.
    I will very thankful to you all if I get your valuable input.
    Regards
    Subhasis

    Dear Laxman,
    Check these links,
    https://wiki.sdn.sap.com/wiki/display/ERPLO/Batch+Determination
    Automatic batch determination
    Re: how to make the batch determination process automatic
    Regards
    Mangalraj.S

  • How to prevent changes qty. reservation after goods issue

    Dear Expert,
    Is there a way to prevent user change their reservation qty. after goods issue?
    Example :
    Reservation No 32XXXXX item 01 requirement.qty = 5 PC
    Goods issue                                                            = 5 PC
    After GI, user change qty of reservation to            = 3 PC
    and Save it
    Best regards,
    Dedy W

    Hi,
    You can delete respective Reservation Item with MB22 t-code.
    With this deletion indicator, you can manually earmark an item for subsequent deletion (if, for example, you do not expect any further movements in respect of this item or prevent any changes in the reservation). The actual deletion process is then performed by a reorganization program (MBVR).
    Regards,
    Girang

  • Raise purchase order in me21n for 100 goods

    HI,
    i have problem. i raise purchase order in me21n for 100 goods.for that purchase order in MIGO i received 75 goods.when the invoice verification i found only 50 goods.how to clear in gr/ir in the month end process. please someone help me.
    regards
    subbarao

    Hi
    Reverse the MIRO and MIGO documents , and Post the MIGO and MIRO with actual quantity received
    Regards
    Rams

  • Authorization Object for Purchase order Message control

    Hi ,
    Is there any stadard authoriztion object to control the print and print preview options for Message control .
    I am requied to control the print and print preview options for purchase order messages for certain users depeding on there authorizaion.
    Thanks in advane.

    Hi,
    When you click on the 'print preview' button on ME22N/ME23N the system
    makes an authority check on transaction ME9F activity 04. The current
    logic forces the print preview functionality to be accessed ONLY by the
    users who print. Therefore, only users that have authorization to use
    ME9F are authorized to use the Print Preview button in ME22N/ME23N.
    Kindly try the authorization objects M_BEST_EKG, M_BEST_BSA and
    M_BEST_EKO = 04.
    You can
    also have a look the  user exit
    EXIT_SAPLMEDRUCK_001 in enhancement LMEDR001 for print program
    SAPLMEDRUCK.
    INCLUDE ZXM01U04
    you can create own coding for all possible AUTHORITY-CHECK.
    BR
    Nadia Orlandi

  • Auto print of Goods Issue/Transfer Posting Documents by Movement type

    Hi,
    We have created two different output types to print the layout's of Goods Issue/Transfer Posting Documents.
    The requirement is to default the message in the document by movement type (key combination)
    Meaning if it is 201 it should populate GI output type
    If it is 313 it should populate TP output type.
    we do not have any standard key combination  (NACR) by movement type wise.
    Any alternative way of meeting this requirement?
    Thanks
    Regards
    Ram

    Hello Kevin,
    I donu2019t think it is necessary to use a user exit to keep the Material B (that is transferred from Material A) in the same bin.
    This can be controlled in the customizing: indicator Post to same bin, that can be set in the WM Movement type (V_T333-KZUAP) and in the Storage type (V_T3010-KZUAP).
    Now I donu2019t know your business process but I am surprised that Material B requires more space than Material A since it is u2018bornu2019 by means of a transfer posting and not a production or packing step that makes it bigger in terms of capacity required.
    A workaround for this could be to transfer (LT10) Material A first to a separate Storage type (with the Post to same bin-flag set) that has no Capacity check and after the 309 posting transfer it back into the warehouse with LT10.
    Success and thanks beforehand for any credits!
    Kind regards,
    Bart

  • How to know if the goods issue is posted from LIKP / LIPS

    for a delivery number in LIKP or LIPs, how will I know if the goods issue is posted? Is there any field for this?
    Please give your input.
    Thanks,
    Krishen

    Hi Kirsh,
       U can go and check the sales order status tables.
      VBUK-Header informations
      VBUP-item Informations
    Dont forget to give an point.
    Regards
    Justin

  • Purchase order message determination

    Hi,
    i have a custom message type for purchase order for which i have a maintained a condition record in MN04,i can even see that entry in the database table NACH.
    Inspite of this the message type is not determined automatically in the purchase order even though all conditions are met.
    The same scenario works in my test system splendidly.
    Could anyone throw some light on this peculiar issue!
    Thanks & Regards
    Ram

    Hi Ram ,
    Just check whether under " Define Message Types for Purchase Order : Fine-Tuned Control: Purchase Order " the message type created by you exists.
    If not define the operation at which stage the ouput should be triggered.
    I think this should solve your problem.
    Regards
    Ramesh

  • Value of inventory after Goods Issue, before Goods Receipt for open order

    Dear Experts,
    Raw materials R72 and R82 are required to produce Semifinished Product S10.
    Semifinished product S10 is required to produce Fnished product F20
    On 10th August 2011, I created and release a Process Order for material S10 copying component materials R72 and R82.. Goods issue for component materials R72 and R82 were done for this process order using tcode MIGO (mvt type 261).
    It  takes four to five days to properly blend components R72 and R82 to obtain S10.
    It means Goods Receipt for this process order will be done on 14th or 15th August when this blending has been completed.
    Management suddenly issues a directive that stock take should be carried out in the plant on the 12th August 2011, and my process order is still open and cannot be closed ( or goods receipt cannot be done)  because blending is yet to be completed.
    Please how do I take care of this scenario/situation since Goods Issue has been done already?
    How will the Accountants see or get the correct value of inventory?

    When I run WIP Calculation for my Process Order, what will be the effect ? I mean what accouts are updated by WIP Calculation within a period (not across a perion or  at period end)?
    GI values issued to the Process order will come into WIP GL .( Since your client want to know the stock take should be carried out in the plant on the 12th August 2011- we are doing WIP calculation)
    > After  this WIP Calculation is run,  and say about 2days later, Goods Receipt for this process order is to be posted, what steps am I suppose to carry out?
    After GR Made, Run a WIP calculation again for the order so that The WIP from the GL account will get reduced ,now WIP= (GI value + confirmation ) -(GR Value),
    Check in DEV system before doing in PRD,
    On Month end, do the variance calculation and do the settlement

  • No goods receipt possible for purchase order message number# M7036

    Hello,
    We are working in 4.7C , Created the scheduling agreements, with Shipping notification(Inbound delivery)   .
    Created the Scheduling agreement on 25.09.2009 and created the schedule line one same day with date 25.09.2009, (time column Blank).
    So in Practice for Goods receipt we are using MB0A t code for GR,(not using MIGO)..while MB0A..iam going to make GR with ref to Shipping notification then system will through below given message.
    No goods receipt possible for purchase order
    5500001447 0001
    Message no. M7036
    tried every thing but unable get. shar your views
    Regards
    Sapman man

    Hi
    If you use Shipping notification then you have to create inbound delivery VL31n and do the PGR in inbound delivery  VL32N itself.
    Incase of scheduling agreement schedule lines you have to make sure the following
    1) Schedule line delivery date shoud be todays date or in the past
    2) Schedule must be released by using message type based on the type of schedule ( Normal, JIT or forecast)
    Hope it helps
    Thanks/Karthik

Maybe you are looking for

  • I have the lastest version of firefox 6 and I need to go back to 4 to support my on line class website. How do I do this?

    I have always updated firefox when asked to do so, however my online class is stating I need firfox 3 or 4 to support their website. I would like to go back to either on and I have no idea how to do that. Can someone please help me out? Thank you, Mi

  • I have a handycam DCR-SR45 and windows 8.1 how do you make them compatible?

    The drivers needed to connect your Sony camcorder to a computer and transfer files are already included in the operating system. You may install PlayMemories Home on your computer and use it to transfer, view and organize pictures and videos taken by

  • Ethernet Connected external drive problem

    I have a 500GB external drive that I connect to the home hub via ethernet. When I connect it to the home hub it does not appear in the connections list for the router and none of the computers can see it. The drive was working fine when it was connec

  • Copy paste a expression operator.

    hi all, i have a exp operator in a mapping ,i have created 200 output variables(manually) in the same mapping i have a req to create a same exp operator( this for performing union operator) now is there any way with which i can copy the exp i have al

  • Fatal .psd corruption on PS CS6 Trial

    Hi! I'm just testing out the PS CS6 trial version and something weird is happening. Suddenly my .psd got "corrupted" although it's not a big file with many layers. So I want to know if there's some general incompatibility with my rig and PS CS6 (comi