Application Development and Automation 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: 
Read only

Archive issue in GOS using SAPSCRIPT

Former Member
0 Likes
777

Hi All,

We find an issue while archiving the SAPSCRIPT output to GOS via transaction MIR4.

We have passed the below parameters as suggested in thread

ie  ITCPO-TDGETOTF = ' ' and ITCPO-TDNEWID = 'X'. and ITCPO-TDARMOD = '3'. to open_form FUNCTION MODULE.

Also we found an entry in table TOA01 for the respective document number.

Still attachment is not found in MIR4 -> SERVICES FOR OBJECT -> Attachment list

Kindly advise.

Thanks,

Vinodha.R

Hi All,

We find an issue while archiving the SAPSCRIPT output to GOS via transaction MIR4.

We have passed the below parameters as suggested in thread

ie  ITCPO-TDGETOTF = ' ' and ITCPO-TDNEWID = 'X'. and ITCPO-TDARMOD = '3'. to open_form FUNCTION MODULE.

Also we found an entry in table TOA01 for the respective document number.

Still attachment is not found in MIR4 -> SERVICES FOR OBJECT -> Attachment list

Kindly advise.

Thanks,

Vinodha.R

1 REPLY 1
Read only

Former Member
0 Likes
512

From what i know (ABAP aspect), you can pass archive data to SAPScript via:
1) OPEN_FORM     archive index and archive parameters
2) START_FORM     archive index

then, actual OTF data is recorded via:
3) WRITE_FORM
and OTF, if there is data recorded, can be stored via:
4) END_FORM
5) CLOSE_FORM

So considering:

> You may have missed passing the archive data to 1 or/and 2.
> You may have not called 3 so no data recorded at all