Help req for screen exit in migo
Hi guys,
I am using badi MB_MIGO_BADi to design an header screen i am facing following issues
1) It should be active for a particular plant. Now which badi/exit shld be use to export the value of plant
to badi to make it visible or invisible. IF its invisible does it also make it inactive??
2) to save the data from the screen into an z table. i put a break point in exit MB_CF001 but its not executing when
clicked on save while creating GRN against a PO.
Hi,
rearding the capturing of transit loss, I guess you can use the field 'Qty in Delivery note" to capture the Qty claimed to be delivered and capture the actual qty in the qty in Unit of entry field.
The difference would the transit lodd.
You can build reports on these.
Hope this helps.
Similar Messages
-
How to find the screen exit of migo screen
Hi anybody,
Please tell me how to find the screen exit in MIGO Sceen.
Thks
Kali.GO TO TRANSACTIO CODE MIGO
GO->SYSTEM->STATUS
COPY THE PROGRAM NAME
OPEN SE38 EDITOR
GIVE THE PROGRAM NAME
IN THE GLOABL SEARCH SEARCH THE STRING
SELECT RADIO BUTTON MAIN PROGRAM
CALL CUSTOMER
U WILL GET SOME CALL CUSTOMER FUNCTION '001'.
DOUBLE CLICK ON THAT U WILL GET THE EXIT
FOR ANY EXIT SCREEN MENU FUNCTION THE PROCEDURE IS SAME
PLEASE REWARD IF USEFUL
REGARDS
I -
How to implement Help System for an exit Web application
I want to know detail steps to use OHW create a Help System for an exit ADF web application.
I read a lot doc about Oracle Help.
I down load the demo bundle and test it. It seems working. But it need to start separately. Also I do not know how to use it to build a help system for an exit ADF web application.
Any body can help me to learn HOW with jdeveloper step by step.
Thanks.Frank,
Thanks for your reply.
I checked the site that you mentioned.
I try the sample “demo with bundle. The sample worked.
But it needed to start separately with the application.
I do not know how to build a help system with the existed web application developed with Jdeveloper (It has two projects: model and user-view-control. It is deployed on Oracle Application server).
Could you help me step by step to build the help system? -
How to write the code for screen-exits
halo fellow SAPiens,
I want to add a screen for t-code AS01......for which i have created a sub-screen in the function grp (related to AS01)........now i need to link the sub-screen with the Standard SAP prgm..........i.e call the sub-screen........how can i do it...........pls send me one example for implementing menu-exits,screen exits and
Screen exits - Urgent.
screen exits
Screen exit
Please reward points if helpful... -
Searching for screen exit in Transport Organizer
Hi all,
I'm searching for a possibility to add an additional tab to the Transport Organizer with some additional fields. Is there any enhancement / screen exit available for this kind of extension without the need to modify the SAP standard?
Thanks in advance for any comment!Hi MWALT,
I did some searches on transactions th Transporte Organizer and is not possible to do what you need, unfortunately.
Well, what I recommend you to do, is call a online program in the enhancements existing, perhaps can be a solution this problem.
Best regards,
Rafael Sá -
Hi all,
the requirement is...
In MIRO,the Incoimg invoice should not be posted without an empty field of amount(WRBTR) in the Basic Data.Currently as per std,it's not a mandatory field and can be posted by not entering any amount in that.So, either we have to make it as a mandatory field or should restrict not to saving the data if posting of empty field.(Not giving any amount)***seems,it tells the user to give the amount as mandatory.
How to do this.....if its coming under the USER Exit object...pls post both how to get the std program and enhancement assignment(it asks while creating user exit in CMOD) also for user exit.
thanks & regards
sankar.hi
Program name is SAPLMR1M
For MIRO tcode, you have below user exits.
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on docs
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006 Logistics Invoice Verification: Process XML Invoice
MRMH0001 Logistics Invoice Verification: ERS procedure
MRMH0002 Logistics Invoice Verification: EDI inbound
MRMH0003 Logistics Invoice Verification: Revaluation/RAP
MRMN0001 Message output and creation: Logistics Invoice Verification
EXIT_SAPLMR1M_003 may useful to you. Check with this.
Reward if it dose
Thanks
Siva Kumar. -
Screen Exit in MIGO transaction
Hi All,
My requirement is to add new tab in the item level of the transaction MIGO.
For this purpose, I found the BADI MB_MIGO_BADI in which I am making use of methods PBO_DETAIL, PAI_DETAIL, LINE_MODIFY and POST_DOCUMENT in my enhancement.
Now In my enhancement, I have create a container on the sub screen along with few fields and display some text based on the material. For this I have created a program ZTEST_BADI with screen 9000 and handled the logic for placing text editor on the container and populating the text in the text editor. But I am getting an exception ERROR_DP from the method SET_TEXT_AS_R3TABLE in the class CL_GUI_TEXTEDIT.
Exception is stated as "Error while sending R/3 table to TextEdit control!"
My questions:
1. What might be the reason for this exception? This functionlity is working when I have tested the program by executing it individually with out calling from MIGO transaction.
2. How text should be passed when we are handling text editor in sub screens.Is that mandatory to convert to stream? or will this method SET_TEXT_AS_R3TABLE suits my requirement?
Thanks,
Ravee..hi ravee,
Please go through that link ...it will helpful for U...
WWWDOTSAPTECHNICALDOTCOM/Tutorials/ExitsBADIs/MIGO/screenexit.htm
Regards,
Arun.
Edited by: Arun Kumar on Dec 4, 2009 11:51 AM
Edited by: Arun Kumar on Dec 4, 2009 11:51 AM -
hi,
i'm trying to add custom fields in XD01.. we have 6 tabs in the second screen in XD01.. it should come as 7th tab..
for this in the PREPARE MODIFICATION-FREE ENHANCEMENT OF CUSTOMER MASTER RECORD in SPRO, i have created one screen group 'Z1' and inside that screen group i have passed parameters NUMBER : 7, and FCODE : ZNEW
and i have implemented the method 'CHECK_ADD_ON_ACTIVE' in the badi 'CUSTOMER_ADD_DATA' writing the following code :
IF I_SCREEN_GROUP = 'Z1'.
E_ADD_ON_ACTIVE = 'X'.
ENDIF.
but in the second screen in XD01, i found that tab is not getting displayed.. wht could be the problem..
thanksHI,
IF I_SCREEN_GROUP = 'Z1'. i think it should be Z1 without codes.
E_ADD_ON_ACTIVE = 'X'.
ENDIF.
HERE remove the codes for Z1
hpoe it will help you.
regads, -
Help Req for creating tool tip for value
Hi ABAPers,
I have created the search help for material.
In search help output screen ,
I have the column contain a long text with the output lenght as 40 char that is displayed and once i put the mouse on it the entire long text should apears.
Kindly help.
Thanks & Regards
Sachin YadavIf it is a input text field... i think not possible.
This is only possible for buttons on toolbar (as far as i know) -
Help reqd for USER EXIT - VA01
Hi all,
i've the details of lists regarding the VA01 std enhancement assignment....but really i dont know which one'll be applicable for my USER Exit object....
My client requiremnet is...In VA01 or VA02
The enduser will be able to create/do the line items upto the line 4th (POSNR -004).means,we shuld restrict the line items as a maximum of 4 only and it has to throw an error if going for 5th line item and revert back to main .
which is the std enhancement/exit for this to declare in CMOD....the exact one
,i need.
If anyone has faced the same creiteria,then pls post ur comments here in detail,else if any knows the exit name,pls reply here on urgent basis.
my mail-id is [email protected]..for post ur comments thru mail.
thanks & regards
sankarTransaction Code - VA01 Create Sales Order
Exit Name Description
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
No of Exits: 15
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Rewards if useful.........
Minal -
Urgent help need for user exit
Hi all,
i have just did one user exit but in RSA3 field is not coming. in step 1 i modified the extract structure. in step 2 in added field in include program ,saved and activated it. but field is not coming in RSA3. can anyone plese help me what should i do now or what has went wrong.
in RSA3 update mode is 'F'
thanks in advancehi,
Have you created a project in CMOD and included your User exit component(RSAP0001) and activated it?.
check that. otherwise give some more details reg. your problem.
rgrds,
v.sen.
Message was edited by:
Senthilkumar Viswanathan -
Help Req: Refreshing Screen
Hi Folks,
Could anyone from amongst you let me know if we can refresh contents of screen after a stipulated time. e.g. after every 5 minutes i need to refresh a screen.
Please let me know if it is possible and if so could you also send me some demo code so that i can understand what is done in order to achieve it.
Regards,
ImHi,
Check this link:
http://www.sap-img.com/fu014.htm
This ABAP program will automatically update a report every 30 seconds while it is on the screen
at the same time keeping the GUI screen buttons active.
Reward if it helps.
Thanks,
Swati -
How to Save Screen data using BADI for Screen Exit
Hi All,,
I have requirement got MIGO Transaction. Customer wants one tab besides VENDOR on header level. For that i used BADI 'MB_MIGO_BADI'. Also i created Append Structure in MKPF Table for two fields and designed sreen using SE51.
Now i want to save this data ( with added new fields ) into Data base table MKPF. I don't know where to place code .
Also pl confirm me that, when i copy Sample Code from
Go to -> Sample Code -> Copy . All the code is copied from BADI. So is it necessary to keep the code for each method as it or i have to comment all the code i each methos. i am littel bit confused abt it. Please tell me in detial.
Also tell where to put logic for saving newly added fields .
waiting
Thanks and Regards.
Ulhasis this the one you are looking for?
Learning Series SAP NetWeaver Process Orchestration, Business to Business Add-on 2d OFTP Adapter -
Hi All,
I am retriving values from database and then writing it to a file...The code for this is
String query = "SELECT Project_Master.proj_name,Project_Master.proj_desc,Project_Master.proj_location,folder_navigation.nav_name, content_document.cont_name,content_document.cont_type FROM Project_Master INNER JOIN folder_navigation ON Project_master.proj_id=folder_navigation.proj_id INNER JOIN content_document ON content_document.nav_id = folder_navigation.nav_id ";
ResultSet rs = stmt.executeQuery(query);
int maxcols = rs.getMetaData().getColumnCount();
while(rs.next())
System.out.println("proj_name::"+rs.getString("proj_name"));
System.out.println("proj_desc::"+rs.getString("proj_desc"));
System.out.println("proj_location::"+rs.getString("proj_location"));
System.out.println("nav_name::"+rs.getString("nav_name"));
System.out.println("cont_name::"+rs.getString("cont_name"));
for(int i =1;i <=maxcols;i++)
myData.add(new Tags_Define(rs.getString("proj_name"),rs.getString("proj_desc"),rs.getString("proj_location")));
I get output of this as
<name>data1</name>
<desc>data2</desc>
<path>data3</path>
this data is repeated 6 times as there are 6 colomns in my table
If i comment out for loop i get the above data 2 times
But I want data to be retained row wise
What should i do?
Please help
Thanks in advanceFirst of all, when posting code, click the code button.
Is the for loop meant to be nested in the while or is it supposed to come after it? It is impossible to tell as you did not include the closing brace.
Also this code:
String query = "SELECT Project_Master.proj_name,Project_Master.proj_desc,Project_Master.proj_location,folder_navigation.nav_name, content_document.cont_name,content_document.cont_type FROM Project_Master INNER JOIN folder_navigation ON Project_master.proj_id=folder_navigation.proj_id INNER JOIN content_document ON content_document.nav_id = folder_navigation.nav_id ";is much longer than it needs to be. Are you sure it executes without errors? Why don't you use a table alias instead?
String query = "SELECT PM.proj_name,PM.proj_desc,PM.proj_location,folder_navigation.nav_name, content_document.cont_name,content_document.cont_type
FROM Project_Master PM INNER JOIN folder_navigation ON PM.proj_id=folder_navigation.proj_id INNER JOIN content_document ON content_document.nav_id = folder_navigation.nav_id ";also, you have not specified folder_navigation or content_document in the from clause, I presume these are also tables? Also, what is myData? We do not see it declared anywhere. -
Help req for check customer table maintenance with XD02 if not throw error
hello ABAP GURUS,
check customer of the table maintenance with XD02 if not throw error i have given the codition for passing the values in the table but before that it has to check whether the customer i am passing in to the table is a customer from xd02.Here whatever no i am passing it is accepting it should not happen, but when i give the customer which is not a customer it should not accept but it has to throw the message as 'customer does not exist.Its urgent please help me
TYPES: BEGIN OF TY_KNVI,
KUNNR TYPE KUNNR,
TATYP TYPE TATYP,
TAXKD TYPE TAKLD,
END OF TY_KNVI.
DATA : VALIDFROM TYPE GUEBG,
VALIDTO TYPE GUEEN.
DATA : IT_KNVI TYPE STANDARD TABLE OF TY_KNVI,
WA_KNVI TYPE TY_KNVI OCCURS 0 WITH HEADER LINE.
DATA : V_NAME TYPE SYUNAME.
SELECT KUNNR
TATYP
TAXKD
FROM KNVI
INTO TABLE WA_KNVI
WHERE KUNNR = YYV_CFORM-KUNNR
AND TATYP = 'ZCST'
AND TAXKD = '1'.
V_NAME = SY-UNAME.
YYV_CFORM-ENTEREDBY = V_NAME.
IF SY-SUBRC NE 0.
MESSAGE E000(E4) WITH 'Please change the tax classification of ZCST as' '1' ', in Sales Area Data'.
ENDIF.
I have used the following code to enter the data into the table maintenance it is working fine and throwing the error when the tax type is not the one which i have given in the select statements but the problem is when i have given the customer no which is not there in the XD02 tcode, it is accepting and showing the error message as MESSAGE E000(E4) WITH 'Please change the tax classification of ZCST as' '1' ', in Sales Area Data'. now i have to check the customer no from XD02 and if it is existing in that tcode it should allow to save in the table maintenance otherwise throw a message as the 'Customer no does not exist, this I am unable to write so how can i check please help me .
thankx in advance.
Edited by: soni khadary on Apr 22, 2008 7:55 AMHi Kelly,
I guess <wa_tab>-handle_style is of type lvc_t_styl therefore you can do the following:
ls_edit-style = cl_gui_alv_grid=>mc_style_enabled.
"I assume you know your non-key fields' names so you can use subrotuine to perform update on each of them
ls_edit-fieldname = 'First field name' .
PERFORM update ls_edit.
ls_edit-fieldname = 'Second field name'.
PERFORM update ls_edit.
ls_edit-fieldname = 'Third field name'.
PERFORM update ls_edit
FORM update USING fs_edit type lvc_s_styl.
field-symbols: <style_tab> type lvc_t_styl,
<style_wa> type lvc_s_styl.
LOOP AT <tab> ASSIGNING <wa_tab>.
if e_row = sy-tabix .
"get you style table
assign component 'HANDLE_STYLE' of structure <wa_tab> to <style_tab>.
"as <style_tab> is typed fully you can read the row you are interested in
read table <style_tab> assigning <style_wa> with key fieldname = fs_edit-fieldname
if sy-subrc = 0.
"update this entry
<style_wa> = fs_edit.
* modify table <style_tab> from <style_wa>.
endif.
endif.
endloop.
endform.
Note!
Though, this should work, the use of RTTI as Uwe suggested would be best practise approach as far as dynamic programming is concerned. Anyhow it is still up to you which one you pick.
Regards
Marcin
I noticed now that this line is not necessary
modify table <style_tab> from <style_wa>.
as we simply are working with field symbols, so changes made to <style_wa> are already visible in that table <style_tab>.
Edited by: Marcin Pciak on Mar 15, 2009 12:44 PM
Maybe you are looking for
-
I have a requirement to create and implement Badi. The following is code: method IF_EX_NOTIF_EVENT_SAVE~CHANGE_DATA_AT_SAVE. DATA: l_progname TYPE sy-repid, l_dynnum TYPE sy-dynnr. types: BEGIN of itab. INCLUDE dynpread. types: END of itab. dat
-
How do I clear an Ipod Touch?
I recently bought an Ipod Touch from my friend and she had gotten it from some store( idk where though) and today this lady came up to me and said that she found me on her map thingy from find my Iphone, and um i was hoping there was a way that i cou
-
IWeb 09 any cleaner code? Any faster loading pages?
Just wondering if iWeb 09 has improved in writing cleaner\faster code? Are the pages loading any more quickly than in earlier versions. I've got half a dozen fairly complicated sites done with whatever the last version of iWeb was before 09 ... I'm w
-
Shared Photo Streams Not Updating?
About a week ago I realized my shared photo streams were not updating. I am not recieving any new photos that my friends are posting, and when I upload new photos they don't go to any of my friends' devices. How can I fix this problem? Thanks!
-
Windows 7 and Vista hotsync instructions here
Recently I have seen a lot of older devices and the question asked. How to hotsync my device to Windows 7 or Windows Vista? Well there are three ways. First is good old USB. This depends on if your new OS is a 32bit system. How to tell if your OS is