Screen exit for transaction IW31 for ref. object O150
Hi,
I need for find screen enhancement for trasaction iw31 in plant maintenance.
The requirement is to add 2 more fields (Functional location and Assembly) in the 'reference object' O150 on header tab. Currently the reference object has 2 fields and we want to add 2 more above mentioned fields.
Please help me, thanks
Sanjay Singh
HI
To search for a badi, go to se 24 display <b>class cl_exithandler.</b>
double click on method get_instance, get a break point on case statement.
execute and start the required transaction in new session.
look for variable <b>exit_name.</b> It would show the available badi's.
Please do reward if useful
Regards
Dinesh
Similar Messages
-
HOW TO Create variants for transaction MASS on LFA1 object?
hOW TO Create variants for transaction MASS on LFA1 object?
Edited by: cheppalliakr on Nov 10, 2011 1:09 PM
Moderator message: please do more research before asking, show what you have done yourself and provide more information when asking.
Edited by: Thomas Zloch on Nov 10, 2011 3:10 PMHi Oscar ,
You need to create optional date prompt variable in BW which fills your requirement .
Ex : If you require report should always run for 1st of the month to last of month .Then create Optional date variable in BW with interval .write customer exit ,
if from date is left blank it should take 1st of the month and if todate is left blank it should take last of the month .
when creating webi schedules , leave prompts as blank. -
BAPI Function module for transaction ME32K for change
Please let me know the name of the BAPI Function module for transaction ME32K for change the contract.
Hi Krishan,
I have checked but their is no BAPI called
BAPI_CONTRACT_CHANGE.
If I am wrong plz correct me with the procedure to view the above BAPI in SAP System.
Regards,
Nitin -
User exit for transaction VA01 for screen validations
Hi All,
I would like to know a user exit where I can validate the entry for "sold to party" on second screen of VA01 transaction against the sales area entered in the first screen.
Also please let me know how to code in "MV45AIZZ" to capture the same if it can be done.
Regards,
Usha.Hi Usha,
Following are the User Exits for VA01.
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
<b>V45A0002 Predefine sold-to party in sales document </b>
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
<b>Have a look at V45A0002.</b>
<b>Reward points if it helps.</b> -
User Exit / BADI for Transaction IW31 to create a POP-UP.
Hi,
I need to have a POP-UP Message in transaction IW31 on the press of ENTER. Could you give me the name of the EXIT or BADI which can be used for this purpose.Hi!
In IW31/IW32, there is no user-exit/badi for pressing Enter. User-exits are attached to well determined event (enabling, closing, saving the order and so on).
If you wanted to solve it, it seems, you have to modify the standard COIH function group. Use SE80 transaction for it. The first dynpro is 3000.
Regards
Tamá -
BAPI for transaction IW31 (creating a work order)
Hi all,
I need to be able to create a work order ( IW31) using ABAP code and was wondering if any knew if there was a BAPI that should be used for this functionality.
Thanks in advance
Marthi,
You can use
BAPI_ALM_ORDER_MAINTAIN.
Have a look at the following documentation.
FU BAPI_ALM_ORDER_MAINTAIN
Text
Process Maintenance-/Service Order
Functionality
This Business Application Programming Interface (BAPI) is used for changing maintenance- or service orders and their lower-level objects. The following objects of an order can be processed (for restrictions, see the note at the end of the documentation):
Order header
Partner
User status
Order operations
Relationships
Components
Long texts for order header, operations, and components
Function
Calling up this BAPI once allows you to perform all the operations. For this the system supplies the function module with a method table containing the methods to be performed. The entries in the method table refer to data records in the optionally filled-out data tables. All the methods from the method table are performed. Alternatively, just lower- level objects from existing orders can be changed.
You can process the transferred data with the Business Add-In (BAdI) IBAPI_ALM_ORD_MODIFY to, for example, merge data from the external system with data from the R/3 system. The BAdI is called up as soon as the transferred data is converted into the internal format. The tests then take place after this.
Construction of Method Table
REFNUMBER Reference number for linking object methods - attributes
The reference number is the line of the database which contains the corresponding data. The data table is determined by the object type.
OBJECTTYPE Object category
The object category specifies which object from the order should be processed. The key words listed here are not language-dependent and must be transferred exactly as they are. The following objects exist:
HEADER Order header
PARTNER Partner data
USERSTATUS User status
OPERATION Operation data
RELATION Relationships
COMPONENT Components
TEXT Long texts
(empty) ,General BAPI functions (save)
METHOD Methods
The methods with which the data should be processed. The following functions exist:
CREATE Create objects
CHANGE Change objects
DELETE Delete objects
RELEASE Release
TECHNICALCOMPLETE Technically complete
ATPCHECK Availability check
CALCULATE Calculate
SCHEDULE Schedule
DELELTEDSEX Delete the status for external scheduling at operation level
SAVE Save all data
DIALOG Call-up dialog. See explanation below.
TRACE Write trace file in the specified file to the frontend
OBJECTKEY SAP external object key
This key is for assigning the lower-level objects correctly to the corresponding objects, as there is always just one key in the data table. The key must have the following structure:
1-12 Order number
When creating orders with internal number assignment, a reference number beginning with % must be entered here. The BAPI then returns this number and the number actually assigned.
13-16 Operation number
17-20 Sub-operation number
For relationships, the key is structured as follows:
1-12 ,Order number from
13-16 Operation number from
17-28 Order number to
29-32 Operation number to
The following methods are permissible for the individual objects:
HEADER:
CREATE, CHANGE, RELEASE, TECHNICALCOMPLETE, ATPCHECK, CALCUALTE, SCHEDULE
OPERATION
CREATE, CHANGE, DELETE, DELETEDSEX
PARTNER, RELATION, COMPONENT, USERSTATUS, TEXT:
CREATE, CHANGE, DELETE
(empty):
SAVE, DIALOG, TRACE
Data tables and update tables
The objects have one or more data tables. For some objects you can specify which of the fields specified in the structure should be changed. For this you must set the field in the corresponding table to X as in the data table. If no update-table is transferred, then only those fields are set that have a value that is not initial. This simplifies the transfer data. However, this means it is not possible to delete fields. If an update structure should only be specified for some data records, the table with the update fields must nonetheless have the same amount of lines as the data table. The empty lines are then treated as if no update structure was transferred. The objects "Partner", "User Status", and "Text" have no update tables. The whole data record is always copied here.
References
The objects use the field REFNUMBER from the method table to refer to the lines in the data table. Counting always begins with 1. In doing this, REFNUMBER also refers to the update table. However, in the method table there is a second reference to higher-level objects for lower-levels objects. The field OBJECTKEY must be filled with order number, operation number, and sub-operation number, as specified above. If lower-level objects of a newly-created order should be changed, then you must enter a temporary order number that must begin with %. Several orders can be numbered serially, for example, with %00000000001, %00000000002 ... .
The following objects have special treatment for REFNUMBER:
Partner
Texts
Partners have an order number in the data table. During processing of the method table, all those entries in the data table are processed which have an order number that is the same as that in the line to which the method refers. Thus, through just one entry in the method table, several partners can be changed.
Texts are composed of two tables. The first table (IT_TEXT) is made up of the header data of the text. Here you must specify the object and the first and last line of the text table (respectively inclusive, counting from 1). Through this, a line segment is specified in the text line table (IT_TEXT_LINES).
Peculiarities in processing
The BAPI processes the transferred methods in a particular sequence, which must not correspond to the sequence in the methods table.
Write trace file
Change user status time period 1
Delete objects (dependent first)
Create new objects
Change existing or newly-created objects
Change user status time period 2
Status change of order
Save data
The methods are performed such that lower-level objects can also be assigned to newly-created objects. For example, first the operations are created, and then the components. Long texts can also be created for the objects.
Components have an exceptional position. Components are created through the assignment to an operation, that is, using the "key" order/ operation (item number). However, as this is not the unique component key, you can only access the components to change them, delete them, or add long texts by using the reservation number/-item, which is only given after saving. This means that, for example, you cannot create a long text when you create the component.
User status changes can take place at two different time points. Time point 1 is before the object changes, time point 2 is after the object changes and before the status change of the system. These time points should be defined in the transfer table in the field CHANGE_EVENT. The field documentation contains the possible values.
The external scheduling is offered by the BAPI as a special function. THe BAPI can set the date field directly at the operation level, and select the operation with the status DSEX "Date set by external system". This status prevents any further scheduling of the operation, it keeps the transferred dates. For this, set the category 'X' in the restriction categories. When reading the operation, this category is also returned, independent of the category of restriction set in the dialog. To delete the status, you can call up the method DELETEDSEX for the object operation. The external scheduling cannot be influenced in the dialog. All changes to the scheduling restrictions in the dialog are saved as normal, but are not relevant for the scheduling as long as the status DSEX is active.
Every time the BAPI is called up, a SAVE or DIALOG method must be transferred. Normally, calling up a BAPI is seen as a transaction. All data that is changed in the BAPI should be saved to the database immediately. The BAPI checks whether a SAVE method exists, otherwise it terminates processing. A test run of the BAPI is composed of a normal call-up using the SAVE method and a subsequent BAPI_TRANSACTION_ROLLBACK. To call up the BAPI without the SAVE method, for example, to realize dialog transactions, the BAPI can be called up with the DIALOG method. This switches off the check for the SAVE method. The processor must then ensure that later either a SAVE method or a BAPI_TRANSACTION_ROLLBACK is called up.
A BAPI_TRANSACTION_COMMIT without SAVE method terminates processing in the update to ensure that no inconsistent data is written to the database. The processor who called up the BAPI does not receive any confirmation for the termination of the update in the target system. This logic is necessary as the order data was flagged for updating with BAPI_TRANSACTION_COMMIT through the SAVE method. However, the status information was already flagged for updating when the BAPI was called up. A BAPI_TRANSACTION_COMMIT without SAVE method then just saves the status information and would generate inconsistent orders, if the updating was not terminated.
Customer Enhancement
The BAdI IBAPI_ALM_ORD_MODIFY can be used to change the transferred data. The BAdI is called up after the conversion of the transfer structure into the structures used internally. Additional data can be transferred using the table EXTENSION_IN. Only then is the data checked.
Example
The following examples should clarify the use.
Creating an order
OBJECTKEY should be filled with a temporary key. The BAPI returns this key together with the assigned order number in the return table ET_NUMBERS . The order number in the HEADER table should also be filled with the number. For external number assignment, the external number should be specified. The update structure can be transferred if necessary.
Methods table
REFNUMBER OBJECTTYPE METHOD OBJECTKEY
1 HEADER CREATE %00000000001
IT_HEADER
ORDERID ORDER_TYPE PLANPLANT ...
%00000000001 PM01 1000 ...
Creating an order with operation and long text
Methods table
REFNUMBER OBJECTTYPE METHOD OBJECTKEY
1 HEADER CREATE %00000000001
1 OPERATION CREATE %00000000001
1 TEXT CREATE %000000000010010
IT_HEADER
ORDERID ORDER_TYPE PLANPLANT ...
%00000000001 PM01 1000 ...
IT_OPERATION
ACTIVITY SUB_ACTIVITY CONTROL_KEY WRK_CNTR ...
10 PM01 MECHANIC ...
IT_TEXT
ACTIVITY ... TEXTSTART TEXTEND
10 ... 1 2
IT_TEXT_LINES
TDFORMAT TDLINE
Longtext for operation 10, line 1
Line 2 of the long text
Notes
Using the BAPI to process the order data cannot support all the functions of the transaction. This applies in particular for the following functions:
Order header data
The object list cannot be processed.
Refurbishment orders are not supported.
The estimated costs cannot be processed - only the estimated overall costs of the order.
Notification data cannot be processed with the order BAPI. Even if the settings in Customizing are such that the orders and notifications can be maintained on one screen, no notification is created for the order.
Permits cannot be processed.
The order addresses cannot be processed.
Individual partner addresses cannot be maintained.
The settlement rule cannot be maintained.
Order functions
Printing the papers is not possible.
Locking and unlocking the order is not possible.
Accepting and rejecting quotations is not possible.
Business completion is not possible.
Flagging for deletion is not possible.
The log cannot be displayed.
User default values are not used.
The field selection is not checked.
The Customer Exits/BAdIs are not executed completely.
Joint ventures are not supported.
Funds Management is not supported.
Investment orders are not supported.
No integration of service products with task lists possible.
No integration of configurable service products possible.
Assignment of sales document items with service products in accordance with the aforementioned conditions.
Operation data
A change of the control key in the operation is not possible, if this leads to a change of the processing type (internal-/external processing)
User status change not possible.
Production resources and tools cannot be processed.
Service lines cannot be processed.
Task list integration is not supported.
Linking operations with object list is not supported.
Component data
User status change not possible.
BOM data cannot be processed.
The delivery address cannot be processed.
Further Information
See also the documentation for the individual transfer tables.
Parameters
IT_METHODS
IT_HEADER
IT_HEADER_UP
IT_HEADER_SRV
IT_HEADER_SRV_UP
IT_USERSTATUS
IT_PARTNER
IT_PARTNER_UP
IT_OPERATION
IT_OPERATION_UP
IT_RELATION
IT_RELATION_UP
IT_COMPONENT
IT_COMPONENT_UP
IT_TEXT
IT_TEXT_LINES
EXTENSION_IN
RETURN
ET_NUMBERS
Exceptions
Function Group
IBAPI_ALM_ORDER
~~Guduri -
Screen exit help is needed for SCASE development
Dear forum,
I need your help to find a possible screen exit for the SCASE transaction. I want to add custom fields in the standard SAP screen since we want to have more fields here than standard. I have identified the program and package as follows:
Transaction: SCASE
Program: SAPLSRMCLFRM2
Package: SCMG_GENERAL
Can you please help me on how to find a screen exit for this?
I would really appriciate all help I can get, many thanks in advanced!
// ParHello again,
I have seemed to found the following BADI: SCMG_CASE_FCODE_S - Case Frontend: Non-standard Pushbutton
The documentation states the following:
This BADI is called if a function code was triggered that s not implemented by the standard of the case.
This is true if the pushbutton is customer- or application-specific.
You can create your own pushbutton in the table SCMGFUNCTION by using the maintenance view SCMGV_FUNCTION. If you do so, pay attention to the customer namespace in the table.
In this table you can control exactly when the pushbutton is active The function code is the processed in this BAdI
If I now want to create a subscreen with new custom fields and add that as a pushbutton option on the standard screen of transaction SCASE, what would be the next steps to take?
Best regards, Par -
Enhancement for Transaction IW31
Hi All,
Is there a userexit or BADI or Enhancement point to update the Planned cost or the Estimated cost in transaction IW31. Please let me know a way to change the planned cost or the extimated cost.
Thanks,
Rajesh.Rajesh,
There is no user-exit/badi to change the planned or estimated cost directly.
Anyway, you should not change the planned costs through any form of ABAP coding...
See [here|http://www.sapfans.com/forums/viewtopic.php?f=7&t=316175] for a similar post relating to estimated costs
PeteA -
Screen EXITS and Badi's for MM01 t.code
Hai Guru's,
I hav a requirment of add a aditional tab in the standard Master 'MM01' T.code.
can any one please help me with all possible Screen exits or badi's. Also i want to know weather selecting correct exits depend on the position where we want the new Tab to be placed?
Thank U in advance.Hi
EXITS :
MGA00001 Material Master (Industry): Checks and Enhancements
MGA00002 Material Master (Industry): Number Assignment
MGA00003 Material Master (Industry and Retail): Number Display
BADI's
MG_MASS_NEWSEG User-Specific Fields & Segments in Mass Maintenance
MATGRP_SKU_UPD BAdI for the Article Hierarchy Connection
CDT_CHECK_MATERIAL Checks for Existence of a Material in a CDT
BADI_MM_MATNR
BADI_MAT_F_SPEC_SEL BAdI for Material Special Field Selection
BADI_MATNR_CHECK_PVS
BADI_MATERIAL_REF Addition of customer-defined default data for material
BADI_MATERIAL_OD
BADI_MATERIAL_CHECK Enhanced checks for material master table
BADI_GTIN_VARIANT
BADI_EAN_SYSTEMATIC
Regards
Pavan -
Screen Exit in ME41(Request For Quotation)
Dear All ,
I want a screen exit in tcode ME41(Request for Quotation) for a particular Requirement.I have already checked AMPL0001 and i am unable to locate the screen in the RFQ(ME41) that i have created & subsequently activated in the Exit.
Are there any other screen exits in ME41 .if any one knows about the utility of exit AMPL0001, Kindly guide me as to where the activated screen appears in the TCODE ME41.
Any help in this regard will be appreciated
Thanks in advance
Gaurav
Edited by: Gaurav Angrass on Dec 26, 2007 5:03 AMNo Other Screen Exits are available. In AMPL000, screen exits are available for Item Level. for this screen exit u have to insert the field in teh structure CI_AMPL. and activate the structute also.
in this case u activete screen exit, CI_AMPL structure and EXIT_SAPLMBAM_001, EXIT_SAPLMBAM_002.
- Selva -
Screen Exit in Transaction LM50
Hi Experts,
I created a screen exit for transaction LM50 (Count Inventory By System Guided). I created the subscreen SAPLXLRF 7152 because i need to add a field, this screen replace screen 2152.
In transaction CMOD i created and activated a new project for enhancement MWMRF152, this enhancement contains the function exits EXIT_SAPLLMOB_110 for PAI data, and EXIT_SAPLLMOB_420 for PBO.
Everything seems to be fine, but when i execute transaction LM50, the subscreen SAPLXLRF 7152 does not dilsplay the data.
Somebody knows how could i display the data in subscreen SAPLXLRF 7152?
Best regards,
Alejandro LópezHi Alejandro,
I have similar kind of requirement. But i am not getting any information on how to activate these kind of user exits.
I need to add verification for field door of tcode LM05. I am using user exit MWMRF302.
I have created 9302 screen in program SAPLXLRF and deleted ok_code from it, changed it to sub-screen.
Then i have created a new entry in the spro (screen management) with screen variant 1.
I ahve created a project for the enhancement and activated it.
Even i have assigned the variant 01 to the user in LM00 tcode.
But I am unable to see my screen in LM05 tcode. It is still displaying the old logical screen 0302.
Can you please help me with this issue?
Thanks,
Archana -
Table for transaction code for creation of process order
Hi Gurus,
Please tell me, in which table i can see the transaction code used to create process order.
regards
KaisarHi,
Table for transactions is TSTC.
If your looking for t-code for process order - COR1.
Regards,
Vivek -
LSMW method for transaction IW31 (Service Order)
Hi all,
I am looking for a way to create multiple Service Orders using LSMW, but no Recording.
Transaction would be IW31.
Can you give some tips please?
Thank you! Walter.Hi Brenda, thanks for the confirmation you found in the notes!
Can you tell me how to use the BAPI for mass-upload / migration? I haven't done that before, but it looks to me that we won't use LMSW for that, but tr.code SE37, right?
I found out that the BAPI you mention belongs to Business Object BUS2088A, wich cannot be selected in the first LSMW-step.
So the idea is then to write an Abap-program which reads my input-file (which contains all the data to create the service-orders) and then call the BAPI several times to create the Service-Orders one by one. Am I right, or is there a standard way to use this BAPI for mass-upload?
Thanx again, Walter. -
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 -
The exit of transaction ME21N for version ECC 6.0
The version of my system is ECC 6.0 .
Some exit for ME21N here is useless,
Does anyone know any new exit for this version.
The exit when the Purchase order is created or changed.
Thanks
Regards!
Message was edited by: liwei zhuang
Message was edited by: liwei zhuangOh I am so sorry. I wrote a wrong t-code .
The transaction I want to write is ME21N.
I have tested the exit MM06E005.
But in this version, it is useless .
so.......
Maybe you are looking for
-
R7770 / Win XP pro driver issue - directx not supported help please!
Hi guys sorry to bother you, and for such a long question. I've just purchased a brand new MSI branded AMD radeon r7770 to replace my nvidia 8800gt graphics card which finally bit the dust last week. Despite uninstalling the old nVidia drivers, tryin
-
Cannot open URL from Adobe Reader (10.1.8)
My PDF contains a URL which is not standard http format, but is file://. Adobe Reader identifies it to be a URL (hand cursor shows up), but nothing happens when clicking on it. In fact, we have 3 systems (colleagues) with varied behavior. One one it
-
Reg: calling selection screen from the second list
Hi all, How can we call the selection screen from the second screen. Can any one help me to solve this problem.
-
Detailed info on tuning params for Forms Services for 6i/9iAS
Hi Folks, I have searched the Oracle site and documentations high and low for detailed information on tuning of params for Forms Services on AIX under 9iAS 1.0.2.0. There seems to be non except for pool=..., record=performance, etc and I have notbeen
-
I'm creating videos of hockey games with Premiere Pro CS5 for playback in coaching sessions at very slow speeds, with stop action, etc. What Windows 7-based software is best for this application? The software I have is fine for playback, but I do not