Need BADI's for TCode IW3K( Order - Component List )
Hi All,
Please help me in finding the BAdI 's/any other enhancements for TCODE iw3k ( Change Order - Component Overview ).
I need to add a button on the screen layout at item level.
Thanks
Lokesh
Hi,
Did you check BADI <b>WORKORDER_UPDATE</b>?
rEGARDS
Similar Messages
-
BADI for Updating work order component data
Hi,
I need to update the field special stock indicator for the work order component data when it is saved. I am using the BADI WORKORDER_UPDATE for the same, but when I implemented the ZWORKORDER_UPDATE_IM using the standard defenition WORKORDER_UPDATE , the code does not allow me to change the it_component internal table belonging to the BEFORE_UPDATE method. Could you please help me in this.
Basically if we are implementing a standard defenition how to change the parameters of the methods in it.
Regards,
Prabaharan.GHi ,
It is giving the below dump. The parameter is importing parameter and it does not allow to change even using field symbol. Is there any other way. Is there an user exit which will be called when pressing enter button in component screen. The exit EXIT_SAPLCOBT_001 did not work for this.
Error analysis
The program tried to assign a new value to the field "<F_FS1>" even though
it is protected against changes.
The following objects are protected:
- Character or numeric literals
- Constants (CONSTANTS)
- Parameters of the category IMPORTING REFERENCE for functions
and methods
- Untyped field symbols to which a field has not yet been assigned
using ASSIGN
- TABLES parameters if the corresponding actual parameter is protected
against changes
- USING reference parameters and CHANGING parameters for FORMs if
the actual parameter for this is protected against changes
Regards,
Prabaharan.G -
hi
when i enter a material quantity in pr and if it is not match with material quantity with po order i should get a error message.
i need badi method for this with explonation.hi,
BADI and BAPI
hope this helps u,
Arunsri -
Hi,
I need a BAPI for Tcode 'OX19' so that the comapny codes for that Controlling area gets updated in the database.
Regards,
Deepthi.Hi,
Using the BAPI "BAPI_COAREA_GET_RELATED_CCODES" , I am able to view the company codes for that Controllling area. I need for Creation of Company codes for the controlling area. can you tell me please.
Regards,
deepthi. -
How to pull sales orders based on a Campaign ID??( I have created one Campaign and i need to know,for how many orders it was applicable)
Hello,
as far I understand you are talking about campaign determination. Once a sales order is generated having a campaign determined the campaign creates a reference to the sales order. The best way to track the assigned sales orders is using the related transactions function:
The same feature is available for trade promotions as well.
The data is available in table CRMD_BRELVONAE - you can also write a report selecting on OBJGUID_A_SEL with the campaign or TP guid and OBJTYPE_A_SEL with BUS2010020 for campaigns and BUS2010030 for trade promotions.
Is this answering your questions?
best regards,
Johannes -
Mass Removal of component from Maintenance Order Component list
Hi Gurus,
I had a long list of material which have been set with deletion flag. With this list, I had remove them from BOM using CS20. Does anyone knows how to remove a component from the maintenance order component list based on that material had set deletion flag in material master & that GI had not been done? Appreciate your help.
Best regards,
David TanI guess we dont have std function to do this..
I will suggest to take help of an abaper & create a code to find material & delete from orders.
Regards -
User Exit/ Badi/ FM for Tcode IW32
Hi Experts,
I have a requirement which i need to update the next line with the same part number concatenate with u201CNVu201D and in the quantity enter u201C-1u201D and enter the item category as u201CLu201D.
The scenario is this,
In the service order (IW32) when ever a component is entered on a new line item, example below:
RESBD-MATNR= spare part(Ex: 0614-2331) compponent
System should update the next line with the same spare part number concatenate with u201CNVu201D
Ex: 0614-2331NV
and
Required quantity (RESBD-MENGE) =-1
Item Category(RESBD-POSTP) = L
Plant(RESBD-WERKS)= US40
has anyone done this before? Can you lend a hand? I just need the exit/ badi where the coding can be done.
Thanks.
Regards,
Min DeeHi,
try this User Exit..
Exit name Short text
IWO10012 Maintenance order: Priority handling on central header
to find the user exits & Badi's for the T-code..
go to table TSTC>enter T-code and execute> get the Program for the t-code..
and go to-se38-->get the package attached to the t-code..
next go to t-code Se15>expand the enhacement tab>enter package under userexit and
execute you will get the list of exits
available...
-->enter package under Badi's tab and
execute you will get the list of Badi's
available...
All the User exits are stored in Table MODSAP..
Prabhudas -
hi,
how do i search BADI's for T.code QM01.
Thanks N Regards
Priya.Hi Priya,
Firstly you need to find the package of the transaction for what you are looking for the BAdi's. Go to that transaction there in the menu bar, Go to System--> status and then you double click on the transaction and then you will find the package name.
Go to se84, there you select Enhancements> Business Add-ins> Definitions, and double click on that, There you give the package name and press execute button. Then you will be finding the list of badis for that package.
(or)
Please check this program and execute it. You will be shown all the exits and BAdi's for particular transaction. After executing it will ask for tcode, you give the code and then you press F8. Then you will be show all the Exits and BAdi's.
report zbadifinding.
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.
do 2 times.
enddo.
Finally, The BAdi's for QM01 are:
Business Add-in
WOC_FL_DETERMINE Determine Date for Determining Installation Loc. Equi.
NOTIF_AUTHORITY_01 Additional Authorization Checks for the Notification
IWOC_OBJECTINFO_CHNG Changes to Data of Object Info Screen
IWOC_LIST_TUNING Performance Tuning for Lists in PM/CS
IWO1_SUBSCREEN_0170 Display Additional Data on Object Screen 0170 PhysicalSample
IQS_MASS_CHANGE BadI for Mass Changes to Notifications
IQS0_STATUS_MAINTAIN Control of Changeability of User Status
Reward points if it helps you.
Cheers,
Swamy Kunche -
Screen exits/BADIs available for Tcode-QM02/QM03
Hi Everyone,
I have to modify a screen for Tcode-QM02( 'Checklist' tab) and add a drop down field to it.I have not worked on screen exits/BADIs prior to this please let me know how to proceed with this.
Alsoplease tell me how can I manually go and check out whether a exit or BADI is available for this transaction?
Please reply as its a bit urgent.
Thanks and Regards
Abhishekhi,
check these exits n badi's.
Transaction Code - QM02 Change quality notification
Enhancement/ Business Add-in Description
Enhancement
IWOC0004 Change single-level list editing PM/QM/SM ALV settings
IWOC0003 PM/SM authorization check of ref. object and planner group
IWOC0002 PM/SM notification: Check whether status change is allowed
IWOC0001 Create PM/SM notification: Determine reference object
IWO10027 User exit: Generate user-defined settlement rule
IWO10026 User check on setting status 'Do not perform'
Business Add-in
IQS0_STATUS_MAINTAIN Control of Changeability of User Status
IWO1_SUBSCREEN_0170 Display Additional Data on Object Screen 0170 PhysicalSample
IWOC_LIST_TUNING Performance Tuning for Lists in PM/CS
IWOC_OBJECTINFO_CHNG Changes to Data of Object Info Screen
WOC_FL_DETERMINE Determine Date for Determining Installation Loc. Equi.
NOTIF_AUTHORITY_01 Additional Authorization Checks for the Notification
goto system - status of ur transaction and find porogram name
then goto attributes of program n find package.
now goto smod or se18 click f4 click information system u will get all exits or badis available. -
Need BADI name for the Digital signature in QM Notification
Hi ,
Please provide me BADI name for the digital signature in QM notification. This is for ECC 6.0 EHP 3 package.
Thanks
NarayanHi Narayan,
Can u try this 'BADI_IQS0_SUBSCREEN_ADDON'.
Regards,
Praveen N -
BADI INVOICE_UPDATE for tcode MIRO
Hi
May I request you to kindly help me about implementing the BADI INVOICE-UPDATE . I do not know how to implement BADI , it will be great help for me if you can please suggest the steps involved .
We want to implement the BADI , to change the invoice party from Account Payable to post to GL account during MIRO. Your great help is appreciated.
Regards
Kang RingHi,
At first you can go to trasaction se18, and there u can display this Badi, please go through the documentation of this badi, whic in turn will help you to understand what this BADi about, what are the restrictions etc...
Now in order to implement Badi , go to trasaction Se19, and create a Z- implementation. Put some break points inside each methods and activate the implmentation.Now try to excecute the transaction, control will go through the methods and by that way you can came to a conclusion that in which method you have to write your code.
Once every thing is ready activate the implementation.
I think this info will help you to a certain extent, if you need detailed info let me know.
Regards,
Antony Thomas -
Batch determination for subcontract purchase order component.
Hello
Is it possible to do batch determination for the subcontract purchase order componet, then bring the component batch to the outbound delivery directly from purchase order? If no standard, any user exit or BADI... can do this also good for us.
Thanks
HailiangHi
Yes I can manual input batch number, but I want the system select the batch in stock base on the batch classification. I can not find the batch determination function the the component detail screen.
Best Regards
Hailiang -
Need Standared report for Open Sales order for all customers
VA05 is not useful as it gives this list for individual customers.
We need to see a list of all open orders for asll customers in one report only.
Thanx in advance.Hello,
did you try with transaction SDO1 - Orders Within Time Period? If it doesn't fit your requirements I suggest you to create a query.
Best regards,
Andrea -
Create new tab in header using badi ME_GUI_PO_CUST for tcode ME21N
Dear all,
i have implemented method SUBSCRIBE in ME_GUI_PO_CUST to create new tab in ME21N,
but the tab is not coming
following is the code snips, please tell where is the error, or some setting needs to be done
method IF_EX_ME_GUI_PO_CUST~SUBSCRIBE.
DATA: ls_subscriber LIKE LINE OF re_subscribers.
if sy-tcode eq ' ME21N' OR SY-TCODE EQ 'ME22N' OR SY-TCODE EQ 'ME23N'.
CHECK im_application = 'PO'.
CHECK im_element = 'HEADER'.
CLEAR re_subscribers[].
ls_subscriber-name = 'Customer-Data'.
ls_subscriber-dynpro = '0101'.
ls_subscriber-program = 'SAPLMEGUI'.
ls_subscriber-struct_name = 'MEPO_SUBSCRIBERS'.
ls_subscriber-label = 'Customer Data'.
ls_subscriber-position = 10.
ls_subscriber-height = 7.
APPEND ls_subscriber TO re_subscribers.
ENDIF.
endmethod.
Regards
SumodhHi...I hv similar requirement.
I need to show a custom field in the screen for the items.
I tried using the methods "SUBSCRIBE" and "MAP_DYNPRO_FIELDS" as explained in the sample code.
Below is my code. I have copied the sample code and changed it lil.
Method "SUBSCRIBE":
DATA: ls_subscriber LIKE LINE OF re_subscribers.
we want to add a customer subscreen on the item detail tab
CHECK im_application = 'PO'.
CHECK im_element = 'ITEM'.
each line in re_subscribers generates a subscreen. We add one subscreen in this example
CLEAR re_subscribers[].
the name is a unique identifier for the subscreen and defined in this class definition
ls_subscriber-name = subscreen1.
the dynpro number to use
ls_subscriber-dynpro = '9000'.
the program where the dynpro can be found
ls_subscriber-program = 'SAPLZMMPO1'.
each subscreen needs his own DDIC-Structure
ls_subscriber-struct_name = 'ZMM_PO_CUST_SCREEN'.
a label can be defined
ls_subscriber-label = text-t01.
the position within the tabstrib can be defined
ls_subscriber-position = 13.
the height of the screen can be defined here. Currently we suport two screen sizes:
value <= 7 a sevel line subscreen
value > 7 a 16 line subscreen
ls_subscriber-height = 7.
APPEND ls_subscriber TO re_subscribers.
method "MAP_DYNPRO_FIELDS":
FIELD-SYMBOLS: <mapping> LIKE LINE OF ch_mapping.
*- customer fields
CONSTANTS: mmmfd_cust_01 TYPE mmpur_metafield VALUE 90000000.
LOOP AT ch_mapping ASSIGNING <mapping>.
CASE <mapping>-fieldname.
WHEN 'CLMNO'. <mapping>-metafield = mmmfd_cust_01.
ENDCASE.
ENDLOOP.
I created a function group - "ZMMPO1" and created the subscreen 9000 in that. I placed the custom field in that screen. Tha main program of ZMMPO1 is "SAPLZMMPO1".
I created a structure also - "ZMM_PO_CUST_SCREEN".
I want to know whether this is sufficient to display the tab on the screen or am I missing something.
It is mentioned that the implementation of "ME_PROCESS_PO_CUST" is a pre-requisite.
could you lemme know the process please.
Thanks,
Ram. -
Screen exit in badi FTR_CUSTOMER_EXTENT for tcode FTR_EDIT
Hi,
I need to add new tab to standard screen interest rate instrument (SAP t-code FTR_EDIT). In the new tab i need to add input parameter to save customised field in table vtbfha. I'm using SAP ECC6.
When searching for any user exit or badi, i found out badi FTR_CUSTOMER_EXTENT. There is no sample code that i can refer to.
I've looked at that BaDi and there is an option to add FCodes and Subscreen.
Is there possiblities that we can add new tab and input parameter to the standard screen.
How can i proceed from there.
Kindly help.
Thanks,
Biah
HowHi,
Yes definitely you can add tab (screen enhancement) to the existing screen. The all you need to do is create implementation for that badi (FTR_CUSTOMER_EXTENT).
First create screen '9000' using function group or program.
In method EVT_APPLICATION_START there is changing parameter 'PC_TAB_BADI_TABS'.
Now in this method write down the code as:
DATA: LS_BADI_TABS TYPE FTROP_BADI_SUBSCREEN.
LS_BADI_TABS-REPID = 'Program Name'.
LS_BADI_TABS-TEXT_TAB = 'New Tab'. "Text (max. 30 CHAR) to display
LS_BADI_TABS-DYNNR = '9000'. "Subscreen
MODIFY PC_TAB_BADI_TABS FROM LS_BADI_TABS
TRANSPORTING REPID DYNNR TEXT_TAB
WHERE FCODE = 'OPEN_TRTM_CUST_01'.
Hope it works. <removed by moderator>
Thanks
Vishvesh
Message was edited by: Thomas Zloch
Maybe you are looking for
-
Please help!! I have a Macbook Pro, running Yosemite. Lightroom 5.7 Whenever I try to add music to a slideshow, it shuts down the program.
-
Column Modification impact to Data foundation, Business layer and Data source in DS 1.2
Issue An existing Business Layer that is consumed by a Data Source definition in Design Studio 1.2 Version: 12.0.2.201311041742 seems to invalidate the entire Data Source object after modification to the base tables DDL (data definition). Informatio
-
ECL-Viewer does not save Layer
After doing redlinig using WebECL-Viewer in cFolders i click on "Finish viewer session". A promt asks to save the Layer.cgm but after that, no Layer is saved. Anyone knows this problem? Has anyone a suggestion what to do? Thanks!
-
Why doesn't update link for Google Earth plugin work?
Using information I found here: https://support.mozilla.org/en-US/questions/925671?as=aaq I was able to update the plugin. However, the problem that remains is that the link which Firefox provides in the plugin-up-to-date report does not work! This w
-
Trying to burn an album and PE won't do it
It keeps going in a search mode looking for lost or misplaced files. What can I do to get around this problem?