Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all articles
Browse latest Browse all 10425

Re: Send multiple Spool data in an excel multiple tabs as an attachment

$
0
0

Hi ,

 

  As per my understanding , whenever spool request get changed that data have to display in next sheet in same excel, if its correct use the below code.

 

CLEAR OBJPACK-TRANSF_BIN.

   OBJPACK-HEAD_START = 1.  """ Sheet No , Keep incremental

   OBJPACK-HEAD_NUM = 0.

   OBJPACK-BODY_START = 1.

   OBJPACK-BODY_NUM = TAB_LINES.

   OBJPACK-DOC_TYPE = 'RAW'.

   APPEND OBJPACK.

 

*Attachment 1

 

   DESCRIBE TABLE OBJBIN1 LINES TAB_LINES.

   OBJPACK-DOC_SIZE = TAB_LINES * 8000.

   OBJPACK-TRANSF_BIN = 'X'.

   OBJPACK-HEAD_START = 1.  """ Sheet No , Keep incremental

   OBJPACK-HEAD_NUM = 1.

   OBJPACK-BODY_START = 1.

   OBJPACK-BODY_NUM = TAB_LINES.

   OBJPACK-DOC_TYPE = 'XLS'.

   DOCDATA-OBJ_NAME = 'OpenItems'.

   OBJPACK-OBJ_DESCR = 'OpenItems'.

   APPEND OBJPACK.

 

 

Regards,

Krishna


Viewing all articles
Browse latest Browse all 10425

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>