Error Handling for Bundled Updates

Runtime errors can occur during execution of bundled updates. How are they handled? In general, COMMIT WORK processing occurs in the following order: … 1. All dialog-task FORM routines logged with PERFORM ON COMMIT are executed. 2. All high-priority (V1) update-task function modules are executed. The end of V1-update processing marks the end of the … Read more

The R/3 Lock Concept

Reasons for Setting LocksSuppose a travel agent want to book a flight. The customer wants to fly to a particular city with a certain airline on a certain day. The booking must only be possible if there are still free places on the flight. To avoid the possibility of overbooking, the database entry corresponding to … Read more

How to Get Error Message from BDC?

While doing call transaction, if an error occurs in updation, we declare bdcmsgcoll and store our messages in it, but how to retreive error message from it Using function module ‘FORMAT_MESSAGE’ you can capture the messages. Here is a sample of the program code for that: LOOP AT it_messtab.CALL FUNCTION ‘FORMAT_MESSAGE’EXPORTINGid = it_messtab-msgidlang = it_messtab-msgsprano … Read more

Convert SAPSCRIPT into SMARTFORMS

SAP provides a conversion for SAPscript into SMARTforms. There are two way through which you can convert sapscript into smartforms. (1)This is basically a function module, called FB_MIGRATE_FORM. You can start this function module by hand (via SE37), or create a small ABAP which migrates all SAPscript forms automatically. (2)You can also do this one-by-one … Read more

BDC Sample Program

*&———————————————————————**& Report ZPROG65_11 **& **&———————————————————————*REPORT zprog65_11 .TABLES : lfa1. TYPES : BEGIN OF ven , lifnr LIKE rf02k-lifnr, bukrs LIKE rf02k-bukrs , ekorg LIKE rf02k-ekorg, ktokk LIKE rf02k-ktokk, name1 LIKE lfa1-name1, sortl LIKE lfa1-sortl, land1 LIKE lfa1-land1, spars LIKE lfa1-spras, akont LIKE lfb1-akont, fdgrv LIKE lfb1-fdgrv, waers LIKE lfm1-waers, anred LIKE lfa1-anred , END OF … Read more

Conversion of SAP System to Unicode

What is Unicode? Unicode is the encoding standard which provides the basis for processing, storage and interchange of text data in any language in all modern software and information technology protocols. Who Needs Unicode? Acting in global business requires support of a Global Character Set! (i)Companies running global business processes like Global HR Systems or … Read more

Enterprise Service Oriented Architecture

Introduction :SOA is a design for linking computational resources (principally, applications and data) on demand to achieve the desired results for service consumers (which can be end users or other services). What is SOA? SOA is more generic. Any system that provides web services (which are self-contained and self-describing) can be termed as SOA enabled. … Read more

SAP Upgrading-Transaction SPDD, SPAU

Support Pack? Support Packs are the upgrades we get for one release of SAP. For example, for component 4.7 you have support pack levels too (you can see this in transaction SPAM). SAP releases support packs for standard corrections which you can also implement separately through OSS notes (if you do not want the import … Read more