LSMW for equipment creation-Standard Batch/Direct Input
Hi,
We developed an LSMW with standard batch / direct input method for creating equipment masters.
We used Object =0400 ( equipment ) and method = 0001 ( batch input)
We maintained source structures and source fileds. In the source field , we maintained only those fields that we need from table IBIPEQUI but in the order given in this structure.
Also we maintained filed mapping and field convertion rules for the above source fields.
When we run LSMW step - Display converted data , we see that
Transactions Read: 1
Records Read: 1
Transactions Written: 0
Records Written: 0
Not sure what could have gone wrong?
Please provide some clues to the following questions.
1) Should the source structure be same as fields from stuc. IBIPEQUI and should it include all the fields in the source structure?
2) Is field mapping required or not ?
3) We are getting an error - transaction is not supported in direct input mode.
Thanks in advance
Rgds,
Rajesh
1. Source fields are( same as IBIPEQUI structure ; the tab delimited file matches with these fields)
TCODE C(020) Transaction Code
RECORDNAME C(008) Record name
EQUNR C(018) Equipment
DATSL C(008) Valid On
EQTYP C(001) Equipment category
EQKTX C(040) EQKTX
BEGRU C(004) Authorization Group
EQART C(010) Technical obj. type
GROES C(018) Size/dimensions
INVNR C(025) Inventory number
BRGEW C(017) Gross Weight
GEWEI C(003) Weight unit
ELIEF C(010) Vendor
ANSDT C(008)
ANSWT C(017) Acquisition Value
WAERS C(005) Currency
HERST C(030) Manufacturer
HERLD C(003) Country of manufact.
BAUJJ C(004) Construction year
BAUMM C(002) Construction month
TYPBZ C(020) Model number
SERGE C(030) ManufSerialNumber
MAPAR C(030) ManufactPartNo.
GERNR C(018) Serial number
GWLEN C(008) Warranty end date
KUND1 C(010) Customer
KUND2 C(010) End customer
KUND3 C(010) Operator
SWERK C(004) Maintenance plant
STORT C(010) Location
MSGRP C(008) MSGRP
BEBER C(003) Plant section
ARBPL C(008) Work center
ABCKZ C(001) ABC indicator
EQFNR C(030) Sort field
BUKRS C(004) Company Code
ANLNR C(012) Asset Number
ANLUN C(004) ANLUN
GSBER C(004) Business Area
KOSTL C(010) Cost Center
PROID C(024) PROID
DAUFN C(012) Standing order
AUFNR C(012) Order
TIDNR C(025) Technical IdentNo.
SUBMT C(018) Construction type
HEQUI C(018) Superord. Equipment
HEQNR C(004) Position
EINZL C(001) Single installation
IWERK C(004) Planning plant
INGRP C(003) Planner group
GEWRK C(008) Main work center
WERGW C(004) Plant for WorkCenter
RBNR C(009) Catalog profile
TPLNR C(030) Functional Location
DISMANTLE C(001) DismIndic.
VKORG C(004) Sales Organization
VTWEG C(002) Distribution Channel
SPART C(002) Division
MATNR C(018) Material
SERNR C(018) BOM explosion number
WERK C(004) WERK
LAGER C(004) LAGER
CHARGE C(010) CHARGE
KUNDE C(010)
KZKBL C(001) Load records
PLANV C(003) PLANV
FGRU1 C(004) FGRU1
FGRU2 C(004) FGRU2
STEUF C(004) Control key
STEUF_REF C(001) STEUF_REF
KTSCH C(007) Standard text key
KTSCH_REF C(001) Std text referenced
EWFORM C(006) EWFORM
EWFORM_REF C(001) EWFORM_REF
BZOFFB C(002) Ref. date for start
BZOFFB_REF C(001) BZOFFB_REF
OFFSTB C(007) Offset to start
EHOFFB C(003) Unit
OFFSTB_REF C(001) OFFSTB_REF
BZOFFE C(002) Ref. date for finish
BZOFFE_REF C(001) BZOFFE_REF
OFFSTE C(007) Offset to finish
EHOFFE C(003) Unit
OFFSTE_REF C(001) OFFSTE_REF
WARPL C(012) Maintenance Plan
IMRC_POINT C(012) Measuring point
INDAT C(008) Inverse date
INTIM C(006) Processing time OC Workbe
INBDT C(008) Start-up date
GWLDT C(008) Guarantee
AULDT C(008) Delivery date
LIZNR C(020) License number
MGANR C(020) Master warranty
REFMA C(018) REFMA
VKBUR C(004) Sales Office
VKGRP C(003) Sales Group
WARR_INBD C(001) Inbound warranty
WAGET C(001) Warranty inheritance poss
GAERB C(001) Indicator: Pass on warran
ACT_CHANGE_AA C(001) ACT_CHANGE_AA
STRNO C(040) STRNO
DATLWB C(008) Date Last Goods Movmnt
UII C(072) UII
IUID_TYPE C(010) IUID Type
UII_PLANT C(004) Plant Responsible for UII
2, source structure is assigned to target structure IBIPEQUI
3. In the assign files step - all settings given above are correctly maintained.
4. Field mapping
TCODE Transaction Code
Rule : Default Settings
Code: IBIPEQUI-TCODE = 'IE01'.
RECORDNAME IBIP: Name of the Data Transfer Record
Rule : Default Settings
Code: IBIPEQUI-RECORDNAME = 'IBIPEQUI'.
EQUNR Equipment Number
Source: ZIE01_002_SOURCE-EQUNR (Equipment)
Rule : Transfer (MOVE)
Code: if not ZIE01_002_SOURCE-EQUNR is initial.
IBIPEQUI-EQUNR = ZIE01_002_SOURCE-EQUNR.
endif.
DATSL Date valid from
Source: ZIE01_002_SOURCE-DATSL (Valid On)
Rule : Transfer (MOVE)
Code: if not ZIE01_002_SOURCE-DATSL is initial.
IBIPEQUI-DATSL = ZIE01_002_SOURCE-DATSL.
endif.
EQTYP Equipment category
Source: ZIE01_002_SOURCE-EQTYP (Equipment category)
Rule : Transfer (MOVE)
Code: if not ZIE01_002_SOURCE-EQTYP is initial.
IBIPEQUI-EQTYP = ZIE01_002_SOURCE-EQTYP.
endif
When I read data with 1 record uploaded ( in the assign fields step , I did not choose "fields names at start of file" and also saved the file with tab delimited text format without field names), it shows as
Transactions Read: 2
Records Read: 2
Transactions Written: 2
Records Written: 2
I uploaded only one record but it reads as 2 records and can not figure out why 2 records?
Also when I checked display converted data , it shows 2 records .
First record shows
TCODE Transaction Code IE01
RECORDNAME IBIP: Name of the Data Transfer Record IBIPEQUI
EQUNR Equipment Number
DATSL Date valid from 05072010
EQTYP Equipment category H
EQKTX Description of technical object PNEUMATIC PIPE BENDER
BEGRU Technical object authorization group
EQART Type of Technical Object MECH-PRESS
GROES Size/dimension 1000X500X1500MM
INVNR Inventory number
BRGEW Gross Weight : IBIP Character Structure 50
GEWEI Weight Unit KG
ELIEF Vendor number
ANSDT Acquisition date
ANSWT Acquisition Value: IBIP Character Structure
All the fields following this , are blank.
2nd record shows
TCODE Transaction Code IE01
RECORDNAME IBIP: Name of the Data Transfer Record IBIPEQUI
EQUNR Equipment Number 2009
DATSL Date valid from
EQTYP Equipment category S
EQKTX Description of technical object 1006324
BEGRU Technical object authorization group
EQART Type of Technical Object
GROES Size/dimension 20100406
uploaded values are jumbled in 1st and 2nd record.
Hope to receive your valuable ideas for finding out the reason and corrective action required.
Rgds,
Rajesh
I
Edited by: Rajesh63 on Jul 6, 2010 10:37 PM
Similar Messages
-
LSMW - Standard Batch/Direct Input Method.
Hi all,
I was trying to create the LSMW for MM01 using standard Batch/Direct Input Method. While I selected object as "0020- Material Master" I am not able to get the Method for Batch Input. Is there any we can create method for batch input or we have to use only direct input?You have to use direct input method RMDATIND object 0020 to create materials. You may find batch input very complicated to create materials.
-
LSMW: standard batch direct input for create document & document str
hello expert .
Is there any standard batch direct input for create document (tcode: cv01n ) & document structure (cv11) using lsmw.
regards
srinivasHi Srnivas,
I am not able to find direct input progarm for this, but there is one standard bapi available for this with name BAPI_DOCUMENT_CREATE you can use this.
Regards
Dhirendra -
Equipment BOM using LSMW- standard batch/Direct input method - reg
hi,
I tried to upload equipment BOM using standar batch / direct input method.
I have maintained sorcue structures for BOM header and Item, maintained source fields.
Both source fields have common field as equipment number.
It is working fine upto step display read data.
At step, convert data- i am getting ABAP dump.
"Data objects in Unicode programs cannot be converted" is displayed in dump
If any one tried before or experiance similar condtion before, please help
thanks & rgards,
Kiran kumar.KasturiHi,
thanks for your inputs.
In the Specify files Step ,when specifying the file from system , in separators,selected Tabulator .
and I have done already all the above while uploading my header and item file ( type tab delimited) and
still iam getting error at convert file step.
please help
thanks & regards,
Kiran Kumar.K -
Error in the LSMW for vendor master using standard batch/direct input
I am facing the problem in the LSMW for the Vendor master data. The vendor is initially created for the company code 350 by using LSMW. NOw when I try to uploasd the same vendor using the same LSMW for the company code 450 then I get the error in the Bach input creation as follows:
Batch Input Interface for Vendors
FB012 Session 1 : Special character for 'empty field' is /
FB007 Session 1 session name VNDR_CREATE_ was opened
FB104 Trans. 2 XK01 : Acct already exists; general area not being processed
FB125 ... Data in table BLFA1 cannot be processed
FB016 ... Last header record ...
FB014 ... BLF00-STYPE 1
FB014 ... BLF00-TCODE XK01
FB014 ... BLF00-LIFNR 300951
FB014 ... BLF00-BUKRS 402
FB014 ... BLF00-EKORG /
FB014 ... BLF00-KTOKK VEND
FB017 ... Last data record ...
FB014 ... BLFA1-STYPE 2
FB014 ... BLFA1-TBNAM BLFA1
FB014 ... BLFA1-ANRED /
FB014 ... BLFA1-NAME1 SAVOIE AUTOMATISME DEXIS
This is because when we use XK01 to create the vendor by using thePlease check this answered link:
Re: LSMW for Vendor Master
LSMW Upload vendor master data
Edited by: Afshad Irani on May 5, 2010 12:42 PM -
LSMW for routing with standard batch input
Hello All,
I am trying to prepare one LSMW for routing upload for PP module. Routing data contains header data, operation data and master inspection characteristics data.
I have created three source structures viz. material- task list header, task header data, operation and inspection.
Header has been assigned to target structure BIMPL- Batch Input Structure for Allocation of Mat. to Task Lists,
Task header data source structure has been assigned to BIPKO- Batch Input Structure for Task List Header,
Operation source structure has been assigned to target structure BIPPO- Batch input structure for task list operation,
and inspection source structure has been assigned to BIPMK- Inspection characteristics for batch input of task lists.
Every source structure has been identified with an identifier value of which have been set as H, I,J,K for all source structures resp.
The excel file has been prepared as follows,
H MATNR WERKS PLNNR PLNAL
H 100045 1000 50000043 1
H 100045 1000 50000043 2
I MATNR WERKS PLNNR PLNAL VALID_FROM USAGE STATUS
I 100045 1000 50000043 1 01012000 1 1
I 100045 1000 50000043 2 01012000 1 1
I have mentioned here the combination of first two structures only. But it contains data of other two source structures as well (for identifier J & K).
The data from the excel is copied to the flat file and same is specified in LSMW in the step 'Specify file'.
In 'Assign file' step the flat file is assigned to all the four source structure.
Now at the time of reading data system is throwing me an error as 'Ensure field sequence is correct for data for mutiple source structures' Message no. /SAPDMC/LSMW_OBJ_060026
How to overcome this?
<removed by moderator> answers will be greatly appreciated........
Mimiri
Edited by: Thomas Zloch on Jul 11, 2011 10:16 AMHello ,
have you maintained this check box for the key fields"
LSMW>Maintain Source fields>double click on fieds : MATNR WERKS PLNNR PLNAL
Selection Parameter for "Import/Convert Data"-->Tick this check box
regards -
Edit Equipment TL using LSMW Standard Batch/Direct Method
Hello all
I have created a set of Equipment TL for around 600+ Equipments uwing LSMW method of Standard Batch/ Direct Input method (0470). While creating I found that it creates only the header of the TL and not the individual operations and Components at item level. Now that the TL have been generated I am trying to chnage the TL and insert the Operations/Components gainst respective Group and counter no, but the Change mode(0002) for Direct Input method (0470) is not available.
How can I achieve this..Tried searching some of the posts in this forum but they dont seem to be an answer for my requirement.
I do not want to go thru LSMW recording method.
Please assit with any FM or BAPI to achieve the above requirements.
Thanks
MuradIf you want to load the task list, it obvious to have three files : Header, Operations and components. - You have to maintain three strcutures for each file and you need to map three of them with some common key incase if you have multiple operations.
Goodluck
Mahee -
Upload more than 300 record by Standard Batch / Direc input 'Financial documents'
Dears Experts ,
i have a problem to upload more than 300 record by lsmw i have created Standard Batch / Direc input
with object 0100Financial documents
program name RFBIBL00
when upload more than 300 record it will display " no batch input data " and didn't save the document .Hi,
Please let us know what Data Transfer Type you are using. Kindly try to run program RFBIBL00 with "Call Transaction" or "Direct Input" for Data Transfer Type as suggested in the program documentation.
Regards,
Anand Raichura -
LSMW for Vendor Master using Batch Input/Direct
Hi Folk,
I'm trying to create a LSMW for Vendor Master using Batch Input/Direct Input and in the step Create Batch Inout Session a error message appears:
Trans. 1 XK01: Acct already exists; general area not being processed.
Can somebody help me with this...........Hi,
Check manually create vendor. Check with recording steps means strucutre creadred while you choose BDC recording option. With same data r u able to create vendor.
Regards
Md.MahaboobKhan -
Reg LSMW-Batch/Direct Input
Hi All,
I have small issue , I am using LSMW-Batch/Direct Input method i this method am using some fields and as per those fields i maintain flat file data.
in 7th step i specify file name , while saving that one am getting this Error message i.e.
File Name 'Converted Data': Max. 45 Characters. Remaining data saved. so please could you help me abt that .
Thanks & Regards,
SHAIK.Hi Shaik,
In specify files step -> Files -> converted data the filename will be automatically proposed by system.
<Project name><Subproject name><Object name>.lsmw.conv
this file name should not exceed 45 characters. so please cut short the names of Project name / Subproject name/Object name or
double click on proposed file name and change it.
Regards,
Savitha -
Hi all,
I've created LSMW for PR using the following parameters:
Step 1 : Direct input:
Object 0080
Method 0000
Program Name RM06BBI0
Step 3 : Maintain Source Fields
i define source fields as following:
HEADER_STRUCTURE
-> ITEM_STRUCTURE
header_structure has item_structure as low level.
Step 5 :
TCODE = ME51N
Step 13 : Create Batch Input Session
I found the error message on this step as following:
Transaction 0: transaction code ME51N not supported
then,
Processing terminated
Please help me out. Thanks a million in advance.
PeerasitHi Mauro
Thanks for your advise. Please allow me to ask you for further information.
I try to create LSMW using BAPI and system returns message as following:
Maintain the default values for IDoc inbound processing
Do i have to maintain IDOC prior create LSMW using BAPI for data conversion?
Thanks in advance.
Peerasit -
LSMW for Equipment characteristics Update
Hi,
I am having a LSMW program for Equipment Classification (Characteristics Value)Data upgrade created in ECC 5.0 . We have upgraded to ECC 6.0 EHP 4 Now. However this program was working fine in ECC 6.0 but while upgraded to EHP 4, I'm Getting following ErrorDisplayed whie creating Batch Input Folder.
BDC_INSERT, Transaction code .. is invalid.
The Recorded program for this as given Below.
Recording EQUI_CHAR EQUIPMENT CHARACTERISTICS LSMW
|
--- IE02 Change Equipment
|
|-- SAPMIEQ0 0100
| |
| |-----BDC_CURSOR RM63E-EQUNR
| |-----BDC_OKCODE /00
| ------RM63E-EQUNR
EQUIP_NO EQUIPMENT NUMBER
-- SAPMIEQ0 0101
BDC_OKCODE =KL
BDC_SUBSCR SAPLITO0
BDC_SUBSCR SAPLITO0
BDC_SUBSCR SAPLITO0
BDC_SUBSCR SAPLITO0
BDC_SUBSCR SAPLITO0
BDC_SUBSCR SAPLITO0
BDC_SUBSCR SAPLITO0
BDC_SUBSCR SAPLITO0
BDC_SUBSCR SAPLITO0
BDC_SUBSCR SAPLITO0
BDC_CURSOR ITOB-SHTXT
BDC_SUBSCR SAPLITO0
BDC_SUBSCR SAPLITO0
-- SAPLCLCA 0602
BDC_CURSOR RMCLF-KLART
BDC_OKCODE =ENTE
RMCLF-KLART CLASS_NO CLASS NUMBER
-- SAPLCLFM 0500
BDC_CURSOR RMCLF-CLASS(01)
BDC_OKCODE =NEUZ
RMCLF-PAGPOS 1
BDC_SUBSCR SAPLCBCM
-- SAPLCLFM 0500
BDC_CURSOR RMCLF-CLASS(02)
BDC_OKCODE /00
RMCLF-CLASS(02) CLASS_NAME CLASS_NAME
BDC_SUBSCR SAPLCBCM
-- SAPLCTMS 0109
BDC_CURSOR RCTMS-MWERT(10)
BDC_OKCODE =BACK
RCTMS-MNAME(01) CHAR_1 CHARACTERISTICS 01
RCTMS-MNAME(02) CHAR_2 CHARACTERISTICS 02
RCTMS-MNAME(03) CHAR_3 CHARACTERISTICS 03
RCTMS-MNAME(04) CHAR_4 CHARACTERISTICS 04
RCTMS-MNAME(05) CHAR_5 CHARACTERISTICS 05
RCTMS-MNAME(06) CHAR_6 CHARACTERISTICS 06
RCTMS-MNAME(07) CHAR_7 CHARACTERISTICS 07
RCTMS-MNAME(08) CHAR_8 CHARACTERISTICS 08
RCTMS-MNAME(09) CHAR_9 CHARACTERISTICS 09
RCTMS-MNAME(10) CHAR_10 CHARACTERISTICS 10
RCTMS-MWERT(01) VALUE_1 VALUE 01
RCTMS-MWERT(02) VALUE_2 VALUE 02
RCTMS-MWERT(03) VALUE_3 VALUE 03
RCTMS-MWERT(04) VALUE_4 VALUE 04
RCTMS-MWERT(05) VALUE_5 VALUE 05
RCTMS-MWERT(06) VALUE_6 VALUE 06
RCTMS-MWERT(07) VALUE_7 VALUE 07
RCTMS-MWERT(08) VALUE_8 VALUE 08
RCTMS-MWERT(09) VALUE_9 VALUE 09
RCTMS-MWERT(10) VALUE_10 VALUE 10
BDC_SUBSCR SAPLCBCM
-- SAPLCLFM 0500
BDC_CURSOR RMCLF-CLASS(01)
BDC_OKCODE =ENDE
RMCLF-PAGPOS 1
BDC_SUBSCR SAPLCBCM
--- SAPMIEQ0 0101
|
|-----BDC_OKCODE =BU
|-----BDC_SUBSCR SAPLITO0
|-----BDC_SUBSCR SAPLITO0
|-----BDC_SUBSCR SAPLITO0
|-----BDC_SUBSCR SAPLITO0
|-----BDC_SUBSCR SAPLITO0
|-----BDC_SUBSCR SAPLITO0
|-----BDC_SUBSCR SAPLITO0
|-----BDC_SUBSCR SAPLITO0
|-----BDC_SUBSCR SAPLITO0
|-----BDC_SUBSCR SAPLITO0
|-----BDC_CURSOR ITOB-SHTXT
|-----BDC_SUBSCR SAPLITO0
BDC_SUBSCR SAPLITO0
Kindly Help me to resolve this issue. Thanks n Regards
Raj Verma
1Raj,
You had mentioned that you were using LSMW so i had given probable problem for LSMW. But now as you are saying its BDC i would request you to check back with your abap team. In code they might have written that whn a new value is entered, refer the old value and update it.
This can be the only problem just check back with them and your problem will be solved. -
LSMW to create Sales Order using direct input RVINVB10
Hi,
I need advise on 2 parts of Sales Order creation using direct input program RVINVB10.
1) How do I enter the WBS Element PS_POSID in the item line of Account Assignment tab? There does not seem to be a field in the direct input program structure to fill this in.
2) How can I fill in item tab 'Billing Plan' that appears only when Item Category = 'Milestone Billing'?
ThanksNandan,
Please go through the documentation of the BAPI. It gives you details of what needs to be filled in in which structure/parmater. Also, read the documentation associated with each structure, that will tell what to fill.
It is really hard to explain it in simple terms as to what are required. But, you need the header, items and partners at the minimum. Also, with some of these structures there are also 'X' structures(like ORDER_ITEMS_INX for ORDER_ITEMS_IN) which should also be filled based on what fields you filled in the original structure. For example, if you filled 'MATERIAL' field on the ORDER_ITEMS_IN structure, you should also fill in the same field on the ORDER_ITEMS_INX structure with an 'X' in it.
All this is well documented in the BAPI.
Srinivas -
LSMW for Asset Creation not creating Transaction
Hi,
I am using standard LSMW for creating Asset into the SAP system and passing transaction code as AS91.
Object: 0160
Method: 0001
Program Name: RAALTD01
Program Type: B
The asset is getting created, but even after passing the Transaction Data (Structure BALTB), with T-Code AS91, it is not creating the transaction record into Asset.
Any solution / work around for this?
Thanks & Regards,
Sandip kamdartry with recording method, i had done this for same tcode and sucessfully completed the job.
-
User Exit for Equipment Creation
Hi all,
During Equipment creation I want to check whether the equipment for the current licence number or chassis number is already available,if yes i want through an error message as 'Equipment already created for this license number',else i want to proceed for the equipment creation..is there any USER EXIT or BADI to do this...
Regards
Sugumar GHi
cut and paste the code in se38 and execute and give the transaction code for which u need the exit
*& Report ZVBUSEREXIT *
REPORT ZVBUSEREXIT .
TABLES : TSTC, "SAP Transaction Codes
TADIR, "Directory of Repository Objects
MODSAPT, "SAP Enhancements - Short Texts
MODACT, "Modifications
TRDIR, "System table TRDIR
TFDIR, "Function Module
ENLFDIR, "Additional Attributes for Function Modules
TSTCT. "Transaction Code Texts
*& Variables
DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
DATA : FIELD1(30).
DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
*& Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK A01 WITH FRAME TITLE TEXT-001.
SELECTION-SCREEN SKIP.
PARAMETERS : P_TCODE LIKE TSTC-TCODE OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK A01.
*& Start of main program
START-OF-SELECTION.
* Validate Transaction Code
SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
* Find Repository Objects for transaction code
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 = ENLFDIR-AREA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
ENDIF.
ENDIF.
* Find SAP Modifactions
SELECT * FROM TADIR INTO TABLE JTAB WHERE PGMID = 'R3TR'
AND OBJECT = 'SMOD'
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:/(95) SY-ULINE.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 'Exit Name',
21 SY-VLINE ,
22 'Description',
95 SY-VLINE.
WRITE:/(95) SY-ULINE.
LOOP AT JTAB.
SELECT SINGLE * FROM MODSAPT WHERE SPRSL = SY-LANGU AND
NAME = JTAB-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 SY-VLINE,
2 JTAB-OBJ_NAME HOTSPOT ON,
21 SY-VLINE ,
22 MODSAPT-MODTEXT,
95 SY-VLINE.
ENDLOOP.
WRITE:/(95) SY-ULINE.
DESCRIBE TABLE JTAB.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , SY-TFILL.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
* Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD FIELD1.
CHECK FIELD1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
Regards,
V.balaji
Reward if usefull
Maybe you are looking for
-
HT201401 MTP USB Device not installed
Hello - I'm new to this community message board. I recently started having this problem about two months ago. Up til that time I didn't have this problem. When I would connect my iPhone 4S to my windows 7 computer, the folder files would pop up and
-
Outlook/ windows 8 mail app
setting up my brothers work email on his new windows 8 tablet. I successfully connected it to outlook and he is receiving email on outlook.com however it does not seem to be syncing with his tablet at all for some reason telling me the account is una
-
How do i upgrade iweb 1.1.2 to 3.0.4
How do i upgrade iweb 1.1.2 to 3.0.4? I've downloaded 3.0.4 and when I try to install, it says "iweb update can't be installed on this disk. A qualifying copy of iweb was not found in /Applicaitons".
-
Hi, when i am parsing the document having encoding scheme is US-ASCII doc = docBuilder.parse(url); it throws Exception : com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Byte "146" is not a member of the (7-bit) ASCII c
-
NAC Profiler database utility for upgrade
I am trying to upgrade NAC Profiler Lite by following the following Cisco Doc http://www.cisco.com/en/US/customer/docs/security/nac/profiler/release_notes/310/310rn.html#wp102045 In section Upgrading 2.1.8 Cisco NAC Profiler Server and Profiler Lite