Skip to Content
avatar image
Former Member

Getting corresponding charecterirstic value from ausp by passing tplnr

Dear Experts,

I am trying to write a simple query to pass the TPLNR to OBJEK in ausp along with converted ATINN (for AP_HOLD) and get the charateristic value (ATWRT). Somehow I am not able to succeed in this. I tried it in few ways. It is ending with error. Somehow I could not relate it.

tplnr is my parameters.

I am trying in following way.

REPORT zab_samplevendor.

TABLES : ekbe, rbkp_blocked,ekko,viqmel,iloa,ausp.

PARAMETERS : char1(20) TYPE C.

TYPES:BEGIN OF zausp,

objek TYPE ausp-objek,

atinn TYPE ausp-atinn,

atwrt TYPE ausp-atwrt,

END OF zausp.

SELECT objek atinn atwrt into table it_ausp FROM ausp.

" this sample program should/will get funclocand find its AP_HOLD characteristics value

loop at it_ausp.

WRITE :/10 ausp-objek.

I am not able to figure out where I am actually committing mistake. At debug I can see values in the table.

I would welcome your ideas/suggestions.

Thank you.

Best regards.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 22, 2011 at 07:04 AM

    Hi,

    Did you check AUSP by specifying the values from SE16?

    Regards,

    Nagaraj

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Mohana Vamsi Mamillapalli

      @vamsi, Thank you for the response.

      Issue is resolved. I changed the condition along with the write statement.

      Best regards.