Posted: Sat May 10, 2008 8:26 pm Post subject: BAPI_QPGR_REPLICATE
BAPI_QPGR_REPLICATE - Prepare QM code group for distribution
Code:
TYPES:BEGIN OF ty_src,
cat_type LIKE bapiqpgr_qpgr-cat_type,
code_group LIKE bapiqpgr_qpgr-code_group,
short_text LIKE bapiqpgr_qpgt-short_text,
code LIKE bapiqpgr_qpcd-code,
st LIKE bapiqpgr_qpct-short_text,
END OF ty_src.
DATA int_src TYPE TABLE OF ty_src.
DATA wa_src TYPE ty_src.
DATA: ws_filename TYPE string.
DATA: gt_bapiqpgr_qpgr TYPE bapiqpgr_qpgr OCCURS 0 WITH HEADER LINE,
gt_bapiqpgr_qpgt TYPE bapiqpgr_qpgt OCCURS 0 WITH HEADER LINE,
gt_bapiqpgr_qpcd TYPE bapiqpgr_qpcd OCCURS 0 WITH HEADER LINE,
gt_bapiqpgr_qpct TYPE bapiqpgr_qpct OCCURS 0 WITH HEADER LINE,
gt_bapiret2 TYPE bapiret2 OCCURS 0 WITH HEADER LINE.
CONSTANTS:
lit_fty(10) TYPE c VALUE 'ASC',
lit_sep(1) TYPE c VALUE 'X'.
SELECTION-SCREEN BEGIN OF BLOCK a1 WITH FRAME TITLE text-001.
PARAMETERS: p_fn LIKE rlgrap-filename.
SELECTION-SCREEN END OF BLOCK a1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fn.
PERFORM get_filename USING 'P_FN'
CHANGING p_fn.
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.