Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ME_READ_PO_FOR_PRINTING

former_member569532
Participant
0 Kudos

Hi Experts,

call function 'ME_READ_PO_FOR_PRINTING'

        exporting

             ix_nast        = nast

             ix_screen      = ent_screen

        importing

             ex_retco       = ent_retco

             ex_nast        = l_nast

             doc            = l_doc

        changing

             cx_druvo       = l_druvo

             cx_from_memory = l_from_memory.

The above function module is returning the ent_retco = 0. when we have given only one PO.But if give some 15 PO's for the same PO it is returning

ent_retco = 1.Can anyone advise,how to solve this problem.




Rgds,

Anusha

4 REPLIES 4

paul_bakker2
Active Contributor
0 Kudos

Hi,

How do you pass 15 POs? It looks like IX_NAST will only take one at a time.

cheers

Paul

0 Kudos

Hi Paul Bakker,

I am calling the function module inside the loop.

Thanks,

Anusha.

0 Kudos

Hi Anu,

Have you check only those PO individually which are giving the return code 1? May be some information are missing for those.

Regards.

Praveer.

atul_mohanty
Active Contributor
0 Kudos

Debug the FM on what condition the rc is becoming 1.