cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Attaching Drawing

al_cantrell3
Explorer
0 Likes
509

Dear Group,

This is a follow-up question from the creating Hot Spot question and regards attaching the drawing number.  The workflow is started from a simple ABAP program that loads the container elements with information.  One piece provided is the material drawing number and they would like this as an attachment so that when it is selected, it pulls up the drawing.

I've used the suggestions obtained so far to create a Generic Instantiate Task with binding above.  It allows the drawing number to be attached to the task as desired and starts cv03n (all good), but it uses 3 characters of the drawing number for the drawing type. 

The two main types of drawings used by our product designers are autocad or solidworks, but the user will not know which it is when starting the ABAP program.  Is it possible to pass the drawing type to it as spaces, and simply let the product design person select this manually when CV03n starts?  If so, could you give options for how?

Thanks for any help,

Al

View Entire Topic
I042439
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello Al

Maybe in your workflow, before generating the instance, you can do a select on table DRAW to get the TYPE (DOKAR)....IF you are sure that the Drawing Number (DOKNR) will NOT be common across various types (since DOKNR is just a partial key of that table).

Once you have the TYPE, you can create an instance of the object DRAW (using the same way as you are currently doing) and pass the key as a concatenation of DOKAR (Type) , DOKNR (Number), DOKVR(version) , DOKTL (Part).

regards,

Modak

al_cantrell3
Explorer
0 Likes

Hi Modak,

Thank you for your reply.  It makes perfect, logical sense.  I don't have the ABAP ability to do this, but can get help from our internal support team.  I will close the ticket as I feel sure this will work.

Thanks again,

Al