Owner: SAP ABAP URL:http://abapcode.blogspot.com/ Join Date: Mon, 16 Jul 2007 05:38:00 -0500 Rating:0 Site Description: ABAP/4,ABAP report,Interactive Report,ALV grid,ALV list,IDOC,User Exit,RFC,Smartform,sapscript,ABAP Performance,Remote Function Module( RFC ),Function Module,Modularization techniques,ABAP tools,ALV report Generator,ABAP Interview Questions,BDC,BAPI,ALE,B Site statistics:Click here
Introduction to SAP Workflow 2007-07-13 01:27:00 Problems of Office & administration processLong lead times due to high transport and wait timesLack of transparency of processes connected to high work distributionHistorically grown task assignmentsInefficient communications between process participantsData entered more than onceGoalReorganize your business processGoals of reorganizing Business Process(i)Increase transparency of procedures used(ii)Increase employees responsibility(iii)Focus on the interest of the customer(iv)Better quality managementWhy SAP Business Workflow
?(i)Is tailored to customer needs and developments(ii)Is a tool for the automization of business processes(iii)Is not tied to any particular application(iv)Operates uniformly across applications(v)Coordinates all participating tasks(vi)Provides users with active supportWhy SAP Business Workflow?(1)You can use the SAP Business Workflow system to support your enterprise processes in R/3(2)The SAP Business Workflow system is able to combine steps from different appli Read more:Introduction
Standard Function Module : BDC , Miscellaneous ,File , Calender 2007-07-12 05:17:00 (1) BDC(i)BDC_RECORD_PLAY Run A BDC Session using a Session name and the QID(ii)BDC_RECORD_FUNCTION_CREATE Create a FM for that BDC recording.(iii)BDC_RECORD_DATA_CREATE Creating test data for BDC.(iv)ENQUEUE_BDC_QID (v)BDC_START_GROUP Calling a BDC QID: 1. First we need to ENQUEUE the BDC using QID using the FM 'ENQUEUE_BDC_QID' 2.To run in background we need to open a JOB and submit the code to the standard program 'RSBDCBTC'(vi)RSBDCBTC This program will process the BDC session in background.(vii)PERFORM enqueue_tab IN PROGRAM saplsvix USING 'ZSDT_STK_REQ' v_key c_e c_e. Perform to lock a single entry of table-Note this case is only applicable if there is a maintenance view of the table.(viii) TH_REMOTE_TRANSACTION Run a transaction on a remote server. Optionally provide BDC data to be used in the transaction(2) Miscellaneous (i)HELP_VALUES_GET_NO_DD_NAMEThis is used to display the F4 values for any field.(ii)Z_MESSAGE_DISPLAY To display Message Logs as an ALV.(iii)DD_SHLP Read more:Module
, Standard
Enhancement in SAP BW 2007-07-12 04:28:00 Topic Covered :Overview : Userexit / EnhancementMethod of EnhancementCommon EnhancementTroubleshootingDownloadEnhnacement in SAP BW
Standard Function Module :- text processing,Workflow,Smartforms/Sapscript,SD,Application Log Maintenance 2007-07-11 06:00:00 (1) Miscellaneous (i)VIEW_MAINTENANCE_CALL Call of the complete maintenance dialog- just like SM30(ii)ABAP_DOCU_DOWNLOAD Download ABAP documentation in HTML format.(iii)AUTHORITY_CHECK_TCODE checks whether a user has authorisation to a transaction.(iv)STATUS_TEXT_EDIT This gets the statuses of the document like Work Orders.(v)WFMC_MESSAGE_SINGLE Pass the NAST as the parameter and get the print.(vi)FIEB_PASSWORD_ENCRYPT (vi)FIEB_PASSWORD_DECRYPT (2)Text Processing (i)READ_TEXT Read long text of an object into an internal table(ii)SAVE_TEXT Create or change long text for an object(iii)DELETE_TEXT Delete long text of an object(iv)EDIT_TEXT_INLINE Edit online the long text of an object (v)READ_TEXT_INLINE Called before EDIT_TEXT_INLINE to get the long text(vi)LIST_TO_ASCI Stores the report output into an internal table. This can be used to capture a list output and send it via email.(3)Workflow
(i)SWE_EVENT_CREATE Create an event from any application or system program(ii)SWE_TEMPLATE F Read more:Application
, Maintenance
, Module
, Standard
SAP Standard Function Module-Selection Screen ,System Information 2007-07-10 07:28:00 (1) Selection Screen(a)F4IF_INT_TABLE_VALUE_REQUEST *New"This FM gives an F4 help for a parameter/select-option for a field which doesnot have a valuetable in DDIC. The FM can be used as under:CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'EXPORTINGretfield = inttable field name within quotesvalue_org = 'S'TABLESvalue_tab = fetched values of parnrreturn_tab = any int.table of this typeEXCEPTIONSparameter_error = 1no_values_found = 2OTHERS = 3. return_tab contains the field value selected by the user at run-time. field fieldval has to be read from this internal table and assigned to the respective selection-screen field. "(b)RS_REFRESH_FROM_SELECTOPTIONSStores the selection screen data in an internal table.(c) RS_LIST_SELECTION_TABLE Writes selection screen contents on the output list. This will help the user see the selection criteria of the report along with the program output.Selection Screen RS_SET_SELSCREEN_STATUS Sets another GUI status defined in the same ABAP program, or deacti Read more:Module
, Standard
, System
, System Information
SAP Standard Function Module-Application Log Maintenance,Batch Jobs,IDOC,Calendar,Change Document,Business Warehouse,File Processing,Messaging,File 2007-07-06 06:49:00 (1) Application
Log Maintenance
BAL_LOG_CREATE Open a logBAL_LOG_MSG_ADD Put a message in the logBAL_DSP_LOG_DISPLAY Display log(2) Batch JobsBP_JOBVARIANT_SCHEDULE - Schedule a simple background job from an ABAP program. This function module can be used to maintain only one step jobs.BP_EVENT_RAISE - Raises an event for triggering background job. These events are not related to the ‘Workflow’ events.BP_JOB_READ - Reads the status of a batch jobJOB_OPEN, JOB_SUBMIT,JOB_CLOSE - Full control job scheduling via an ABAP programGET_PRINT_PARAMETERS --Prepare print parameters for spool output. This can work in dialog mode where user enters the parameters or in background mode where all the details are supplied as parameters to the function module.(3) Business
WarehouseRSAX_BIW_GET_DATA_SIMPLE - Template for FM used to get data for a DataSource that was created using generic data extraction (transaction RSO2).CalenderDATE_COMPUTE_DAY -This function module returns the day of the week for th Read more:Calendar
, Change
, Messaging
, Module
, Processing
Finance Tables 2007-07-04 23:26:00 AGKO Cleared Accounts ANAR Asset Types ANAT Asset type text ANEK Document Header Asset Posting ANEP Asset Line Items ANEV Asset downpymt settlement ANKT Asset classes- Description ANLA Asset Master Record Segment ANLB Depreciation terms ANLC Asset Value Fields ANLH Main asset number AT02T Transaction Activity Category- Description AT02A Transaction Code for Menu TIMN AT10 Transaction type AT10T Name of Transaction Type BKDF Document Header Supplement for Recurring Entry BKORM Accounting Correspondence Requests BKPF Accounting Document Header BLPK Document log header BLPP Document log item BLPR Document Log Index and Planned Order (Backflush) BNKA Bank master record BP000 Business Partner Master (General Data) BPBK Doc.Header Controlling Obj. BPEG Line Item Total Values Controlling Obj. BPEJ Line Item Annual Values Controlling Obj. BPEP Line Item Period Values Controlling Obj. BPGE Totals Record for Total Value Controlling obj. BPJA Totals Record for Annual Total Controlling Obj. BSAD A Read more:Tables
Plant Maintenance/Sales and Distribution Tables 2007-07-04 23:23:00 AFAB Network - Relationships AFFH PRT assignment data for the work order AFFL Work order sequence AFFT Order - Process Instructions AFFV Order - Process Instruction Values AFFW Goods movements with errors from confirmations AFIH Maintenance
order header AFKO Order header data PP orders AFPO Order item AFRC Incorrect cost calculations from confirmations AFRD Default values for collective confirmation AFRH Header information for confirmation pool AFRU Order completion confirmations AFRV Confirmations pool AFVC Operation within an order AFVU DB structure of the user fields of the operation AFVV DB structure of the quantities/dates/values in the operation AFWI Subsequently posted goods movements for confirmations AUFK Order master data AUFM Goods movements for order BGMK Master Warranty Header BGMP Master Warranty Item BGMS Master Warranty Text Item BGMT Master Warranty Text BGMZ Warranty Counter CRHD Work Center Header CRTX Text for the Work Center or Production Resource/Tool EQKT Equipme Read more:Plant
, Sales
, Tables
Human Resources Tables/Infotypes 2007-07-03 22:56:00 CATSCO Cross-Application Time Sheet (CATS)- Transfer to CO CATSDB CATS- Database Table for Time Sheet CATSHR Cross-Application Time Sheet (CATS)- Transfer to HR CATSMM Cross-Application Time Sheet (CATS)- Transfer to MM CATSPM Cross-Application Time Sheet (CATS)- Transfer to PM/CS CATSPS Cross-Application Time Sheet (CATS)- Transfer to PS CSKS Cost Center Master Data CSKT Cost Center Texts PCL1 HR Cluster 1 PCL2 HR Cluster 2 T001P Personnel Area/Subarea T001T Company code-dependent texts T500L Personnel Country Grouping T500P Personnel Areas T502T Marital Status Designators T503 Employee Group/Subgroup T503T Employee Subgroup Names T508A Work Schedule Rules T510 Pay Scale Groups T510A Pay Scale Types T510F Assign Pay Scale --- Currency T510W Pay Scale - Period Parameter Assignment T511 Wage Types T512T Wage Type Texts T512W Wage Type Valuation T512Z Permissibility of Wage Types per Infotype T527X Organizational Units T528T Position Texts T529T Personnel Action Texts T529U Status Values Read more:Human Resources
, Resources
, Tables
Materials Management Tables 2007-07-03 22:54:00 EINA Purchasing Info Record- General Data EINE Purchasing Info Record- Purchasing Organization Data MAKT Material Descriptions MARA General Material Data MARC Plant Data for Material MARD Storage Location Data for Material MAST Material to BOM Link MBEW Material Valuation MKPF Header- Material Document MSEG Document Segment- Material MVER Material Consumption MVKE Sales Data for materials RKPF Document Header- Reservation T023 Mat. groups T024 Purchasing Groups T156 Movement Type T157H Help Texts for Movement Types
Read more:Management
, Materials
, Tables
Sales and Distribution Tables 2007-07-03 22:54:00 KONV Conditions for Transaction Data KONP Conditions for Items LIKP Delivery Header Data LIPS Delivery: Item data VBAK Sales
Document: Header Data VBAP Sales Document: Item Data VBBE Sales Requirements: Individual Records VBEH Schedule line history VBEP Sales Document: Schedule Line Data VBFA Sales Document Flow VBLB Sales document: Release order data VBLK SD Document: Delivery Note Header VBPA Sales Document: Partner VBRK Billing: Header Data VBRP Billing: Item Data VBUK Sales Document: Header Status and Administrative Data VBUP Sales Document: Item Status VEKP Handling Unit - Header Table VEPO Packing: Handling Unit Item (Contents) VEPVG Delivery Due Index
Read more:Tables
MM configuration transactions 2007-07-02 05:30:00 OLMB Inventory management/Physical Inventory OLMD MM Consumption-Based Planning OLME MM Purchasing OLML Warehouse Management OLMR Invoice Verification OLMS Material Master data OLMW MM Valuation/Account Assignment
Read more:transactions
Material Management (MM) Transactions 2007-07-02 05:30:00 MM01-MM03 Create/change/display materialMM06 Flag material for deletion. MB31 Goods receipt for order ME21-23 Create/change/display PO MK01-MK03 Create/change/display VENDOR : Purchasing FK01-FK03 Create/change/display VENDOR : Accounting XK01-XK03 Create/change/display VENDOR : Centrally BD64 Distribution model OLMS materials management configuration menu, most of the stuff under this menu is not under the implementation guide
Read more:Management
FI Financial Management Transactions 2007-07-02 05:29:00 FGRP Report Writer screen FM12 View blocked documents by user FST2 Insert language specific name for G/L account. FST3 Display G/L account name. KEA0 Maintain operating concern. KEKE Activate CO-PA. KEKK Assign operating concern. KL04 Delete activity type. KS04 Delete a cost centre. KSH2 Change cost centre group - delete. OBR2 Deletion program for customers, vendors, G/L accounts. OKC5 Cost element/cost element group deletion. OKE1 Delete transaction data. OKE2 Delete a profit centre. OKI1 Determine Activity Number: Activity Types (Assignment of material number/service to activity type) OMZ1 Definition of partner roles. OMZ2 Language dependent key reassignment for partner roles. 1KEL Create Profit Center doument F.01 ABAP/4 Report: Balance Sheet F.02 Compact Journal F.08 G/L account balance(With Credit and Debit values) F.23 A/R:Customer Balances F.27 A/R: Periodic Account Statements F.27 A/R: Periodic Account Statement Read more:Financial
, Management
SAP Office Transactions 2007-07-02 05:27:00 SO00 send a note through SAP, can be sent to internet, X400, etc
Sales and Distribution (SD) Transactions 2007-07-02 05:26:00 OLSD Config for SD. Use Tools-Data Transfer-Conditions to setup SAP supplied BDC to load pricing data V101 Sales
Initial Screen VA07 Comparison of sales order with PR and PO ,compares date ,quantity etc VD01-VD03 Create/change/display Customer : Sales Area FD01-FD03 Create/change/display Customer : Accounting XD01-XD03 Createchange/display Customer : Company Code and Sales Area VL01-VL03 Delivery maintanance VF01-VF03 billing maintanance VA01-VA03 Create/change/display Sales Order VA21-VA23 Create/change/display Quotation VA11-VA13 Create/change/display Inquiry VA41-VA43 Create/change/display Contract MR01 Process Incoming Invoice TVTY Packaging Material TypesVB21 Transaction for Volume Lease Purchases (done as a sales deal) VK15 Transaction used to enter multiple sales conditions (most will be entered here)
Human Resources Transactions 2007-07-02 05:25:00 PA03 Change Payroll control record PA20 Display PA Infotypes PA30 Create/Change PA Infotypes PP02 Quick Entry for PD object creation PU00 Delete PA infotypes for an employee. Will not be able to delete an infotype if there is cluster data assigned to the employee.
Read more:Human Resources
, Resources
BASIS/ABAP Transactions 2007-07-02 05:23:00 SEARCH_SAP_MENU Show the menu path to use to execute a given tcode. You can search by transaction code or menu text. DI02 ABAP/4 Repository Information System: Tables. LSMW Legacy System Migration Workbench. An addon available from SAP that can make data converstion a lot easier. Thanks to Serge Desland for this one. OSS1 SAP Online Service System OY19 Compare Tables SM13 Update monitor. Will show update tasks status. Very useful to determine why an update failed. S001 ABAP Development Workbench S001 ABAP/4 Development Weorkbench. S002 System Administration. SA38 Execute a program. SCAT Computer Aided Test Tool SCU0 Compare Tables SE01 Old Transport & Corrections screen SE03 Groups together most of the tools that you need for doing transports. In total, more than 20 tools can be reached from this one transaction. SE09 Workbench Organizer SE10 New Transport & Correction screen SE11 ABAP/4 Dictionary Maintenance SE12 ABAP/4 Dictionary
Production Planning Transactions 2007-07-02 05:22:00 C001 Create Production
Order C005N Collective Release C011N Time Ticket C012 Confirmation - Collective C013 Confirmation - Cancel C00IS Production order information system C0GI Reprocess Goods Movements C223 Maintain production version
Plant Maintenance (PM) Transaction 2007-07-02 05:21:00 IW31 Create PlantMaintenance
Order IW32 Change Plant Maintenance Order IW33 Display Plant Maintenance Order IW34 Create Notification Order IW51 Create Service Notification IW52 Change Service Notification IW53 Display Service Notification IW54 Create Service Notification :Problem notification IW55 Create Service Notification :Activity Request IW56 Create Service Notification :Service Request IW57 Assign deletion Flag to Completed Service Notifications IW58 Change Service Notifications: Selection of Notification IW59 Display Service Notifications: Selection of Notification
Read more:Transaction
Standard SAP Reports 2007-06-29 05:48:00 RGUGBR00 Substitution/Validation utilityRHGENZ0/HRGRENZ2 Notes RHGRENZ0/2 will abend if there are any inconsistencies between PD and PA (i.e. people in a different controlling area than the position they belong to).RHGRENZ0 Delimit IT1000 and related 1001s. Program will delete any 1001 infotypes whose start date is after the delimit date.RHGRENZ1 Extend the end date on delimited records. Very useful when you delimit a bunch of records incorrectly, and need to change the end date.RHGRENZ2 Delimit IT1001 only.RKCTSEAR Search source code for up to two strings. Also see RSRSCAN1 and RPR_ABAP_SOURCE_SCAN.RPDTRA00 List all HR transactions.RPR_ABAP_SOURCE_SCAN Search ABAP code for a string. Has many more options for selecting the ABAPs to search than RSRSCAN1 or RKCTSEAR.RPUAUD00 HR Report to list all logged changes for an employee. Uses the PCL4 Audit Cluster.RPUAUDDL HR Report to delete audit data from the PCL4 Audit Cluster.RPUDELPN Delete all info for an employee number, including cluster Read more:Standard
ALE/IDOC Transaction 2007-07-17 07:14:00 SALE Area Menu for ALE configurations.It includes transactions for Logical System definition and linking it to a client, Transaction
s forRFC Destination and Port Definition Etc.SM59 RFC DestinationHere we specify the login settings for the destination including the I.P address or Application Server name and the User name and password.The information entered here is used to run Remote Function Calls(RFC ) on the destination server .We can create number of typesof RFC Destinations but 3 types are important .R/3 (R/3 to R/3), LS(logical system) and TCP/IP.The name of the RFC destination should be same as that of Logical System as it helps in creation of automatic partner profiles.WE21 Port Definition.There are 6 types of ports but only 2 types File and Transactional RFC types of ports are important.We have to specify the RFC Destination before a port can be created.WE57 This is used to assign the Inbound function module to the Message Type and to the IDOC Type.WE42 This is used to define
IDOC Status Code 2007-07-17 07:13:00 Status Description 00 Not used, only R/2 01 IDoc generated 02 Error passing data to port 03 Data passed to port OK 04 Error within control information of EDI subsystem 05 Error during translation 06 Translation OK 07 Error during syntax check 08 Syntax check OK 09 Error during interchange handling 10 Interchange handling OK 11 Error during dispatch 12 Dispatch OK 13 Retransmission OK 14 Interchange Acknowledgement positive 15 Interchange Acknowledgement negative 16 Functional Acknowledgement positive 17 Functional Acknowledgement negative 18 Triggering EDI subsystem OK 19 Data transfer for test OK 20 Error triggering EDI subsystem 21 Error passing data for test 22 Dispatch OK, acknowledgement still due 23 Error during retransmission 24 Control information of EDI subsystem OK 25 Processing despite syntax error (outbound) 26 Error during syntax check of IDoc (outbound) 27 Error in dispatch level (ALE service) 28 Not used 29 Error in ALE service 30 IDoc ready for dispatch (ALE service) 31 Read more:Status
Useful Guide to ALE, IDOCs 2007-07-17 06:59:00 ALE/IDOCIDOC Programming There are two processes in IDOC processing one is INBOUND PROCESS( IDOC coming to the system and its handling at various stages) and the other is OUTBOUND PROCESS( IDOC is send to other system . Separate ABAP programs are written for these 2 processes and different configuration settings are required for each one .Depending upon the trigeering mechanism different programming approaches are used.OUTBOUND PROGRAMS handle the IDOC creation and INBOUND PROGRAMS handle the inbound IDOC and the data trasfer from the IDOC to the database tables. NEED FOR ABAP PROGRAMMING arises if1)New IDOC was created Depending upon the triggering mechanism i.e change pointer,message control etc the programming technique changes and the type of process.2)Existing IDOC was extended User Exits are used to populate data in new segments added and to read them back.3)To enhance an exsiting process. User Exits are used . Basic structure of an OUTBOUND PROGRAMThe basic struct Read more:Guide
, Useful
Workflow Benefits for the company 2007-07-16 05:10:00 Increase productionClearing backlogDistribution of information and workEvery user gets his work list automatically from the system Accelerating the processesYou will get cash discount more oftenBetter/quicker reaction to errorsCustomers are more satisfiedProcesses are more quickly finishedBetter return on information Workflow
is Not ..!!!!(1)Simply document administration and imaging; although Workflow uses both(2)Standard E-mail and groupware – although Workflow uses these(3)Data distribution across multiple systems: EDI / ALE is used for this purpose(4)Screen sequence management within a transaction .(5)Management of temporary data, management of “one time” processes (6)Repetitive work of a single type, e. g. goods movements. A tool to fill functionality gaps!Advantages of Using Workflow Transparent business processes (i)For modeling and defining(ii)Rules, templates(iii)Organizational principlesAt runtime(i)Current status(ii)of a certain business object(iii)t Read more:Benefits
, company