Add a field in MIGO
Hi Experts,
I have to add a field from a Ztable in the Header of MIGO Transaction please tel me how to proceed for that .Please tel me in detail.
Regards
Nikhil
Hi
check the following User exits related to MIGO and use the relavent one for adding the fields
MBCF0002 Customer function exit: Segment text in material doc. item
MBCF0005 Material document item for goods receipt/issue slip
MBCF0006 Customer function for WBS element
MBCF0007 Customer function exit: Updating a reservation
MBCF0009 Filling the storage location field
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1
MBCF0011 Read from RESB and RKPF for print list in MB26
MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc.
Reward points for useful Answers
Regards
Anji
Similar Messages
-
Is it possible to add PERNR field to MIGO or MB1A transaction screens?
Hi,
Ours is a service industry with @ 10000 employees and we have implemented SAP with MM & HR module. We issue uniforms to all the employees when they join (new Joinee) and again once in January every year as reissuance. We intend to keep size information in employee masters in HR along with station code, designation, department and cost centers.
At present we are using two fields goods recipient and unloading point to mention employee code and type of issue (new joinee or reissuance). This is because employee code (PERNR) field is not there in MIGO_GI screen or MB1A screen.
Is it possible to add PERNR field to any of these transaction screens?
If added then we can fetch the relevant information about issuance of information along with station code, designation, department in Z report.
If possible, then how it can be done?
Thanks in advance,
SatishHi ,
as i understand we can add new fields in a transaction through user exit /field exit. so please discuss with your ABAP consultant & try to find out all the exit available for MIGO/ MB1A. then you have to decide which one will suit you. here you have to consider some factors like whether you need to enter values in the field or the field needs to fatch any value from any other table & should populate here.
the ABAPer can then write the code & add your required logic here.
i am not very good in this subject. just tried to share what ever i knew.
regards,
anubhab -
Hi,
when i try to add a new tab in the T-code MIGO my new tab added successfully but when i click on "Item OK" it don't show the Excise Invoice tab. i am using MB_MIGO_BADI badi. please help me how to solve this issue?
Mukeshmy issue is solved by using the standard class "CL_EXM_IM_MB_MIGO_BADI" Class.
-
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 -
Regarding - add a new field in migo transaction
Hai guys,
i need to add one field in MIGO transaction, can u pls tell me the step by step procedure for adding the new field in migo transaction.
Regards,
N.selvamuthukumar.Hi Selvamuthu,
It is possible using the BADI MB_MIGO_BADI to add Additional tabs in header and/or item as required
MB_MIGO_BADI -> BAdI in MIGO for External Detail Subscreens
See the documentation below...........
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
to display an additional detail tabstrip with own subscreen (max. 10 lines) in MIGO
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).
To read the complete documentation --go to se18 --click on BADI -- enter -- MB_MIGO_BADI----Display
inside click on "DOCUMENTATION" button and there is a complete documentation step by step
in addition to it ...--go to se18 --click on BADI -- enter -- MB_MIGO_BADI----Display ->
on the top menu -> "GOTO" -> sample code -> "Display"
in will get the "methods" tab..see the description
Initialization and Registration of Ext. Detail Screens
PBO of Detail Screen
PAI of Detail Screen
Add / Change a Line (GOITEM)
Delete a Line (GOITEM)
MIGO Reset (Delete All Internal Data)
Post Goods Movement
Check Item Data of Goods Movement
Mode of Transaction MIGO (Action / Reference Document)
Status Information and Header Data
Save Held Data
Load Held Data
Delete Held Data
PBO of Header Screen
PAI of Header Screen
Check Header Data of Goods Movement
Publish Item Data After Processing
sample code is given in these methods..so when we create a custom badi implementation of our own go to the sample code and copy the required code in the corresponding methods as required
double click on the method..for eg:IF_EX_MB_MIGO_BADI~PBO_HEADER in the sample code to see code....in this particular method we can see how method calls an external program and screen to create a new tab in MIGO...use code from mainly the following to get a new header/item tab
PBO of Header Screen
PAI of Header Screen
PBO of Detail Screen
PAI of Detail Screen
Pls take some time to analyse the code or flow but we can have the tabs in the header/item level
Hope it helps
Regards
Byju -
How to add a new Field in MIGO
Dear Sir,
We have a requirement of adding a new FIELD in MIGO under the "Detail Data" . The purpose is that at the Item level , we should be able to mention some additional information . For the new Field , an additional Tab has to be created . The Field must except long Text type data and during MIGO Save , the Custom Field data must be saved in Z table .
We request , SAP experts to kindly guide us as how can we do this . A step wise guidence would be highly helpful .
We assure full points for the suggested solution please .
Regards
B MittalHi,
1.Go to SMOD. Press F4 in the Enhancement field. In the next popup window, click pushbutton Information system.
2.Then mention the particular package name of the transaction you need to enhance. Then you will be shown the list of Enhancement components for that particular package.
3.Note down the enhancements. Then, come to the initial screen of SMOD and view the documentation of each enhancement to find out which one is required for your development
4.Go to transaction CMOD and create a project
5.Then, click on the pushbutton Enhancement Assignments in the Application Toolbar
6.Click on the components in Application Toolbar.
7.Here you will be shown the function module exits, screen exits and Include tables.
8.Click on the custom screen in which it suits the requirement of adding the custom field to the layout.
9.Click on layout and go to get from dictionary and select the field you need to add and click ok.
10.Place the field in the layout and activate it.
11.After that you come back and check the respective function module in which you need to implement the code.Therfore we have chosen the Exit_sap_XXX
12.Now, code has to be written in the function modules EXIT_SAPMMXX_00X so that data flows to and fro between the main SAP program and custom sub screen program. Double clicking on the exit we get the following screen
Double click on the include and write the required code inside it. Then activate it.
Now come back and activate the entire project. -
Need to add a field in Goods receipt txn MIGO
<i>Hello Friends,
I like add a field in the goods receipt txn screen - MIGO.
Since there is no screen exit's in SAP 4.7, How to do this.
Please come up with your suggestions.
Thank you,
Senthil </i>HI
then you have to modify teh SAP standard layout. for that you need the access key.
regards
kishore -
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 advanceWith 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. -
Add new field in detail table control MIGO
Hi Gurus,
We are able add the new(custom) field in MSEG table and it is able to view at line item lebel in transaction MIGO.
However the user requirement is he need the field shoud be in detail table control.
Could you please help me out. Thanks in advance.
Thanks & Regards
Tirumula Rao Chinnihi
Please go through these links
How to Add Field to MIGO : Urgent
MIGO How to add new screen field
Adding custom fields in the MIGO screen
Thanks.. -
Add item field in transaction MIGO
Hi,
do you know a BADI or an enhancements to add item fields in transaction MIGO?
Do you have documentation about this?
Many thanks.
LucaI have found the badi "MB_MIGO_BADI"
-
How to add new field storage location of MM in FMDERIVE
Dear All
I want to add new field storage location in FMDERIVE as need to consume budget on the basis of storage location
Thanks in advanceHi SAPCOFI,
With Eli and Aleksey on this thread, you dont need to worry anymore
Just to add on to the inputs....
Ensure that the USERTEMP1 buffer is cleared before a value is entered. We faced this issue wherein the previous S.Loc value was left as it is in the USERTEMP1, resulting in an incorrect assignment.
I also suspect that you might need to run the process of identifying the enhancement point and populating the S.Loc value into the memory and then to USERTEMP1 for different transactions separately. Not sure if this is the standard process, but atleast we did it that way.
For eg, we faced issues during Goods Issue from MIGO, as also during 301, 309 and 311 movement types. So execute these transactions too once the development is done and if the USERTEMP1 field isnt getting populated..
FMDERIVE TRACE was the most important tool during our tryst with S.Loc mapping into USERTEMP1....Ensure that you set it everytime during testing for this S.Loc, post development
@Experts - Please correct me wherever I've gone wrong.
Regards,
Wy. -
Custom fields in migo table control not updating
hi ,
This is to have your valuable suggestion , wrt , following issue..
In transaction MIGO , i have to add two fields uebto and untto in table control .
I am able to add them in table control, but some how not able to pick data for these fields .
error coming is :
" System error: Incorrect Customizing for field
ZZUEBTO".
if any face such type of issue , answer me .
Thanx,
jeetHi,
Thanks for your reply. I have added the custom fields in the item detail. But the customer wants the custom fields in the table view also.
Is there any screen exit available to modify the table control of MIGO?
Thanks. -
HI all,
Is it possible to add one more date field in MIGO transaction? If yes, how?
Thanks in advance,
MadhuHi,
With MB_MIGO_BADI , you can add additional tabstrip controls for the detailed information (detail tabstrips) and header information (header tabstrips) controls.
This badi comes with sample code implement this sample code as a reference I hope it will help you a lot.
For sample code goto tcode se18 enter badi name
From file menu choose goto->sample code->display.
Cheers
Ahsan -
How can I add form field value to the file name in save as dialog box
I do not want the form to be saved automatically, just want the form to auto populate the "file name" only.
A little background on the forms I want to use: My company has 70 retail outlets, I'll use one of our pdf forms called an "Incident Report" as an example. I would like for a store manager to be able to complete the form, then email the form to the main office (I already have javascript to add field values and form name to the email subject line), once the main office receives it, I want for them to be able to file the pdf electronically on our server. We have mutliple forms that we use so I do not want any of the forms to automatically save anywhere, (at this time anyway) I just want the office personnel to be able to click "save as" (or whatever they will need to click) and the form automatically add certain field values from the pdf they have received, of which will be different each time the form is sent to the office (Date, store #, employee name etc.) in addition to the name of the form in the "File name" of the "Save As" dialog box. The main office employees will decide into which server file the pdf should be saved.
I'm using Acrobat 8 professional, the stores and office personnel use Adobe reader.
One little note: We currently print and file a lot of paper on a daily bases, as soon as I can get this to work, we are going green.
Me and a lot of trees in this will really apprecitate any help you can give with this! :-)You might want to take a look at the document "Developing Acrobat Applications Using JavaScript" (js_developer_guide.pdf) which is part of the Adobe Acrobat SDK, which can be downloaded here. Read the "Privileged versus non-privileged context" (p. 45ff.). You will find an example for "Executing privileged methods in a non-privileged context". Should be almost exactly what you are looking for.
Small Outline: For security reasons ("the user always has to know what's going on") you are not allowed to use the "Doc.saveAs"-method without the user permission (--> in a non-privileged context). In order to reach the goal of a privileged context you can use a trusted function. You do this by creating a JavaScript file (*.js) in either the Application-JavaScript-Folder (default location on Windows systems: "%ProgramFiles%\Adobe\Acrobat 10.0\Acrobat\Javascripts") or the User-JavaScript-Folder (default location on Windows systems: "%AppData%\Adobe\Acrobat\10.0\JavaScripts"). Add the following content to the new file:
myTrustedBrowseForDoc = app.trustedFunction( function ( oArgs ) {
app.beginPriv();
var myTrustedRetn = app.browseForDoc( oArgs );
app.endPriv();
return myTrustedRetn;
myTrustedSaveAs = app.trustedFunction( function ( doc, oArgs ) {
app.beginPriv();
var myTrustedRetn = doc.saveAs( oArgs );
app.endPriv();
return myTrustedRetn;
The developer guide actually wants you to add this content to the existing "config.js" file. I recommend creating a new file, since its easier to deploy in a network. Either way, every client/user who needs to be able to save documents this way, needs this JavaScript Code in his Application/User-JavaScript-Folder.
Within the Acrobat Document, which you want to obtain a certain file name, you can now use the trusted functions "myTrustedBrowseForDoc" and "myTrustedSaveAs" to store the file. To call the trusted functions and deliver the file name you can either you use a form field (button) or you add a new menu item. Add the following JavaScript Action to the button/menu item and change "Roller Coaster" to the name of the field which contains the value which you want to become the new file name:
var fileName = this.getField("Roller Coaster").valueAsString;
try {
var oRetn = myTrustedBrowseForDoc({bSave: true, cFilenameInit: fileName + ".pdf"});
try {
myTrustedSaveAs(this, { cPath: oRetn.cPath, cFS:oRetn.cFS });
catch(e) {
console.println("Save not allowed, perhaps readonly.");
catch(e) {
console.println("User cancelled Save As dialog box");
Good Luck! -
Unable to capture data from drop down list in custom added field in migo tcode at item level
Hi guys,
need bit help in resolving query related to custom added field in Tcode migo.
i have added a field in migo at item level ,in this i have used drop down list
to get data but unable to capture data from drop down list.gown through
many blogs in scn but unable to resolve.
Please help me out in this.
Thanks,
Umakant.Hi,
U can use following code to fill the list box
write this code in PBO
In layout editor please select listbox in dropdown attribute of input field and put some fctcode attribute
TYPE-POOLS vrm.
DATA values TYPE vrm_values WITH HEADER LINE.
TABLES: <ur custom Database table>.
clear values, values[].
SELECT * FROM <ur custom Database table>.
values-text = <TABLE FIELD TO DISPLAY IN DROPDOWN> .
values-key = <TABLE KEY FIELD TO DISPLAY IN DROPDOWN>.
APPEND values.
ENDSELECT.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = '<SCREEN INPUT FIELD NAME>'
values = values[]
EXCEPTIONS
id_illegal_name = 1
OTHERS = 2.
Also please define the following before accessing the listbox value
data: <listbox input field name> type <table field name>,
<inputfield name where text to display> type string in top include
In PAI, select the text from the table into <inputfield name where text to display> depending on value selected which will be called when enter key is pressed or any vale is selected
Maybe you are looking for
-
"Open Item Managed" for Bank GL accounts
I am trying to tell my users that they should set the bank GL accounts (not the bank clearing account) as "open item managed". Our users have been clearing the bank accounts down to make it exactly the same as the bank statement. All the SAP Helps
-
Hi ... I have a situation in my Creditor Ageing Report, whereby Doc No, Doc Date, Comp Code and reference no has been deleted using transaction F-53, but when I print out the report it still appears ? Is there anything I need to do . Nathan
-
Based on a condition, I need to stop a Purchase order IDOC (orders05) from being generated.. Any ideas?
-
How to call Java Objects from ESB?
I don't know whether its possible but if there is a way please let me know I'd really appreciate. I'm sending message to the JMS queue and I've created JMS adapter that I expect to be triggered when message gets into the queue. The message is an xml
-
Problem while copying datas using Copy Express
Hai Experts, Greetings. We were trying to copy Master and Configuration datas from test database to Live database using Copy express. The datas from Item Master, BP Master copied Correctly, but, in CoA (we are using Segmented Accounts) the G/L Accoun