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: 

Its Urgent: Link to display the original document (DOKNR)

Former Member
0 Kudos

Hi All,

I need to display the link for the original document attached to the BOM i.e.(STPO-DRAW wht i m using.)

But for a BOM material when I am hitting table STPO , DOKNR field is empty.

At the same when I am checking IN CC04 for that BOM material it shows One active document.

For link to document I am using DRAW-FILEP1

Please tell me is there any other table to get the doument no or any alternative by which i can get the value.

Its Urgent.

Thanks,

Gaurav Mittal

4 REPLIES 4

Former Member
0 Kudos

HI Gaurav,

Please check the belowu2026

CVDDP

DRAW

DRAZ

ENT7690

N2DRAWA

N_2VDOCDRA

N_VDRAWRAT

Rgds,

Raghu

0 Kudos

Hi Raghu,

These are the tables?

I have checked but these are not serving the purpose.

last three objects is not exist(SE11).

Thanks,

Gaurav

Former Member
0 Kudos

Hello Gaurav,

is the document attached to a material or is it a document position in the bom?

Dokument links are stored in the table DRAD.

With the function module BAPI_DOCUMENT_GETOBJECTDOCS you can also get the linked documents of an object .

regards

Johannes

0 Kudos

Hi Johannes,

To fetch the records from DRAD I need DOKNR but STPO table doesn't have values.

Also for given BAPI I need the same.

Actually when I am checking in CS03 it is not showing any documents over there but when I am checking in CC04 for the same material it is showing the link to docs.

Regards,

Gaurav