Skip to Content
0

Getting Custom layout as output by submitting COOIS report

Nov 29, 2017 at 06:52 PM

58

avatar image
Former Member

Hi Everyone,

I have to call COOIS report From my Zprogram. I got the required output using SUBMIT ppio_entry ... EXPORTING LIST TO MEMORY AND RETURN & FM 'LIST_FROM_MEMORY' & 'LIST_TO_ASCI'. But what I got as output is the standard layout '000000000001' in my internal table (as container type file). I have created a custom layout and also passed as a parameter while submitting from my ZPROGRAM, still getting the standard layout as output. Is there any solution to get custom layout as output from Standard COOIS report.

Below is my code: GR_WERKS is my Plant range while '/CUSTOM' is my created custom layout:

SUBMIT ppio_entry
WITH ppio_entry_sc100-ppio_listtyp = 'PPIOH000'
WITH ppio_entry_sc1100-alv_variant = '/CUSTOM'
WITH s_werks IN gr_werks
EXPORTING LIST TO MEMORY AND RETURN.

CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = gt_abaplist
EXCEPTIONS
not_found = 1
OTHERS = 2.

CALL FUNCTION 'LIST_TO_ASCI'
TABLES
listasci = gt_asci
listobject = gt_abaplist
EXCEPTIONS
empty_list = 1
list_index_invalid = 2
OTHERS = 3.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Don Williams
Nov 30, 2017 at 02:08 PM
0

This is not Crystal Reports, what program are you using?

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 04, 2017 at 01:19 PM
0

Hi Don,

I doesn't know which tag can be used for this Question. Sorry for it. But the program works successfully now. I don't know what changes made, but the coding works good.

Regards,

Naveen

Share
10 |10000 characters needed characters left characters exceeded