Posted: Sun Nov 04, 2007 4:37 pm Post subject: Upload and Download of Favorites
Upload and Download of Favorites (From Version SAP relases 4.6x)
Parameters:
P_UNAME SAP User
P_LANGU Sprache
P_EXP Export
P_IMP Import
P_TYPE Übertragungsformat der Daten
P_PATH Pfad
P_TEST Testmodus
Code:
REPORT ZFAV.
*
********************** HEADER **************
*
* Copyright (c) 2001 by xxxx xxx, 44318 Anywhere, http://xxxxx
* or: Copyright (c) 2001 by X.X. from X.
*
* You can use or modify this report for your own work as long
* as you don't try to sell or republish it.
* In no event will the author be liable for indirect, special,
* Incidental, or consequental damages (if any) arising out of
* the use of this report.
*//////////////////////////////////////////////////////////////////////*
* Append your coding here ...
*&---------------------------------------------------------------------*
*& Report ZFAV *
*& Favoriten Upload/Downl. *
*& Rel. 4.6B *
*&---------------------------------------------------------------------*
*& Author : Klaus Todebusch *
*&---------------------------------------------------------------------*
*-- Data ---------------
DATA : g_file(128) TYPE c.
DATA : g_path(80) TYPE c.
DATA : g_end(8) TYPE c.
DATA : g_subrc LIKE sy-subrc.
*-- Parameters -----------
PARAMETERS: p_uname LIKE sy-uname DEFAULT sy-uname.
PARAMETERS: p_langu LIKE sy-langu DEFAULT sy-langu.
SELECTION-SCREEN SKIP.
PARAMETERS: p_imp RADIOBUTTON GROUP act .
PARAMETERS: p_exp RADIOBUTTON GROUP act DEFAULT 'X'.
SELECTION-SCREEN ULINE.
SELECTION-SCREEN BEGIN OF BLOCK fil.
PARAMETERS: p_type LIKE rlgrap-filetype DEFAULT 'ASC'.
PARAMETERS: p_path LIKE g_path DEFAULT 'C:\TEMP\XXX.MEN'.
PARAMETERS: p_test AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN END OF BLOCK fil.
*-- Data ---------------
DATA: it_user_nodes TYPE TABLE of bxmnodes1 WITH HEADER LINE.
DATA: it_fav_nodes TYPE TABLE of bxmnodes WITH HEADER LINE.
*-- DL Itab
DATA: BEGIN OF it_pcf OCCURS 0,
line(4096) TYPE c.
DATA: END OF it_pcf.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.