Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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.


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.

Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question