cancel
Showing results for 
Search instead for 
Did you mean: 

Calling transaction OAOH in webdynpro abap

Former Member
0 Kudos

Hi,

I am trying to call the transaction OAOH for uploading a document for archival.

But the popup for document upload works only in SAP GUI.

Can anyone help?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Soumya,

Instead of calling a transaction it may be easier to make a file-upload element in your web dynpro and call a function module to store the document in Archivelink. Check for example function group SCMS_AO_AP with the following (released) function modulesI:

SCMS_AO_API CMS: API Archive Object

SCMS_AO_FILE_CREATE CMS: Create AO API Document

SCMS_AO_FILE_CREATE_ASYNC CMS: Create AO API Document (Asynchronous)

SCMS_AO_FILE_GET CMS: Make AO API Document Available

SCMS_AO_STATUS CMS: AO API Status Query

SCMS_AO_TABLE_CREATE CMS: Create AO API Document from Internal Table

SCMS_AO_TABLE_GET CMS: Make AO API Document Available from Internal Table

SCMS_AO_TABLE_GET_BYTES CMS: Make AO API Document Available in Bytes

SCMS_AO_TABLE_UPDATE CMS: Replace AO API Component from Table

Hope this helps!

Cheers, Roel

Former Member
0 Kudos

I couldn't find the FMs in my system.Any other FMs that I can look into?

Edited by: Soumya Bhattacharya on Nov 8, 2010 3:01 PM

Answers (2)

Answers (2)

Sharathmg
Active Contributor
0 Kudos

Use the ITS url for the transaction and not the transaction code.

Buidl the ITS url for your transaction using the code below:

CONCATENATE 'http://' l_f_host ':' l_f_port
      '/sap/bc/gui/sap/its/webgui?~transaction=' pi_tcode INTO l_f_url.

Regards,

Sharath

Former Member
0 Kudos

Hi Sowmya,

Please find the below thread.

[Call Transaction in WDA|;

Regards,

-Syed.