Open and display pdf file with SAP ABAP

User Rating:  / 21

The following ABAP Program open PDF file and display into SAP Screen :

Insert SAP CRM Product Relations with BAPI Fuction

User Rating:  / 5

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

Replace in ABAP Strings

User Rating:  / 3

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].

Load budget in FM with BAPI_0050_CREATE

User Rating:  / 5

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

create simple ABAP class into abap program

User Rating:  / 5

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

Finding Character Strings in ABAP

User Rating:  / 6

To search a character field for a particular pattern, use the SEARCH statement as follows:

SEARCH <c> FOR <str> <options>.

The statement searches the field <c> for <str> starting at position <n1>. If successful, the return code value of SY-SUBRC is set to 0 and SY-FDPOS is set to the offset of the string in the field <c>. Otherwise, SY-SUBRC is set to 4.

The search string <str> can have one of the following forms.

Download Documents and images for Sap CRM

User Rating:  / 0

Download product documents ( images, pdf, etc.. ) from Sap Crm with the following ABAP Code :

Create HTML file from SAP data with ABAP

User Rating:  / 3

The following simple ABAP program creates html file with SAP data.

Sorting Internal Tables in ABAP

User Rating:  / 0

Sorting Internal Tables

You can sort a standard or hashed table in a program. To sort a table by its key, use the statement

SORT <itab> [ASCENDING|DESCENDING] [AS TEXT] [STABLE].

The statement sorts the internal table <itab> in ascending order by its key. The statement always applies to the table itself, not to the header line. The sort order depends on the sequence of the standard key fields in the internal table. The default key is made up of the non-numeric fields of the table line in the order in which they occur.

You can specify the direction of the sort using the additions ASCENDING and DESCENDING. The default is ascending.

The larger the sort key, the more time the system needs to sort the table. If the sort key contains an internal table, the sorting process may be slowed down considerably.

Create SAP Goods Movements with BAPI Function

User Rating:  / 3

Simple program for SAP Goods Movements with BAPI Functions:

   

Login  

   

     

© Developerpages