Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2801

ME2M output Structure Difference in DEV and PRD while using SUBMIT statement

$
0
0

Hi All,

 

For a z transaction creation, I have used submit statement for the report RM06EM00. While retrieving the list from memory I used the same structure of ME2M (Structure MEREP_OUTTAB_PURCHDOC).

 

Below is the statement I used.

 

SUBMIT rm06em00 WITH em_matnr IN s_matnr

                   WITH em_werks IN s_werks

                   WITH em_ekorg IN s_ekorg

                   WITH listu = s_listu-low

                   WITH selpa   IN s_selpa

                   WITH s_bsart IN s_bsart

                   WITH s_ebeln IN s_ebeln

                   WITH s_ekgrp IN s_ekgrp

                   WITH s_bedat IN s_bedat

                   WITH s_eindt IN s_eindt

                   WITH s_lifnr IN s_lifnr

                   WITH s_matkl IN s_matkl

                   EXPORTING LIST TO MEMORY AND RETURN.



CALL FUNCTION 'LIST_FROM_MEMORY'

     TABLES

       listobject = it_list

     EXCEPTIONS

       not_found  = 1

       OTHERS     = 2.

 

   CALL FUNCTION 'LIST_TO_ASCI'

     TABLES

       listobject         = it_list

       listasci           = txtlines

     EXCEPTIONS

       empty_list         = 1

       list_index_invalid = 2

       OTHERS             = 3.


After this I am splitting the list to corresponding fields and doing the manipulations.


This is working fine in Development system.


Below is the screen shot of structure of txtlines taken during debugging .


Development

 

DEV.jpg

 

Screenshot From Production System.

PRD.jpg

Is this structure difference is due to the layout setting or is there any configuration related to the ME2M output.


Viewing all articles
Browse latest Browse all 2801

Trending Articles