Description
ABAP code can be inserted in the eCATT editor. Here the interaction of eCATT import/export parameters with ABAP code happens only via eCATT Variable parameters. So before the ABAP-ENDABAP block, have the required values in the Variable parameters. And then use these eCATT Variable parameters in ABAP block. During the ABAP-ENDABAP block, the eCATT Variable parameters can interact with local variable of ABAP block. After the ENDABAP command, these eCATT Variable parameters having values from ABAP code can be passed to next Import parameters.
Transaction is SECATT.
The scenario taken here is of SU01 transaction code. For the given user ID, the initials are added via recording. So Initials is import parameters. Once the recording is done, the same initial value is passed to ADRP table to get the first name of the person via ABAP code.
/* ABAP Code in eCATT Editor */
*------------------------------------------------*.* Step 1:* Record SU01 transactionSAPGUI ( SU01_50_STEP_3 ).* Parameterize the 'Initials' as Import Parameter.SAPGUI ( SU01_100_STEP_4 ).SAPGUI ( SU01_50_STEP_4 ).SAPGUI ( S000_40_STEP_2 ).*------------------------------------------------*.* Step 2:* Pass Import Parameter value into Variable ParameterL_IV_INI = P_IV_INITIALS.*------------------------------------------------*.* Step 3:* ABAP-ENDABAP block from 'Pattern' button of application* toolbar to get the first name from the ADRP table by* passing the Initials as inputABAP. TABLES: ADRP. DATA: WA_ADRP TYPE ADRP. SELECT SINGLE * INTO WA_ADRP FROM ADRP WHERE INITIALS = L_IV_INI.* Pass the local variable of ABAP block to Variable Parameter of eCATT L_IV_NAME_FIRST = WA_ADRP-NAME_FIRST.ENDABAP.*------------------------------------------------*.* Step 4:LOG ( L_IV_NAME_FIRST ).*------------------------------------------------*./* ABAP Code in eCATT Editor */
*------------------------------------------------*.*
Step 1:* Record SU01 transactionSAPGUI ( SU01_50_STEP_3 ).* Parameterize the 'Initials' as Import Parameter.SAPGUI ( SU01_100_STEP_4 ).SAPGUI ( SU01_50_STEP_4 ).
SAPGUI ( S000_40_STEP_2 ).*------------------------------------------------*.*
Step 2:* Pass Import Parameter value into Variable ParameterL_IV_INI = P_IV_INITIALS.*------------------------------------------------*.*
Step 3:* ABAP-ENDABAP block from 'Pattern' button of application* toolbar to get the first name from the ADRP table by* passing the Initials as inputABAP. TABLES: ADRP. DATA: WA_ADRP TYPE ADRP. SELECT SINGLE * INTO WA_ADRP FROM ADRP WHERE INITIALS = L_IV_INI.* Pass the local variable of ABAP block to Variable Parameter of eCATT L_IV_NAME_FIRST = WA_ADRP-NAME_FIRST.ENDABAP.*------------------------------------------------*.*
Step 4:LOG ( L_IV_NAME_FIRST ).*------------------------------------------------*.
Thursday, November 22, 2007
ABAP Code in eCATT Editor
Labels:
ABAP Code in eCATT Editor
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2007
(952)
-
▼
November
(716)
- SAP Paper Documents
- SAP Repository
- SAP R/3 Implementation and Maintenance Tips
- ABAP/4 programming language overview
- The interactive eLearning system for ABAP™
- Helpful System Administration ABAPS
- free download abap programmin pdf book
- examples of real time objects in sap abap(1)
- examples of real time objects in sap abap
- work flow example2
- Workflow tips
- Miscellaneous sap abap faq
- BDC , LSMW, Conversions faq in abap
- Sap Scripts & Smart forms faqs in abap
- performance tuning in abap faqs
- Real Time BDC & LSMW faqs
- Real Time ABAP Internal Tables faqs
- Real Time ABAP Reports faqs
- Real Time questions ..in sap ABAP
- SAP ABAP FAQ (Technical)
- ABAP and Unicode
- ABAP and JavaScript
- ABAP Objects
- ABAP Database Access
- Running ABAP Programs
- ABAP User Dialogs
- The ABAP Programming Language
- Creating and Changing ABAP Programs
- Overview of the Components of Application Programs
- Introduction to ABAP
- ABAP Programming Documentation
- FREE DOWNLOAD ALE, EDI & IDOCS
- Conversion of IDOCs to XML.pdf
- FREE DOWNLOAD IDOC Interface Technology
- FREE DOWNLOAD EDI, IDOC Interface
- FREE DOWNLOAD IDOC BOOK
- FREE DOWNLOAD LSMW - Idoc Inbound Processing
- FREE DOWNLOAD SAP ABAP Idoc Interface
- FREE DOWNLOAD Java for SAP
- FREE DOWNLOAD Java for ABAP Programmers
- FREE DOWNLOAD Java and BAPI technology for EP
- free download Building Web Services with Java and ...
- free download Enable SAP with the power of Javascript
- FREE DOWNLOAD ABAP Training Simulator
- FREE DOWNLOAD SAP Accounting Training Simulators
- free download SAPScripts Made Easy
- CONDENSE
- CONSTANTS
- ABAP Quick Viewer
- sap abap XXL (EXtended Export of Lists)
- Some ABAP/4 Query header line variable
- Understanding SAP Query
- ABAP/4 Query
- ABAP/4 Query Hints and Tips
- SAP Website Links Exchange for ABAP, Basis or Cons...
- sap abap Program for Generate IDoc
- sap abap program for Reads an existing Idoc and di...
- List of ABAP Function modules
- sap abap FTP programming
- sap abap program for Issuing an Unix Command from ...
- sap abap program for RFC call to get Server List
- sap abap program for A SAP Pop-out Calculator
- sap ABAP program for Timers and Auto-refresh
- sap abap program for WS_EXECUTE to called External...
- sap abap programming Execute DOS Command from ABAP...
- To execute a dos command from ABAP
- sap abap program for Make your SAPGUI Disappear an...
- sap abap program for Using Function Modules F4_FIL...
- abp program for How to Restrict the Select Options
- sap abap program for Take Values from Selection-Sc...
- sap abap program for Change Text Into Password
- sap abap program for Function Module for Encryptio...
- sap abap program for FM VRM_SET_VALUE To List Box
- sap abap program for Value Request For Parameter
- sap abap program for Pop a Message to specific SAP...
- ABAP Pop-out box for user confirmation
- sap ABAP program for POP-UP Window
- sap abap program Sample XML Source Code For SAP
- sap abap XML file to word document through SAP
- sap abap program for How to Write Web Reports in SAP
- sap abap conversion Program to Test Line Selection...
- sap abap program for String Handling in ABAP - Rem...
- sap abap program for Split String into two parts a...
- sap abap conversion Program For Printing Prime Number
- sap abap program for How can I get Ascii value of ...
- sap abap program for Figure to Words for India but...
- sap abap conversion program for Print Number Value...
- sap abap conversion program for Insert a special T...
- sap abap program for String Handling in ABAP - Rem...
- sap abap program for Split String into two parts a...
- sap abap conversion Program For Printing Prime Number
- sap abap program for How can I get Ascii value of ...
- sap abap program for Figure to Words for India but...
- sap abap conversion program for Print Number Value...
- sap abap conversion program for Insert a special T...
- sap abap program for Convert SAP Spool List to HTML
- sap program for Convert Month to Word in ABAP
- ABAP function to convert Number to Words
- sap abap program for How to Create Tree Control
- sap abap A sample Tree Programming
- sap abap program for Use BDS to Store Files Like E...
- Creating Chart in ABAP
- sap abap real time object for GUI_* WS_* Function ...
- abap real time object for Reading attribute of a B...
- sap abap real time object program for Splash Scree...
- ABAP Real time object for To Use BADI - Business A...
- sap ABAP Object Oriented SpreadSheet with "Unlimit...
- What are ABAP Objects?
- sap abap program for Prevent program from having m...
- sap abap program for Get the windows registry valu...
- sap abap program for How to Open files from the pr...
- sap abap program for Download and Upload your ABAP...
- sap abap program for Download/Upload SAP Users Fav...
- sap abap program for Download in Background in Exc...
- sap abap program for Excel Upload Alternative - KC...
- sap abap program for Uploading multiple multitab E...
- sap abap program for Uploading data directly from ...
- sap abap program for Use SAP code to list how many...
- sap abap program for How to Create Pivot Table in ...
- sap abap program for Sending Mail When The Purchas...
- sap abap program for Make E-mail Sender of PO the ...
- How can you send a fax from within ABAP/4 programs?
- sap abap program for How to send a report to an ex...
- sap abap program for Sending External email throug...
- Sending mail with attachment report in Background
- sap abap program for Sending mail with attachment
- abap program for Date, Month and Popup Related Fun...
- sap abap program for Determine Last Day of the Pre...
-
▼
November
(716)




No comments:
Post a Comment