Αναζήτηση

Showing posts with label SAP. Show all posts
Showing posts with label SAP. Show all posts

Wednesday, January 30, 2013

Insert SAP CRM Product Relations with BAPI Fuction

The following simple code inserts SAP CRM Product Relations ( using BAPI Function ) :


Tuesday, January 29, 2013

Replace in ABAP Strings


Pattern-based replacement
1. REPLACE [{FIRST OCCURRENCE}|{ALL OCCURRENCES} OF]
pattern
IN [section_of] dobj WITH new
[IN {BYTE|CHARACTER} MODE]
[{RESPECTING|IGNORING} CASE]
[REPLACEMENT COUNT rcnt]
{ {[REPLACEMENT OFFSET roff]
[REPLACEMENT LENGTH rlen]}
| [RESULTS result_tab|result_wa] }.
Position-based replacement
2. REPLACE SECTION [OFFSET off] [LENGTH len] OF dobj WITH new
[IN {BYTE|CHARACTER} MODE].

Thursday, January 17, 2013

Load budget in FM with BAPI_0050_CREATE


Load budget data in SAP FM with function  BAPI_0050_CREATE from text file :
  

Monday, December 17, 2012

create simple ABAP class into abap program


The simple ABAP program writes to screen from simple ABAP class method:


program ztest_class.

*--------------------------------------------------------------------
*  www.developerpages.gr
*--------------------------------------------------------------------

class myfirstclass DEFINITION FINAL.
  PUBLIC SECTION.
    methods hello_world.
ENDCLASS.

CLASS myfirstclass implementation.
  METHOD hello_world.
    write :/ 'Hello world from simple ABAP class !'.
  ENDMETHOD.

ENDCLASS.

Tuesday, August 14, 2012

Create abap internal table dynamically

Then following simple program creates abap internel table dynamicaly , select 2 rows of any database table and display data to screen : 
http://developerpages.gr/index.php/desktop-development-2/abap/79-create-abap-internal-table-dynamically