PO text pops up during goods receipt (MIGO).

Hi,
Does anybody know or it is possible to pop up a message during MIGO (goodsreceipt) with a messege text which has been entered by the buying department in the PO?
Best Regards,
Any suggestions?
Eric.
Message was edited by:
        eric van zundert

Hi Eric Van Zundert,
It is quite possible by implementing a proper BAdi/Enahancement. You will need to call a pop-up screen. Try below BAdi's :
MB_MIGO_ITEM_BADI or
MB_MIGO_BADI 
You can search a suitable exit on your own.
Please check this sample program from other thread to find BADI and enhancement for a given transaction code. You just need to create a custom program in your system by cut and paste below codes.
REPORT ZTEST.
TABLES: TSTC,
TADIR,
MODSAPT,
MODACT,
TRDIR,
TFDIR,
ENLFDIR,
SXS_ATTRT ,
TSTCT.
DATA: JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
DATA: FIELD1(30).
DATA: V_DEVCLASS LIKE TADIR-DEVCLASS.
PARAMETERS: P_TCODE LIKE TSTC-TCODE,
P_PGMNA LIKE TSTC-PGMNA .
DATA: WA_TADIR TYPE TADIR.
START-OF-SELECTION.
IF NOT P_TCODE IS INITIAL.
SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
ELSEIF NOT P_PGMNA IS INITIAL.
TSTC-PGMNA = P_PGMNA.
ENDIF.
IF SY-SUBRC EQ 0.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'PROG'
AND OBJ_NAME = TSTC-PGMNA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
IF SY-SUBRC NE 0.
SELECT SINGLE * FROM TRDIR
WHERE NAME = TSTC-PGMNA.
IF TRDIR-SUBC EQ 'F'.
SELECT SINGLE * FROM TFDIR
WHERE PNAME = TSTC-PGMNA.
SELECT SINGLE * FROM ENLFDIR
WHERE FUNCNAME = TFDIR-FUNCNAME.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'FUGR'
AND OBJ_NAME EQ ENLFDIR-AREA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
ENDIF.
ENDIF.
SELECT * FROM TADIR INTO TABLE JTAB
WHERE PGMID = 'R3TR'
AND OBJECT in ('SMOD', 'SXSD')
AND DEVCLASS = V_DEVCLASS.
SELECT SINGLE * FROM TSTCT
WHERE SPRSL EQ SY-LANGU
AND TCODE EQ P_TCODE.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) P_TCODE,
45(50) TSTCT-TTEXT.
SKIP.
IF NOT JTAB[] IS INITIAL.
WRITE:/(105) SY-ULINE.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
Sorting the internal Table
sort jtab by OBJECT.
data : wf_txt(60) type c,
wf_smod type i ,
wf_badi type i ,
wf_object2(30) type C.
clear : wf_smod, wf_badi , wf_object2.
Get the total SMOD.
LOOP AT JTAB into wa_tadir.
at first.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 'Enhancement/ Business Add-in',
41 SY-VLINE ,
42 'Description',
105 SY-VLINE.
WRITE:/(105) SY-ULINE.
endat.
clear wf_txt.
at new object.
if wa_tadir-object = 'SMOD'.
wf_object2 = 'Enhancement' .
elseif wa_tadir-object = 'SXSD'.
wf_object2 = ' Business Add-in'.
endif.
FORMAT COLOR COL_GROUP INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 wf_object2,
105 SY-VLINE.
endat.
case wa_tadir-object.
when 'SMOD'.
wf_smod = wf_smod + 1.
SELECT SINGLE MODTEXT into wf_txt
FROM MODSAPT
WHERE SPRSL = SY-LANGU
AND NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
when 'SXSD'.
For BADis
wf_badi = wf_badi + 1 .
select single TEXT into wf_txt
from SXS_ATTRT
where sprsl = sy-langu
and EXIT_NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED ON.
endcase.
WRITE:/1 SY-VLINE,
2 wa_tadir-OBJ_NAME hotspot on,
41 SY-VLINE ,
42 wf_txt,
105 SY-VLINE.
AT END OF object.
write : /(105) sy-ULINE.
ENDAT.
ENDLOOP.
WRITE:/(105) SY-ULINE.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No.of Exits:' , wf_smod.
WRITE:/ 'No.of BADis:' , wf_badi.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'No userexits or BADis exist'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'Transaction does not exist'.
ENDIF.
AT LINE-SELECTION.
data : wf_object type tadir-object.
clear wf_object.
GET CURSOR FIELD FIELD1.
CHECK FIELD1(8) EQ 'WA_TADIR'.
read table jtab with key obj_name = sy-lisel+1(20).
move jtab-object to wf_object.
case wf_object.
when 'SMOD'.
SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
when 'SXSD'.
SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
ENDCASE.
Alternatively, you can do the following:
1. For what ever transaction u want the enhancement .. just check for the System-->status (menu) and find out the PROGRAM name....
2. Double click on to the program name and go inside the program (Abap editor)
3. Search for "Call Customer-function " ... and u'll get some search results .. If u get results then u have enhancement in that tcode .....
4. Then it actually calls a Function module .... copy the Function module name .... go to SE80 (object navigator) click on "Repository Information system" then Customer Enhancements .... Give the Function module name in the "Components" field and click Execute ....
ull get a list of Enhancements related to that Componene....
5. Choose which ever enhancement will suit ur business need ..
6. Go to CMOD... create a project .... assign ur enhancement ... and then code ur logic.... activate ur enhancement in CMOD ....... Ur Buisness need will be solved...
For a user exit......
Finding whether there is any User Exit or not for tcode VA42
1. For what ever transaction u want the user exit .. just check for the System-->status (menu) and find out the PROGRAM name.... ( The program name would be for our scenario "SAPMV45A" )
2. Double click on to the program name and go inside the program (Abap editor)
3. Search for the word "USEREXIT" .... u ll find all the user exits in the search result .. and find ur's then ...
Hope this will help.
Regards,
Naveen.

Similar Messages

  • QA495 Error message during Good Receipt

    Dear Gurus,
    we would like to perform a good receipt with a custom movement (ZD1 as copy of 101) in order to do not activate QM inspection in certain cases. In OMJJ we flagged ZD1 as u201CQM not activeu201D but, since in the material master an Inspection type (with Lot Origin 01) is set, the following error during good receipt (MIGO) occur:
    "Change the inspection stock of material RAP4829AA_AG in QM only
    Error message QA495"
    The problem can be that, in the material document that we are trying to save, the stock type is automatically set to u201C2 - Quality Inspectionu201D. If we change it manually, leaving it blank (unrestricted use), the good receipt is correctly performed, otherwise the QA495 error message appear.
    The questions are:
    Is not enough deactivate u201CQM activeu201D flag in OMJJ for a specific movement type?
    Otherwise, how can we drive stock type (in MIGO) by the movement type?
    Thanks a lot,
    Regards
    Ale

    Hi Anand,
    as you told:
    "As I understand your requirement, you want to carry out goods receipt with ZD1 movement type (which is a copy of 101) and for which you donu2019t want to generate any inspection lot."
    Correct, but this is done simply deactivating QM at mov type level in OMJJ (flag "QM not active")
    My requirement is also to perform good receipt putting stock automatically in unrestricted use, and not in QI
    The inspection lot is not generated (if I perform GR changing manually stock type to unrestricted), but I would like that it will be automatically done, and we cannot understand what drives this field (stock type), despite of I removed lot origin (and all other reference to 101 mov type) from ZD1 custom movement.
    I suppose is automatically inherits from PO, so the question is:
    How can I drive/set "stock type" to make it Blank (unrestricted use) in good receipt or in purchase order??
    Thanks for help
    Ale

  • Wrong shipment costs posting during good receipt

    We are having a problem when we post a good receipt for an inbound delivery in the transaction MIGO. We have created some account keys in order to classify and post shipment costs -specified in a shipment cost document- on specific balance accounts. The balance accounts determined by the OBYC transaction are right but posted values during good receipt do not match to registered values in the shipment cost document.
    The documents flow for this process is as follow:
    1. It is created a purchase order (ME21N).
    2. It is created an inbound delivery based on the purchase order (VL31N).
    3. It is created a shipment document based on the inbound delivery (VT01N).
    4. It is created a shipment costs document (VI01) for the shipment document where shipment costs are specified in its calculation schema
    5. It is created a good receipt for the inbound delivery of the step 2. The balance accounts are determined correctly but values do not match to registered values in the shipment cost document.
    Best Regards
    Guillermo

    Hi,
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/93/74413b546011d1a7020000e829fd11/frameset.htm
    Kapil

  • Prevent quantity updating during Goods Receipt

    Hi,
    We have a particular requirement for a type of subcontracting process (not the standard SAP subcontracting) as mentioned below.
    We create a Purchase Order for a material (without a standard cost) and giving an account assignment category in the PO. The Net price mentioned in the PO is the processing charges for the vendor (service charges). It does not indicate price for the material.
    When we receive the finished material from the vendor, we perform a Goods receipt. The stock gets updated and accounting documents are created.
    Our requirement is to stop this quantity updating during Goods Receipt. But, at the same time, we would like the accounting documents to be created as we need to pay the vendor.
    Is there any way of achieving this?
    Pl let me know. Any inputs would be appreciated.

    Hi,
    Thanks for the response!
    I understand that in the standard process, the parent item inforecord takes care of the processing charges. But this is process that has been customized differently as the client has SAP as well as legacy systems talking to each other.
    Turning off the qty updating at the material type level will turn it off for all purchase orders created for the material at that particular plant which is something we would like to avoid.
    We would basically like to turn it off for particular purchase order type. The reason for turning it off is that after the GR is done, there is a separate process that comes from the legacy system and updates the same quantity of finished product and also posts the consumption of components.
    So, our basic requirement is , is it possible to turn off qty updating for the GR of a particular purchase order document type and yet create accounting document. Material is not a valuated material and has a standard cost zero.
    Any inputs in this regard will be helpful.
    Regards

  • Automatic Creation of Purchase order during Goods Receipt

    Hai Guys,
           Can you please tell me is there any ways to get a Automatic PO during Goods Receipt???
        Regards
        Jino.

    Config
    1.Automatic PO generation must be activated for the movment type in IMG>Inv Mgmt & Phy Inv> GR>Create PO automatically. ( Note that automatic PO is only possible for mvmt 101 & 161)
    2. The plant you are working with must be assigned to a standard purchase organisation.
    3. A default PO document type must be specified for the GR in IMG> MM>purchasing>specify default vaues for document types.
    Master Data
    1.In mateial master Auto PO is to be set.
    2.in Vendor Master Auto PO generation or agreed with him an indicator is to be set.
    3.Info-Record should exist with the combination of material,vendor and the auto PO flagged in info record.

  • Print Prog-Auto Print Barcode Label for Goods Receipt(MIGO) using Smartform

    Hi Guru's
    I have created a smartform that prints barcodes on a label.
    My tests print successfully to the Printronix thermal label printer.
    Is there perhaps a SAP Standard print program that i can use in my output type that will call my smartform upon goods receipt(MIGO)?
    please bear in mind that i am looking for a print program that calls a SMARTFORM. not a sapscript.
    /SMB40/M07DR does not exist on my system. and I am going to use output type WEE1 - for LABEL Printing
    Awaiting your feedback.
    Thanks in advance geniuses!

    Good luck dude,
    In that same program I noticed We01 that will print a smartform GR. I think if you use form entry_we01 in your output control you should do well.

  • Document type during Goods Receipt in Intercompany Transfer flow

    Hi,
    We create a PO, Delivery and GI in company A
    We do a Goods Receipt in company B.
    Can we customize that FI document type  ZZ is used during Goods Receipt in company B?
    Document type ZZ may only be used in the Intercompany flow.
    Where can I customize this setting?
    Thank you in advance,
    Best regards,
    Eric van Zundert.

    Hi,
      The following are the standard steps to create an accounting document type and assign it to a transaction.
    1) In T-code OBF4, click on "Financial accounting document types" and create a new document type.
    2)On the same T-code, Click on "Goods receipt document type" and assign the document type to the transaction.
    3)On the same T-code, Click on "Financial accounting No range" and assign the number range for each document type based on company code and fiscal year.
    Thanks and Regards,
    Maheshwari

  • Quantity related Scale pricing not considered during Goods receipt

    Hello Group,
    First thanks for looking into my issue.  I tried to follow the solution in SAP Note 401941 on assessing the right unit price as it relates to the quantity received during Goods receipt, but my ABAP developers are very green at this time and they cannot figure out where to place this code fix and how it would work.
    Background on issue.
    From quantity of 1 to 99, I want the price to be 4.00 each
    From quantity of 100 and above, I want the price to be 3.00 each.
    When doing goods receipts for quantities that have not reached 100 yet, it is still assessing 3.00 each.  I found the OSS note above that is really not helpful and was wondering if anyone else is using scale pricing and how their GRs are calculated for correct unit price.
    Thanks all for your assistance.
    Samantha

    The scale pricing cannot be used to influence price during goods receipt. Goods Receipt will pick up the price from the purchasing document.
    Suppose you want to have that the price be determined based on the quantity received over a period of time, you need to use rebate agreement.
    The OSS note mentioned in your question says that you can determine the price based on the schedule line quantity during GR (not quantity at the time of GR). It will not solve your requirement.
    Lakshman

  • Earmarked funds during goods receipt (GR) is not inherited from PO.

    Hi, Everybody u2026
    We are using Earmarked Funds relevant for FM updating, but, during goods receipt (GR) and invoice receipt (IR) it is not inherited from purchase order (PO).
    In ME21N the account assignment is F and the system ask us to enter the GL Account, Order and additional the Earmarked Funds. The system is deriving correctly the fund, the funds center and the commitment item from those entered in the Earmarked Funds.
    However, during goods receipt and invoice receipt, the Earmarked Funds is not inherited from purchase order (PO) besides the others account assignments (order, fund, funds center and commitment item ) in the coding block.
    Best regards,
    Thanks

    Hello,
    I will provide some hints:
    - If it is a service PO, please check the Note 972276 (Service Purchase orders only).
    - If the posting is related to Asset, please kindly check:
        a. Note 684659
        b. Check if you have a derivation rule in FMDERIVE with the function module FMDT_READ_MD_ASSET.
        c. Check in your FI-AA customizing if you have activated the account
          assignment element but you have not specified an account assignment type for
          account assignment object for APC balance sheet postings (see note 684659 for
          details).
    I hope it helps
    Best Regards,
    Vanessa Barth.

  • Create serial number - asset from goods receipt (MIGO)

    Hi,
    We configured the sync functionality between PM and AA, so when we create a serial number via transaction IQ01, the fixed asset master data is created automatically.  We also configured the serial number profile in the material master.  When we create a goods receipt (MIGO) the serial number data screen comes into place.  We save the GR document, and when we check the serial number data in PM this info is correct, but the synchronization between fixed asset didn't work it means, no asset master data is created.  Is there some missing configuration?  Even the tcode IQ01 works fine, why in this operation (MIGO) the configuration doesn't work ?
    Any help on this topic we'll be very appreciated.
    Lee

    Hi,
    in customizing transaction OIS2 I'm using the serial number profile 0010 (Stock check) and in the serializing procedure Goods Receipt and Issue Doc (MMSL), the serialization usage is 03 and the equipment requirement is 02 (always with equipment).   When use MIGO for goods receipt I noticed that after the serial number creation (via tcode IQ03) some serial number mandatory fields have no value, like Company Code (BUKRS) and Cost Center (KOSTL), and other mandatory fields for the master records.  If I modify the serial number (tcode IQ02) and complete the mandatory fields, the synchronization work fine since the asset master record is created.   I'm suspecting that some of these fields (like company code) are necessary for the asset creation.  I checked the whole PM/AA/MM configuration for these fields to in some way, assign them the corresponding value taken from the goods receipt or material and give it to the serial number record for creation.  If you know something else please let me know.
    Thanks for your response.
    J.R.Lee

  • PIR reduction during goods receipt for strategy 10

    Hi Experts,
    I am using the net requirement planning strategy. i.e strategy 10. My requirement is I wanted the PIRs to be reduced when do goods receipt for the production orders.
    I know this is possible in strategy 11. But how how do it in strategy 10.
    Regards
    Prathib

    Hi Ayethebing,
    What you mentioned in correct. System may do the wrong net requirement calculation. Let me explain what is my requirement.
    I have planning plant, where I get the sales orders and the PIR from Depots. And the production for all these quantities should be done in production plant. I need to do the goods receipt in the production plant itself first and do a plant to plant material transfer to planning plant.
    But all the control of production should be with production plant. So I cant use the production in alternative plant because in this case i need to convert planned order in planning plant and while doing goods receipt the stock directly updates in planning plant.
    So I was thinking of loading the PIRs in the production plant directly and use strategy 10. But since the sales orders wont come to production plant, the PIRs wont recduce at all. So thought of thinking about reducing PIR during goods receipt.
    But I realized from what you explained, it would lead to wrong PIR calculation. Full mark to you.
    Now Iam thinking the solution in a different way. Please give me your inputs
    Iam creating a recusrive BOM in planning plant and I will assign special procurement key 70. i.e withdrawal from alternative plant. I will assign alternative plant as production plant.
    So when I run MRP in planning plant for the main product, I will get dependant requirement created in the production plant for the main material as I created the recursive BOM in planning plant.
    But Iam having only one issue to be resolved here as I understand. The planned order created in the planning plant during MRP is convertible.  Can I make it non convertible some how even if Iam having bill of material?
    Thanks in advance for your valuable inputs
    Regards
    Prathib

  • Tax during goods receipt

    Is there any way to record Tax entry during Goods Receipt itslef.

    Hi Nishiraj......
    Tax never gets calculated on Delivery or its Goods Return.
    It always calculates on its Invoice level........
    So you need to raise its Credit Memo based on Goods return......
    Regards,
    Rahul

  • Workflow for Goods Receipt (MIGO)

    Hi Everybody,
    I am new to workflow. I have one assignment that i am thinking to do using workflow. The scenerio is there are two different users. First user will create and hold the goods receipt (Migo) and other will approved and post the goods receipt (Migo). I am thinking to do it through workflow. As soon as the first user click the hold or post button (but it will not posted as it is suppose to be posted by 2nd user), the workflow will trigger and it will go to 2nd user who will confirm and post the goods receipt. There is one object Bus2017 that have some events and methods for goods receipt but seems like it is not useful. can anyone suggest me how can i do this process using workflow? Thanks

    Hi,
    There is no standard event when you save document as a hold...
    however you can trigger workflow manually using FM SAP_WAPI_START_WORKFLOW or using SAP_WAPI_EVENT_CREATE(if you choose to create a custom event)...
    Try finding some user exit for this...
    Regards
    Gautam

  • BOR for Good receipt(MIGO)

    Hi ,
    Can anybody please tell me whats the Business Object for Goods receipt(MIGO) which triggers idoc MBGMCR02
    Thanks
    Izhar

    Hi Raman,
    When we create a GR in MIGO and say SAVE
    then BUS2017 object gets triggered or MKPF.
    And which Method ?
    Thanks so much

  • Generate Text File from Goods Receipt (MIGO)

    Hi Expert,
         Please help me ....................
         My company outsource W/H but when I 'm goods receipt or goods issue (MIGO)
         I send slip GR/IR by Fax to W/H but I want generate text file from system to W/H.
         How can I do?
    Thanks.

    Keerthi Hiremath,
           Please .............
           Can you more explain what is medium of 8 (special function) and other ?
    Thanks.

Maybe you are looking for

  • ITunes does not launch with new User Account (Vista)

    One of my limited user accounts on Windows Vista because corrupt, so I created a new limited User Account and copied ALL of the files from the old to new. Now, when I try to launch itunes on the new user account, it will not open at all. Itunes works

  • Why can't i use credit card on app store its money on it and its an visa card

    why can't i use credit card on app store its money on it and its an visa card

  • Publish on .mac address, but have different domain show up

    We have a .mac account. Plus we have another domain. Can I log into my cpanel on our other domain and have it point to our .mac account http address? That way I can publish our site on our .mac web address, but tell people to go to our other domain a

  • How to execute procedure

    Hi, I have a procedure which is returning the cursor. Like this: Create Procedure rptschool cur_out OUT SYS_REFCURSOR IS BEGIN OPEN cur_out FOR SELECT      * FROM xxx END; Now I need to execute the above procedure from SQLPLUS. So I am calling like t

  • Removing Software Applications from Leopard?

    I am a new Mac convert so excuse my stupid question, but I want to remove a software application from my Mac. How do I uninstall it properly? Here is what I have done so far, I deleted the icon from the Applications folder. I am thinking it cannot be