Userexit in MM02 transaction?
Hi,
I want to modify the value of MVKE-PRODH ( Product hierarchy field present in Sales-org data 2 view).
This userexit/BADI should get triggered on Save of MM02.
Thanks & Regards,
Navneeth K.
check this
Enhancement name : MGA00001
FM : EXIT_SAPLMGMU_001
Include : ZXMG0U02
Create project at CMOD and use enhancement.
Similar Messages
-
How to find the position of view in MM02 transaction for coding BDC?
Hi Guys,
Is there any FM or BAPI Available to find the position of the view in MM02 transaction. I tried FM SELECTION_VIEWS_FIND. But getting inconsistent results
i.e Some materials it is giving correct positions but for others i am getting wrong position. So my BDC is getting failed.
Thanks in advance.
Vinod.Hi,
data : i_t133a like t133a occurs 0 with header line,
ch(1),
viewno(2) type n.
clear viewno.
select * from t133a into corresponding fields of table i_t133a
where bilds = '21' and guifu like 'SP%' .
loop at i_t133a .
ch = i_t133a-pstat.
if mara-vpsta na ch .
delete i_t133a .
continue .
endif .
endloop.
sort i_t133a by guifu ascending .
loop at i_t133a .
viewno = viewno + 1 .
if i_t133a-guifu = 'SP01'. "FOR BASIC DATA1 CHANGES ACCORDINGLY REFER TABLE T133A TO FIND VTHE VALUE
exit .
endif .
endloop .
reward if usefull -
Insert/link a PDF file in MM02 transaction.
hi
I would like to know if it is possible to insert/link a PDF file in MM02 transaction.
Please let me now something.Hi Vale,
I think that it would be possible to insert the pdf file to the MM02 transaction: Please try following the below steps:
1) Follow the path : MM02 -> System -> Service for Object -> Create -> Create External Document (URL).
2) You will get a popup saying "Create a link for Web page".
3) Fill in the required details as per the requirement. Give the appropriate title, Location for the file to be attached ( Path ),
4) Click on Execute button, SAVE.
Note: Please remember to provide the file extension like .pdf while attaching the file. Else the file wont be displayed when you try to display the attached file.
Thanks
Pawan -
Any Userexit & BADI for transaction VB(7 during final settlement
Hi SAP GURUS,
I have checked no user exit and BADI. Any Userexit & BADI for transaction VB(7 during final settlement. During final settlement of rebate, I have to change the amount from KONP table in transaction VB(7 . Let me know the userexit and BADI.
Regards,
Karthik.Hi Sekhar,
These following BADI are not capturing KONP item details.
I want to capture KONP item details to modify amount.
ARC_SD_COND_CHECK : Archiving Object SD_COND: Additional Checks
ARC_SD_COND_WRITE : Archiving Object SD_COND: Archive Additional Data
SD_COND_SAVE_A : Save condition application A, E
Regards,
Karthik. -
Regarding Email address - Userexit for VF02 transaction
Once you enter a VF02 transaction, If you goto header partners and double click on the partner number it would take you to the customer master data screen in which we have an option for Email address this is in Display mode my requirement demands to make it Visible so that the enduser would enter the email address which finally reflects in the printoutput.
I would like to know the correct exit for resolving this issue
Any suggestions are appreciated........................
Naveen.Hi Naveen,
Check all Exits for VF02
Transaction Code - VF02 Change Billing Document
Exit Name Description
SDVFX007 User exit: Billing plan during transfer to Accounting
SDVFX008 User exit: Processing of transfer structures SD-FI
SDVFX009 Billing doc. processing KIDONO (payment reference number)
SDVFX010 User exit item table for the customer lines
SDVFX011 Userexit for the komkcv- and kompcv-structures
V05I0001 User exits for billing index
V05N0001 User Exits for Printing Billing Docs. using POR Procedure
V60A0001 Customer functions in the billing document
V60P0001 Data provision for additional fields for display in lists
V61A0001 Customer enhancement: Pricing
No of Exits: 10
Rewards if useful...............
Minal -
Regarding userexit for pa40 transaction for validating position and persona
when iam entering the position and personal area in pa40 transaction , this position is should matched with personal area of the pa13 screen,and that personal area should match with pa40 presoanl area, for this requiremetnt which userexit is suitable.
please any one worked on this type of requirement please help me on this.k
-
Hi all. I need a user exit in transaction MM02. I've tried using the exit MGA00001 but it doesn't seem to work, i activate it and nothing happened.
If anyone knows another exit, i'm using SAP ECC 5.0.
Thanx.Go to SE37, enter the function module name as EXIT_SAPLMGMU_001. Look at the source code, did you create that include program ZXMG0U02. If not, you need to create it. Double click on it, the system will ask if you want to create it. Put the code inside this include program. To check if it is being fired, put a breakpoint on a line of code inside the include program.
Make sure that the enhancement is activated via SMOD/CMOD.
REgards,
Rich HEilman -
BDC for Purchase order text updation in MM02 Transaction
Hi ALL,
I am updating purchase order text of a material in MM02 using BDC program.
I have done recording, and the program is updating text if the text field already contains some value. but,
when the field is empty and if the program tries to feed new data then it is not working.
Please help me!
regds,
RajanHi
material master purchase order long text
you can use through BDC or LSMW it is possible,
here we need to check in lsmw Direct input mentod Program name "/SAPDMC/SAP_LSMW_IMPORT_TEXTS" object name (0001) method(0001) program type (D).
Header we have --- MATNR and TEXT ID
Item ---LINE(Text line).
in header- for NAME and ID map the source fields MATNR and TEXID respectively.
OBJECT and SPRAS pass the constants.
in Item--for TEXTFORMAT pass the constant '*' and for the TEXTLINE map the input field LINE of the ITEM structure.
or else u can check in SE37 'CREATE_TEXT' , in that function module check it object Id , name , spras, lineitem, language "E"
here i mention example of text flat file,
H 100-100 best
longtext1 -
Dear All,
I have to Change the Base Line Date in MIRO transaction with the GR Posting Date while booking the Incoming Invoice..i.e BSIK-ZFBDT date i have to change it with MKPF-BLDAT...
I have tried all of the UserExits for MIRO transactions. but did not work...
Can any body tell me any alternate way.e.g BADI or something..
Regards,
RushikeshHave a look at below code which lists BADI for particular tcode. It might help you.
*& Report ZBADI *
REPORT zbadi .
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.
Best Regards,
Vibha
*Please mark all the helpful answers -
Updation for Production and Proportion unit in MM02 transaction
Hi expert,
Requirement is i need to change proportion/prod unit in MM02 i found one Bapi the Bapi name is 'VBWS_UOM_MAINTAIN_DARK' but it is not working can you provide test data for this and last chance i wrote BDc the values are fetching in debug mode but it is not reflecting in MM02 trnasactions. experts can you please give any solution for this.
Thanks.Hi
material master purchase order long text
you can use through BDC or LSMW it is possible,
here we need to check in lsmw Direct input mentod Program name "/SAPDMC/SAP_LSMW_IMPORT_TEXTS" object name (0001) method(0001) program type (D).
Header we have --- MATNR and TEXT ID
Item ---LINE(Text line).
in header- for NAME and ID map the source fields MATNR and TEXID respectively.
OBJECT and SPRAS pass the constants.
in Item--for TEXTFORMAT pass the constant '*' and for the TEXTLINE map the input field LINE of the ITEM structure.
or else u can check in SE37 'CREATE_TEXT' , in that function module check it object Id , name , spras, lineitem, language "E"
here i mention example of text flat file,
H 100-100 best
longtext1 -
USEREXIT FOR vf01 TRANSACTION IN INTER COMpany billing
Hi guys ,
Could you please suggest a closest userexit for Intercompany billing where the requirement is It should take iv billing type automatically before pgi is done.one sap note is applied which is allowing billing to take place with out pgi ,but we have to select manually ,the requirement is it should propose automatically.Please help.
Regards
vinod sunkariHi,
Check below link.
https://wiki.sdn.sap.com/wiki/display/ERPLO/SDUserexits
Best regards,
Anupa -
BADI or userexit for MIGO transaction
hi All,
I have a requirement to enhance the MIGO transaction subscreen 304.
In subscreen 304 there is only check box ITEM_OK.
In the MIGO at the bottom of the screen ,whenver we click on item_OK check box and press enter, in the line item it will automatically checks.
After the first check it has to get disabled in the screen.
I am trying to find the BADI for this..still trying
Please let me know how to achieve this functionality.Hi,
Try below BAdi's :
MB_MIGO_ITEM_BADI or
MB_MIGO_BADI
MB_DOCUMENT_BADI.
Also these will be of help furthur.
Enhancement/ Business Add-in Description
Enhancement
MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc.
MBCF0011 Read from RESB and RKPF for print list in MB26
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1
MBCF0009 Filling the storage location field
MBCF0007 Customer function exit: Updating a reservation
MBCF0006 Customer function for WBS element
MBCF0005 Material document item for goods receipt/issue slip
MBCF0002 Customer function exit: Segment text in material doc. item
Business Add-in
MB_RESERVATION_BADI MB21/MB22: Check and Complete Dialog Data
MB_QUAN_CHECK_BADI BAdI: Item Data at Time of Quantity Check
MB_PHYSINV_INTERNAL Connection: Core Inventory and Retail AddOn
MB_MIGO_ITEM_BADI BAdI in MIGO for Changing Item Data
MB_MIGO_BADI BAdI in MIGO for External Detail Subscreens
MB_DOC_BADI_INTERNAL BAdIs when Creating a Material Document (SAP Internal)
MB_DOCUMENT_UPDATE BADI when updating material document: MSEG and MKPF
MB_DOCUMENT_BADI BAdIs when Creating a Material Document
MB_CIN_MM07MFB7_QTY Proposal of quantity from Excise invoice in GR
MB_CIN_MM07MFB7 BAdI for India Version exit in include MM07MFB7
MB_CIN_LMBMBU04 posting of gr
MB_CHECK_LINE_BADI BAdI: Check Line Before Copying to the Blocking Tables
ARC_MM_MATBEL_WRITE Check Add-On-Specific Data for MM_MATBEL
ARC_MM_MATBEL_CHECK Check Add-On-Specific Criteria for MM_MATBEL
hope this will help you.
Regards,
Kiran -
Strage problem in ECC6 MM02 transaction when adding EAN/UPC
Hi,
We are seeing a strange problem in MM02 when adding EAN/UPC in "Additional EAN" screen. Following is my input:
<u>Alterate Unit of Measure</u>
EA
<u>EAN/UPC</u>
Internally generated
<u>EAN Category</u>
ZJ
When I hit save and then enter it does not save, I mean the new EAN/UPC generated is not getting saved. But if I hit Enter and then Save or Save twice it does.
Thank you,
Jagadishpost the message to OSS
-
How to restrict change to plant specific data in MM01 and MM02 transaction.
Hi Experts,
The requirements is to restrict the plant specific data change in one system. As of now we have 2 different system lets say sys-1 and sys-2. our requirement is if at all any of the users are trying to change/create the material in Sys-1 they should be only able to update basic information and parts regional information/global informations only in sys-1.
Do we have any option in customizing?
If not then what would be the way to achieve this?
Please help.
Thanks!!!!
Rajesh.Hi,
Please refer the below link it may help you..............
Authorization object for label Data view in mm02 -
User Exits for MM01 & MM02 transaction
Hi SDN,
Is there any user exit available for Change, create Material so that i can update some materail related data.
Regards,
RahulHi
MGA00001- Material Master (Industry): Checks and Enhancements
Func. EXIT_SAPLMGMU_001
MGA00002- Material Master (Industry): Number Assignment
Func. EXIT_SAPLMG02_001
Func. EXIT_SAPLMG02_002
MGA00003- Material Master (Industry and Retail): Number Display
Func. EXIT_SAPLOMCV_001
Func. EXIT_SAPLOMCV_002
Func. EXIT_SAPLOMCV_901
Func. EXIT_SAPLOMCV_902
Regds
Seema
Maybe you are looking for
-
Design View Refresh doesn't work on mac CC
Hi Y'all, I'm having horrible trouble with Dreamweaver CC on mac, (10.8) quad core, 32GB RAM... when highlighting something in design view, it does not highlight the respective code anymore like the older versions used to. and the design view refresh
-
HELP PLEEEEEASE
-
SUN VM Shared File Systems make Errors with lucreate
Hi, I have a problem with an attached A5200 with mirrored disks (Solaris 9, Volume Manager). Whereas the "critical" partitions should be copied to a second system disk, the mirrored partitions should be shared. Here is a script with lucreate. /usr/sb
-
Third pary sales order- when is it closed
Iam testing third party process. All the config is in place. after i created the Po from third party sales order , i tried receiving the goods (statistical goods receipt) for it in diffeerent ways. 1) general MIGO for the Po quantity 2) Inbound deliv
-
I can't access photos or videos on my iPad when I am in iMovie. I can access them fine on my iPhone. Thanks!