Skip to Content
avatar image
Former Member

Getting Custom layout as output by submitting COOIS report

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 30, 2017 at 02:08 PM

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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 04, 2017 at 01:19 PM

    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

    Add comment
    10|10000 characters needed characters exceeded