2007 May 10 7:04 AM
could you get me the two segments used to exchange data between programs using ABAP memory?
2007 May 10 7:11 AM
HI,
see this example.
program1.
REPORT ZEXAMPLE10.
tables:mara.
select-options:matnr for mara-matnr.
submit zexample11 with i_matnr in matnr and return.
program2.
REPORT ZEXAMPLE11.
tables:mara.
select-options:i_matnr for mara-matnr.
select * from mara where matnr in i_matnr.
write:/ mara-matnr.
endselect.
check this code this will b helpful.
Regards,
Kumar.
could you get me the two segments used to exchange data between programs using ABAP memory?
2007 May 10 7:06 AM
2007 May 10 7:07 AM
Hi Dinesh,
ABAP memory is local memory and the 2 parameters are :
IMPORT and EXPORT.
SAP memory is global memory and the 2 parametsr in global memory are
SET PARAMETER ID ...
and
GET PARAMETER ID
revert back if any issues..
Reward points if helpful
Regards
Naveen
2007 May 10 7:09 AM
ABAP memory is for passinng the information between screens in the single session but SAP memnoty can be used to pass between different scessions.
ABAP memory is local memory and the 2 parameters are :
IMPORT and EXPORT.
SAP memory is global memory and the 2 parametsr in global memory are
SET PARAMETER ID and GET PARAMETER ID
Warm Regards,
Vijay
2007 May 10 7:11 AM
HI,
see this example.
program1.
REPORT ZEXAMPLE10.
tables:mara.
select-options:matnr for mara-matnr.
submit zexample11 with i_matnr in matnr and return.
program2.
REPORT ZEXAMPLE11.
tables:mara.
select-options:i_matnr for mara-matnr.
select * from mara where matnr in i_matnr.
write:/ mara-matnr.
endselect.
check this code this will b helpful.
Regards,
Kumar.
2007 May 10 7:16 AM
Ooops I apologize for the above post:
The following executable program is connected to the logical database F1S and calls an update transaction:
REPORT BOOKINGS NO STANDARD PAGE HEADING.
TABLES SBOOK.
START-OF-SELECTION.
WRITE: 'Select a booking',
/ '----
'.
SKIP.
GET SBOOK.
WRITE: SBOOK-CARRID, SBOOK-CONNID,
SBOOK-FLDATE, SBOOK-BOOKID.
HIDE: SBOOK-CARRID, SBOOK-CONNID,
SBOOK-FLDATE, SBOOK-BOOKID.
AT LINE-SELECTION.
SET PARAMETER ID: 'CAR' FIELD SBOOK-CARRID,
'CON' FIELD SBOOK-CONNID,
'DAY' FIELD SBOOK-FLDATE,
'BOK' FIELD SBOOK-BOOKID.
CALL TRANSACTION 'BOOK'.
The basic list of the program shows fields from the database table SBOOK according to the user entries on the selection screen. These data are also stored in the HIDE areas of each line.
If the user selects a line of booking data by double-clicking, the system triggers the AT LINE-SELECTION event and takes the data stored in the HIDE area to fill them into the SPA/GPA parameters of the initial screen of the transaction. Then it calls the transaction. Since you do not suppress the initial screen using AND SKIP FIRST SCREEN, the initial screen may appear as follows:
If you would use the AND SKIP FIRST SCREEN option with the CALL TRANSACTION statement, the second screen would appear immediately, since all obligatory fields of the first screen are filled.
regardsm
kumar.
2007 May 11 11:16 AM
Thanks alot to
Premalatha G
Naveen Deva
Vijaya Bhaskaru...
virgo rhyme for your help,
regards,
Dineshbabu.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |