Application Development and Automation 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: 
Read only

Function module not returning revisision level in Report

Former Member
0 Likes
763

Hello Abap Gurus,

I am not a regular ABAP programmer, but i do few changes here and there if programmer is busy.

My dilemma is, When i use REVISION_LEVEL_SELECT function module via SE37 it works fine:

Import parameters Value

AENNR

AEOBJ 4

DATUV 07/29/2010

DOKAR

DOKNR

DOKTL

DOKVR

MATNR 1234-555-1234-A

REVLV

DOKOB

OBJKY

Export parameters Value

AAENNR 105145628

ADATUV 04/22/2006

ADOKVR

AREVLV 04

But when i use this in the z report it doesnt give me any thing.

Import parameters Value

AENNR

AEOBJ 4

DATUV SY-DATUM

DOKAR

DOKNR

DOKTL

DOKVR

MATNR 1234-555-1234-A

REVLV

DOKOB

OBJKY

Export parameters Value

AAENNR

ADATUV

ADOKVR

AREVLV

Any help will be appreciated..

Edited by: Owais Khan on Jul 29, 2010 9:55 PM

Edited by: Owais Khan on Jul 29, 2010 9:56 PM

Hello Abap Gurus,

I am not a regular ABAP programmer, but i do few changes here and there if programmer is busy.

My dilemma is, When i use REVISION_LEVEL_SELECT function module via SE37 it works fine:

Import parameters Value

AENNR

AEOBJ 4

DATUV 07/29/2010

DOKAR

DOKNR

DOKTL

DOKVR

MATNR 1234-555-1234-A

REVLV

DOKOB

OBJKY

Export parameters Value

AAENNR 105145628

ADATUV 04/22/2006

ADOKVR

AREVLV 04

But when i use this in the z report it doesnt give me any thing.

Import parameters Value

AENNR

AEOBJ 4

DATUV SY-DATUM

DOKAR

DOKNR

DOKTL

DOKVR

MATNR 1234-555-1234-A

REVLV

DOKOB

OBJKY

Export parameters Value

AAENNR

ADATUV

ADOKVR

AREVLV

Any help will be appreciated..

Edited by: Owais Khan on Jul 29, 2010 9:55 PM

Edited by: Owais Khan on Jul 29, 2010 9:56 PM

3 REPLIES 3
Read only

Former Member
0 Likes
661

What is sy-subrc after the call in the program?

Rob

Read only

0 Likes
661

Sy-subrc = 8

Read only

0 Likes
661

Please post the code where you call the FM and check the return code.

Rob