Validation in MIGO on Post

Hi all,
I am trying to Post a Purchase order in MIGO.
It should display a message saying ' Please do goods receipt using Inbound delivery' If an inbound delivery exists for that particular Purchase order.
If i am posting an inbound delivery in MIGO. It should get posted and should not display any message.
Is there any User exit or badi which i can use for this purpose.
or how do i go about it. Please suggest.
<<Text removed>>
Thanks in advance.
Thanks and Regards,
Karthik.
Edited by: Matt on Apr 7, 2009 9:12 AM - Do not offer rewards

Hi,
Try badi MB_MIGO_BADI method IF_EX_MB_MIGO_BADI~POST_DOCUMENT....
in the method IF_EX_MB_MIGO_BADI~LINE_MODIFY get the purchase order value enterd on the
screen to memory id
data :   V_EBELN TYPE EKKO-EBELN.
  EXPORT V_EBELN FROM CS_GOITEM-EBELN TO MEMORY ID 'EBEL'.
In the method IF_EX_MB_MIGO_BADI~POST_DOCUMENT
import the po value from memory id and do the corresponding validations and display the message.
CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
                EXPORTING
                  TITEL     = 'ORDER'
                  TEXTLINE1 = V_TEXT.                "order number
Thanks,
Shailaja Ainala.

Similar Messages

  • MIGO/MIRO Posting date to Display mode

    HI all,
    How can we set MIGO/MIRO Posting date field to Display mode.
    Can this be set for User specific.
    Please advise.Its Urgent.
    Regards,
    Jag

    hi
    for migo
    do following
    SPRO>MM>Inventory Mgmt/Physical Inventory-->Fields selection for goodsmovement Initial/Header Screens
    for miro
    U need to change the field selection for the posting keys used in MIRO.
    go to OB41, there for the posting key 31 u do the field selection.
    reward if useful
    regards
    kunal

  • MIGO transfer posting, others.

    Hi,
    what is the purpose, in trx MIGO of the setting transfer posting, others and typing the material document
    number?
    Best regards

    The problem is the following:
    I posted a GR into unrestricted use instead of posting it to blocked using mvt 103.
    Now how can I post the stock to blocked? The problem is that there are over 300 items and doing it
    with trx MIGO, transfer posting, others requires that I manually type data related to 300 items.
    MIGO doesn't allow setting transfer posting, others and post to a material document number .
    If in MIGO I can set  transfer posting, others and put a material document means that
    this action can be done but for doing what exactly?
    Someone tells that this action can't be performed......
    Best regards

  • Document date&Posting date Validation In MIGO Transaction

    Hi,
    I need to control document date should not be in future date comparing to posting date and should not be past date comparing to PO date in MIGO transaction.Pls suggest.
    Regards
    Mani

    Dear Mani,
    Goto Spro
    Materials Management -> Inventory Management and Physical Inventory -> Define Attributes of System Messages
    Goto Settings for System Messages and select
    Version 00
    Application area -- M7
    Messages no -- 088 -- Document date lies in the future. (Check your entry)
    Convert in Error Massage.
    Regards,
    PK

  • Issue of Text input field  in Where Tab of Migo During POST

    Hi Friend's,
    I m facing some issue In MIGO for Test Input field not showing in WHERE tabe during Display-Material  on POST it will showing during check but when i try to post it it will invisible text input field what will be issue..high preiority..
    Regard's,
    shaikh.khalid.

    ok .
    when i go migo and select GR and Purches order.after enter in below WHERE tab there is a text and input field of that when filling this i try to check it showin text and input field during check but once i press POST button and then go to where tab it not showing Text and input field both are invisible..
    1.In MIGO During GR-purchase order in Where tab Text and it’s input field are showing during CHeck tabe
    2.On POST it not showing Text Input Field both are invisible.

  • Accounting Validation for blocking TDS posting with T-code

    Dear Expert,
    I have a requirement like below in OB28 Accounting Validation:-
    I want to block Accounting posting with F-02 T code with Wht GL code Posting.
    I have written:-
    Prequisite:-
    BKPF-BUKRS = '1020'
    SYST-TCODE = 'F-02'
    Check:-
    BSEG-HKONT='403625' (which is a TDS liabilityGL code)
    Message:- Error
    But it is not working, The document with F-02 and GL code 403625 is getting posted
    Please advise.
    Regards,
    Alok

    A small correction in Validation rule.
    Check:-
    BSEG-HKONT<>'403625' (which is a TDS liabilityGL code)
    BSEG-HKONT should not be equal to 403625
    Correct that and try posting.

  • Scess value field is grey out in MIGO while posting rejection excise invoic

    HI..
    In Return delivery ,i am capturing & posting excise invoice...
    The problem is while we can change the values of BED,AED,ECS but the SCESS field is coming grey out.Therefore i cannot change it.
    How can we remove the grey out so that we can enter manually whatever amount we have credited.
    here the print program is made considering in MIGO we can capture/post excise invoice..
    plz reply fast.
    Thanx & regards,
    Satpal

    When it is return delivery tranaction and if you don't select no excise entry system by default captures all data from original document except quantity field and hence all the fileds will be non modifiable. However it is better to select 'No Excise Entry" at the time of Return Delivery and then go for "create excise invoice for other movements" T Code "J1IS" so that you could enter all the duties correct based on the qty rejected in return delivery.
    Hope it would suits you.
    Cheers

  • MIRO posting date less than MIGO / SES posting date

    Hi,
    In our system , user can make MIRO with respect to a PO and give posting date less than posting date of GRN or Service entry sheet. I want that user can give posting date of MIRO document equal to or greater than posting date of GRN / SES of that PO.  How can i do this?
    Regards
    Kalpesh

    Hi,
    Please write a validation in order to avoid the user keying in the pre posting date at the time of MIRO

  • Migo transfer posting/WM question

    Hi folks
    I'm calling on the experts again!
    I am doing transfer postings from one material to another (MIGO 309 transaction) and also have to complete the warehouse management side. 
    My problem is that the parts did not go back into the same bin, but someplace else.  I've created the transfer orders in LU04, but it will not let me confirm them to a different storage bin than what it suggests. 
    Is there any way to change this in customizing?  I know these are now all created and I will have to deal with it, but this will be happening more in the future as well.
    Thanks,
    Marie

    Hi,
    Which procedure you are following,
      Check the following ,
      1.Create material Material Document   for posting change ,
    2. Create posting chenge Notice LU01--  Create
    Here you can clearly check to which storage type you want to post.
    3.  Now Create TO by LT05
    4. Confirm By Lt12
    Dev.

  • Validation to restrict bank posting in exit RGGBR000

    Dear Expert,
    I have a requirement : when user try to parking or posted document FI in F-53 with GL 1001*, then user exit will trigger to check whether user has role or not.
    My Problem is : How could I store the logic for checking role to specific user in user Exit ZRGGBR000 ?
    and how could I store the validation rule in OB28 ?
    Need your help for this matter, sorry for to much asking.
    Best Regards,
    Dimas W.

    Hi
    Pawan is right. Try before with authorization objects. Using tcode SU24 for any tcode is possible to know what auth.objects works for this tcode. After set it in profiles (tcode PFCG). If you do it (tcode FBZ2) I can read F_BKPF_BUK. Perhaps this post would be moved to FI forum or security forum.
    I hope this helps you
    Regards
    Eduardo

  • MIGO GR posting prompt " Read planning situation for material"  message

    Hi Guru
    Need some advice on SAP MM MIGO GR 101 with reference to Purchase Order.
    There is a purchase order created for AAC = P project and item category = S 3rd party. It is linked to a sales order which meet 3rd party scenario purchase and delivery directly to customer in the SO.
    However, during MIGO GR screen on this PO, system prompted a message below where it took a while (long respond time) and then only post to material document successfully.
    Read planning situation for material XXX in plant YYY
    XXX = material code
    YYY = plant code
    Question:
    From where this message is triggerred? It is not error, warning, or information message. However, it only appear when we post GR against 3rd aprty scenario purchase order
    Please advise

    Dear Lyonie
    This message seems to be generated dynamically during the save process of GR.
    When we click save button in MIGO GR button, there will be number of BAPI/FM will triggered to validate/check and post the data. During this process, some dynamic messages will be displayed for the user about the process. It is very difficult to find out the message triggering point.
    Example I can provide , not sure about relevancy , We can observe start of application: Good movement  message initially while we execute MIGO. 
    Still you need to find out about the message, please take help of technical ABAP consultant help to trace out the message triggering point.
    warm regards
    Ramakrishna Ponnapati

  • MIGO GR POSTING ERROR

    Hi All,
    When I am posting GR against PO in MIGO Screen,
    IT IS LEADING TO RUNTIME_error
    The system is not excuting 'J_1I7_MIGO_SAVE' .
    "In Program SAPLJ1IEXGM  in the function module J_1IEXGM_UPDATE_EXCISE there is a "CALL FUNCTION 'J_1I7_MIGO_SAVE'.
    can u pls help me on this.
    Ameen
    Message was edited by:
            Ameen Basha Md

    It seems like the answer to your problem is in SAP note n° 636102

  • Modification of MIGO Financial Posting from Custom Pricing Conditions on PO

    Hello All,
    I am currently at a client where there are 7 custom Pricing Conditions associated with Sub-Contracting POs. Because there is a Global Template in place, there is no way to include these custom Pricing Conditions in the typical Purchaing Automatic Account Determination.
    We are considering a custom development whereby we would associate each custom Pricing Condition to a unique Expense GL Account, but have it all lumped to the same GR/IR LIability Account.
    My big question is....does anyone know where/how we can hook up a User Exit, BAdI, BAPI, or some other method  to affect the GL Posting based on a look up table, upon the posting of a MIGO transaction?
    Any assistance with this would be greatly appreciated.
    Thank,
    Marc

    hi,
    in the condiion type remove the Quantity scale basis and try
    Thanks

  • Plant at hear level in migo tranfer posting

    Dear Gurus,
    My company wants to put the plants in the header level,because all the line items in a one document is alway refer to same plants(that is we are not using different plants for different line items)
    eg.
    We do tranfer posting using 303 movement type to sent to another plant,here we are sending all the line item from same plant to a same destination plant,but now we have to enter the plants to all line itmes and when using this document in 305 same problem comes becuse we always need to change the destination plant.(destination plant is not automaticaly taking)
    Is thr any way to do this.
    Thanks & Best Regards,
    Chameendri

    Hi,
    If you are using MB1B , in that case Receving plant needs to be entered only once for while document.
    If using MIGO , In item overview select the Destination plant in the 1st line item of the document & click on "Content "Symbol,
    It will copy value of the 1st line item to all the below fields .
    Hope this serves your requirement.
    Regards
    Manish
    Edited by: Manish Kumar on Dec 2, 2010 12:40 PM

  • Validation for restricting GL posting

    Hi,
    I want some GL accounts to be posted through only one transations. How I can do this validation or authorisation or any other method.
    Please mention detailed step by step process of solution.
    Cheers
    Moderator: Please, search SDN

    Hi,
    For e.g. GL Accounts 400000 can only used in transaction FB50 then below write validation with call up point 1 (Header Validation).
    PREREQUISITES
    BSG-HKONT = '400000'
    CHECK
    BKPF-TCODE = 'FB50'
    Regards,
    Chintan Joshi

Maybe you are looking for