New Soul – Yael Naim

I’m a new soul I came to this strange world
Hoping I could learn a bit about how to give and take
But since I came here felt the joy and the fear
Finding myself making every possible mistake

la-la-la-la-la-la-la-la…

I’m a young soul in this very strange world
Hoping I could learn a bit about what is true and fake
But why all this hate? Try to communicate
Finding trust and love is not always easy to make

la-la-la-la-la-la-la-la…

This is a happy end
cause’ you don’t understand
everything you have done
why is everything so wrong
This is a happy end
come and give me your hand
I’ll take your far away

I’m a new soul I came to this strange world
hoping I could learn a bit about how to give and take.
But since I came here felt the joy and the fear
finding myself making every possible mistake.

la-la-la-la-la-la-la-la…

All FI transactions

FSMN — GL Accnt Easy Access.

FKMN — AP

FDMN — AR

ASMN — Assests

Posted in SAP

Read From Remote SAP (PRD from DEV) sample

REPORT YNS1234
.
TABLES : TAB512, RFC_DB_FLD.

*Example to get data from PRod by RFC

TABLES : BSEG.

PARAMETERS: X(50) DEFAULT ‘/home/xxx01/csss.txt’
LOWER CASE OBLIGATORY.

parameters: pbelnr like bseg-belnr.

DATA : ITAB LIKE TAB512 OCCURS 0 WITH HEADER LINE.
DATA: FLIST LIKE RFC_DB_FLD OCCURS 0 WITH HEADER LINE..

refresh flist.

FLIST-FIELDNAME = ‘BELNR’. APPEND FLIST.

FLIST-FIELDNAME = ‘BSCHL’. APPEND FLIST.

FLIST-FIELDNAME = ‘SHKZG’. APPEND FLIST.
FLIST-FIELDNAME = ‘DMBTR’. APPEND FLIST.
FLIST-FIELDNAME = ‘HKONT’. APPEND FLIST.

 

data: options like RFC_DB_OPT occurs 0 with header line..

clear options.

Concatenate text-001 pbelnr text-002

into options-text .

append options.

options-text = text-003.

append options.

refresh itab.

CALL FUNCTION ‘RFC_READ_TABLE’ DESTINATION ‘LOGPR20410’
EXPORTING
QUERY_TABLE = ‘BSEG’
* DELIMITER = ‘ ‘
* NO_DATA = ‘ ‘
* ROWSKIPS = 0
* ROWCOUNT = 5
TABLES
options = options
FIELDS = FLIST
DATA = ITAB
EXCEPTIONS
TABLE_NOT_AVAILABLE = 1
TABLE_WITHOUT_DATA = 2
OPTION_NOT_VALID = 3
FIELD_NOT_VALID = 4
NOT_AUTHORIZED = 5
DATA_BUFFER_EXCEEDED = 6
OTHERS = 7.

IF SY-SUBRC EQ 0.

OPEN DATASET X FOR APPENDING in text mode.

loop at itab.

transfer itab to x.

endloop.

endif.