How to use OMJX transaction? Need to add an additional field on MIGO item

hi guys
we need to add a new field on the MIGO screen at the item level. We are trying to explore OMJX to add custom fields.
We have used append structutre to enhance the GOITEM structure but are not clear on how to use OMJX.
ANy idea how to use the transaction OMJX.
Thanks in advance

With the Business Add-In (BAdI) MB_MIGO_BADI, you can extend the              
interface of the goods movements transaction (MIGO) with additional           
tabstrip controls for the detailed information (detail tabstrips) and         
header information (header tabstrips). It is possible for an external         
application                                                                   
o  to display an additional detail tabstrip with own subscreen (max. 10       
   lines) in MIGO                                                             
o  to display an additional header tabstrip with own subscreen (max. 3        
   lines) in MIGO                                                                               
The program name, screen number and tab page text can be determined           
dynamically. Different screens can therefore be controlled according to       
the mode (for example, change mode, display mode, goods receipt, goods        
issue).                                                                               
Pushbuttons                                                                   
It is not possible to implement pushbuttons in the MIGO menu, but you         
can, however, implement pushbuttons directly on the external subscreen.       
The OK code from MIGO is forwarded to the external application so it can      
react.                                                                               
Cursor Control                                                                
So that the cursor stays on the same subscreen after you press Continue,      
if it was positioned there before, the external application in the own        
PAI must hold the cursor positioning (on the same screen 'yes'/'no'; if       
'yes', on which field), to set the cursor in PBO again.                                                                               
Requirements                                                                               
If you use the BAdI MB_MIGO_BADI in MIGO to update customer-own data, in      
addition to the material document, to the database, you should note the       
following:                                                                    
o  The BAdI MB_MIGO_BADI is only active in transaction MIGO.                  
o  If you post goods movements with other transactions (for example, with     
   MB01, MB1C, VL02N), you must ensure that customer data is also             
   updated, if necessary.                                                     
   You can do this by using the BAdI MB_DOCUMENT_BADI (Creating a             
   material document) to post the goods movements with the transactions       
   mentioned above.                                                           
o  Note that otherwise, posting the goods movements will lead to              
   inconsistencies between SAP system data (for example, in stocks,           
   material documents, FI documents) and customer data.

Similar Messages

  • Need to add a custom field in ME23N  item detail

    Hi Experts,
    I am new to SAP.
    Got an issue to add custom field in ME23N transaction.
    In item detail part , there is a tab called Retail
    inside that tab i need to add  new field..
    is it possible to do?? if so kindly let me know..
    Thanks in advance
    Regards,
    Annamalai.

    Hi Brother,
    [http://wiki.sdn.sap.com/wiki/display/ABAP/DetailedexplanationaboutBADIandthewaystofindtheBADIwithanexample%28ME23n+transaction%29]
    As Rob told there are good threads available in SCN. Please check those. Check this link.
    Given by Kiran.
    Regards,
    Madhu.
    Edited by: madhurao123 on Jul 8, 2011 9:56 AM

  • What User Exit can I use to add a cust field to PO Item overview in ME23n?

    Hi,
    I need help!
    Does anyone have any examples of adding a new cust field to PO Item Detail screen with a user exit?
    In transactions ME21n, ME22n, ME23n I need to add a new field in PO Item overview (screen 1211 of SAPLMEGUI). The new field ZZUNSPSC, has been appended to table EKPO as a 30 char field, which will be enterable/changeable on the ME21n, ME22n screens and display only on ME23n.
    Which user exit I can use for the purpose of adding a new input/output field to the PO item overview on SAPLMEGUI screen 1211?
    We are on release SAP ERP Central Component 5.0

    Hi,
    Thank you for the response.  I tried this and found  Badi ME_PROCESS_PO_CUST.  Do you have any examples of adding a new cust field to PO Item overview screen using badi ME_PROCESS_PO_CUST? I have had little experience creating badi's, and would appreciate very much some sample code if possible.
    In transactions ME21n, ME22n, ME23n I need to add a new field in PO Item overview (screen 1211 of SAPLMEGUI). The new field ZZUNSPSC, has been appended to table EKPO as a 30 char field, which will be enterable/changeable on the ME21n, ME22n screens and display only on ME23n.
    Can you tell me if method FIELDSELECTION_ITEM of badi ME_PROCESS_PO_CUST the correct one to use for the purpose of adding a new input/output field to the PO item overview on SAPLMEGUI screen 1211?
    Thank you for help - much appreciated,
    Vicki

  • ...how to use BATCHMAN transaction in Controlling?

    ...how to use BATCHMAN transaction in Controlling?...
    need to upload statistical keyfigure values from an Excel file, but do not know which should be the header row on Excel file.
    thank you.

    To access the Transfer of External Data function (transaction BATCHMAN), choose:
    Accounting ® Real Estate Management ® Controlling ® Actual Postings ® Transfer of External Data.
    For further information please check the following link:
    http://help.sap.com/saphelp_erp2005/helpdata/en/32/e7ee431feb6d45957a83e0179cbbff/frameset.htm
    regards,
    Lily

  • I Don't know how to use SBO Transaction Notification  procedure

    Hi all
    I don't know how to use SBO Transaction Notification  procedure
    can any body give me description why we use,where we use,how we use some example
    Awaiting soon reply
    Rajkumar G.

    example is for testing, if on delivery is filled ref no of vendor or not
    if @object_type = '20'  and (@transaction_type= 'A' or @transaction_type= 'U')
    begin
         if 1 = (select count(docentry) from opdn with(nolock) where docentry =@list_of_cols_val_tab_del and (numatcard is null or len(numatcard) = 0) )
         begin
              select @error =1
              select @error_message = 'vendor ref no isnt filled'
         end
    end
    next example is for creating BP as vendor and testing, if dont begin for specific sign
    if @object_type = '2' and @transaction_type= 'A'
    begin
    if left(@list_of_cols_val_tab_del, 1) = N'x' or left(@list_of_cols_val_tab_del, 1) = N'X'
         begin
              if 1 = (select count(cardcode) from ocrd where cardcode = @list_of_cols_val_tab_del and cardtype in ('S', N'S') )
                   begin
         select @error =1
              select @error_message = 'Vendor code cannot begin to X sign.'
    end
         end
    end
    is it clear?

  • Need to add a new field to XD01 under company code data tab

    Hi,
    I need to add a new field under Company code data of XD01 under Account Management tab.
    I came to know two BADI's CUSTOMER_ADD_DATA and CUSTOMER_ADD_DATA_CS can be used for this. But for these BADIs we need to create a sub screen.But for my requirement I need not use a subscreen just to add a field.
    Please let me know how to do this?

    Hello Pavan,
    Do you have any solution for this issue? I only can creat a new tab but hi prefer as you, creat a field Company code data of XD01 under Account Management tab.
    I read that is not possible, this is true?
    Best Regards,
    Eduardo Paiva

  • I need to add a single field from with_item table . need to write select query with reference to company code , account doc no , fiscal year

    I need to add a single field from with_item table . need to write select query with reference to company code , account doc no , fiscal year

    Hi Arun ,
    Can you explain little bit more ??
    what is account doc no? 
    what are the transactions should be displayed in your output??
    -Rajesh N

  • How to use same Data Type and Length for two fields

    How to use same data type and length for two fields when using 'FOR ALL ENTRIES IN' in a select statement? For instance the select queries are :
    SELECT bukrs gjahr belnr lifnr budat bldat zlspr dmbtr waers shkzg
    FROM bsik
    INTO TABLE it_bsik
    WHERE bukrs = p_bukrs
    AND lifnr IN s_lifnr.
    IF it_bsik IS NOT INITIAL.
    SELECT belnr gjahr awkey awtyp
    FROM bkpf
    INTO TABLE it_bkpf
    FOR ALL ENTRIES IN it_bsik
    WHERE belnr = it_bsik-belnr
    AND gjahr = it_bsik-gjahr.
    IF it_bkpf IS NOT INITIAL.
    SELECT belnr gjahr lifnr xblnr
    FROM rbkp
    INTO TABLE it_rbkp
    FOR ALL ENTRIES IN it_bkpf
    WHERE belnr = it_bkpf-awkey+0(10)
    AND gjahr = it_bkpf-awkey+10(4).
    ENDIF.
    ENDIF.
    Here it gives an error in the 3rd select query that 'When you use the addition "FOR ALL ENTRIES IN itab", the fields "GJAHR" and "IT_BKPF2-AWKEY+10(4)" must have the same type and the same length.'
    Kindly clarify.

    Hi Saurabh,
    Please see the example code that I have developed for you. It will help you solve the problem.
    REPORT ZTEST_3 .
    tables : BKPF.
    data : begin of it_bkpf occurs 1,
             belnr type RE_BELNR,
             awkey type awkey,
             awtyp type awtyp,
             gjahr type GJAHR,
           end of it_bkpf.
    data : begin of it_bkpf1 occurs 1,
             belnr type RE_BELNR,
             awkey type gjahr,              " change the data type
             awtyp type awtyp,
             gjahr type GJAHR,
           end of it_bkpf1.
    data : begin of it_rbkp occurs 1,
             belnr type BELNR_D,
             gjahr type gjahr,
             lifnr type LIFRE,
             xblnr type XBLNR,
           end of it_rbkp.
    select belnr
           awkey
           awtyp
           gjahr
           from bkpf
           into table it_bkpf
           where BUKRS = 'TELH'.
    loop at it_bkpf.
    it_bkpf1-belnr = it_bkpf-belnr.
    it_bkpf1-awkey = it_bkpf-awkey+10(4).           "Here only append the required length.
    it_bkpf1-awtyp = it_bkpf-awtyp.
    it_bkpf1-gjahr = it_bkpf-gjahr.
    append it_bkpf1.
    clear it_bkpf1.
    endloop.
    select  belnr
            gjahr
            lifnr
            xblnr
            from RBKP
            into table it_rbkp
            for all entries in it_bkpf1
            where belnr = it_bkpf1-belnr
    This is just an example. Change the fields according to your requirement.
    Regards
    Abhii
    Edited by: Abhii on Mar 9, 2011 9:08 AM

  • Infocube and ODS populated with DATA (need to add one more field?)

    Hi,
      If infocube and ODS have been populated with data for past 3 months. Then we need to add one more field to this cube. What is the impact? Please advise.
    The following is my understanding. Please correct me if I am wrong.
    1) Need to delete content of ODS and infocube.
    2) insert the new field at ODS and infocube.
    3) reload the data into ODS and infocube.
    Is there a way that the current data need not be deleted.
    Just add in this new field and only subsequent month, infocube will have this new field? Please advise what is the best approach without affecting existing data.

    Hi,
    Siggi is right. You dont need to delete the previously loaded data to CUBE or ODS. The only catch is that, your new field will be empty as far as history is concerned. But so long as you did map it to the datasource and the datasource is able to fill it up, then your new field will now have value for incoming DELTA Updates.
    Addition of a field is not that complicated compared to deletion of a field from CUBE or ODS.
    --Jkyle

  • Additional fields in MIGO transaction

    Hi Everybody,
      We have a requirement where we need to have additional fields in MIGO transaction when the user chooses 'distribute qty' option to split the quantity, the normal screen shows the following fields,
    1. Qty in UnE
    2. Stock type
    3. Movement type
    4.Stor location, we need Serial number, Drum number in Screen number 1000 of SAPLMIGO program,  Can any one tell me how do I achieve this functionality,
    Rgds,

    The only option I see is design your own custom screen with the required fields and call it as popup ( Modal Dialog Box ) from user exit ZXMBCU02 .
    This user exit will be triggered when you click on "CHECK" or "SAVE" button.
    There is no way to modify MIGO screen itself , so maybe you will have to pass the item number etc from MIGO and have a table control on your custom screen for data entry.
    For saving data into database donot use this exit as a user may just check and go out and you will unnecssarily push the data into z table . In this exit do an export to memory for your custom fields.
    In another exit ZXMBCU01 , do an import from memory and update the required Z table . This exit is called while updating material document in update task.
    However to goto popup screen for displaying chnaging custom fields you will have to press "CHECK" button , maybe a user training issue.
    Cheers

  • Add a additional field in tcode XK02 - control screen

    Hi,
    I have to add an additional field in Tcode XK02 ie., in Control Screen, I couldn't find any screen exits. I hvae found one BADI VENDOR_ADD_DATA_CS .I have added a New field in Table LFA1 (the new field is T5UNT-NAICS ) through Append Structure but the append strcture is Partial Active. Also, how to add an additional field in the control screen of tcode XK02 using this BADI.
    1. How to make theAppend structure Active
    2. How to add a screen field using this BADI
    Regards,
    Deeephi.

    1. My table was partial active...so go to se11,Enter LFA1 in display mode, Go to Path Utilities-database utility.now click on Activate and Adjust database.it will activated fully.
    2.
    a) create a module programme with the the screenfield(LFA1-NAICS) that you want.
    b) In pbo of module pool,enter following code
    data : l_zfield type lfa1-NAICS.
    constants: c_zfield(10)  value '(SAPMF02D)LFA1-NAICS'.
    field-symbols: <fse>.
    assign (c_zfield) to <fse>.
      if sy-subrc = 0.
        l_zfield = <fse>.
      endif.
    If sy-tcode = 'XK02'.
         Loop at screen.
              If screen-group1 = 'Z1'.
                   Screen-input = 0.
                   Modify screen.
              Endif.
         Endloop.
    Endif.
    c)create a Screen group(Z1) as sushipal reddy showed int he atatched link.
    d)go to Method IF_EX_VENDOR_ADD_DATA~CHECK_ADD_ON_ACTIVE  and add following code
    if i_screen_group  = 'Z1'.
    e_add_on_active = 'X'.
    endif.           
    e)Go to method IF_EX_VENDOR_ADD_DATA_CS~GET_TAXI_SCREEN and type following code
      IF sy-tcode EQ 'XK02'.
        e_screen = '0101'.
        e_program = 'Z_ADD_FIELD_XK02'.
       e_headerscreen_layout = 'E'.
      ENDIF.
    f)thast it...go to xk02 u willl see an al push button and click on it..u can view the screen field...

  • "You cannot respond to a meeting without an organizer. You must add an organizer field to the item."

    I'm working on resolving an issue for a user that needs to reschedule appointments in 3 Conference Rooms when needed.
    The user will open the meeting request and hit 'decline' and then attempt to edit the response before sending it back but then the appointment closes and the following message appears:
    "You cannot respond to a meeting without an organizer. You must add an organizer field to the item. "
    -End User has Full Mailbox Access
    -Listed as a 'Owner' of the Calendar
    -Delegate Rights granted to the Calendar as well
    -Not in Cached Mode
    Check Office updates and Office is up to date on patches.
    User does not have a blackberry device.
    Not sure of what else to do...I have researched this topic and all the items I have tried have not worked.
    The Test Meeting I created to reproduce the errors was done through Outlook and adding the conference room as a resource and the user getting the errors as someone required.
    I changed the calendar view to "Active Appointments". Right click on the column headings to add a field. In the field choser, pick All appt fields. Scroll down and drag n drop the Organizer field on the fieldbar.
    The Organizer (From Field) is showing the end users who scheduled the meetings.
    My Test Meeting Request that I had scheduled for last week that re-produced the error message was moved to today.
    It is showing me as the Organizer.
    Had the user who manages the Resource try again to cancel or edit the meeting and again receive the same message.

    Hi,
    I suggest you check related meeting in Calendar folder by using MFCMapi:
    Note: The meeting should be added to Calendar folder as tentatively accepted if you open the meeting request (but takes no action) or sniffer processes the meeting request.
    1. Download MFCMapi tool from here:
    http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=55fdffd7-1878-4637-9808-1e21abb3ae37
    2. Configure Outlook Profile (Online Mode) for the Conference Rooms
    3. Logon the Mailbox of the Conference Room by using credential of the End User.
    4. Open the Calendar Folder, locate the problem Meeting
    5. Right click the meeting entry and click Disable Recipient Table
    6. You should be able to get both the organizer and the attendees
    7. In addition, the PR_Recipient_Flags of the organizer should be 3 while the attendees are 1
    Mike

  • Add an additional field to a generated rapid application

    Hello,
    i have created an application with the rapid application process. Thereby i used an existing database table.
    But now i need to add two more fields to this database table...is it possible?
    greets
    KungPow

    Just add a new slide as normal;    command shift N   or  Slide > New Slide
    Your narration will most certainly need to be recorded again as it will not match the new timings.

  • How to add a new field in migo transaction (header level)

    hi guru's
    can you please tell me how to add a field in migo transaction?
    i want to add a field in header data and that too under "general" tab. i dont have data regarding that field.
    and when we enter a value for that field in migo, it has to take .
    thank you.

    Hi, My problem is allmost like the one you are discussing here....
    I have appended MKPF for my Z-fields and created a sub-screen (Design the screen). I am calling this screen in PBO_HEADER. Now i can see my newly created tab along with fields.
    Now the problem is:-
    1. How I can transfer that data entered in screen fields back to my BADI.
    2. How to update my z-fields in MKPF table along with standard fields. I have tried using FM - 'J_1IEXGM_BADI_POST_DOCUMENT' in Method - POST_DOCUMENT, but its not updating table record in MKPF for Z-Fields.
    Please advice.....
    Thanks

  • How to use Z transaction type while in the Transaction launcher Wizard?

    In SPRO->CRM->Transactions->Basic Settings->Define transaction Types I can see a whole host of Z transaction types.
    These define all sorts of business transaction defaults. Within the Transaction launcher Wizard there is a Transaction Type that can be entered, but I can only see three options, being 'BOR Transaction', 'URL Transaction' and ' M', for some reason. None of the transaction types shown in the above SPRO path are displayed.
    Does anyone know how I can use my Z transation type. These are used by the config behind the Action Boxes for the Winclient IC, but I can not get the Transaction launcher wizard to see or use these. The SAP How-to Guide to tha Transaction Launcher says that only BOR and URL Transactions can be used (unless you have IS-U). If this is true then how does one provide all the information provided by the Transaction type. The whole idea of the transaction type is default this information in one area.
    Anyone.
    Jason

    I think it is possible.
    In CRMC_UI_NBLINKS if you look at the logical links you can see that SRV-ORD-DC has a Parameter of 'SRVO' with a certain Parameter Class.
    If you were to check SPRO->CRM->Transactions_Basic Settings->Transaction Types  you will see that SRVO exists as an entry. This logical ink is therefore using this Transaction type to extract characteristics etc.
    Having said that, I need to call the sales order create with a certain transaction type, so I copied SLS-SLO-CR to a Z copy, added the Parameter of 'Z111' and also used the Parameter class of CL_CRM_UIU_BT_PARAM_CREATE.
    This should now, in theory all work, and show the exact same transaction in the Webclient IC as it does in the Winclient IC as they are both using the same Transaction type. However, the Webclient transaction looks different in terms of fields etc., so I don't think it's working. after all.
    Jason

Maybe you are looking for