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

Re: Changing document title in SOST

Former Member
0 Likes
1,035

Hi ,

Does anyone can tell me how to change the document title in SOST transaction?

after running the report in SOST, in ALV output, the document title is displaying as "RSM13000 /20100617/022445".

The user doesnt wants the title in that way.

I checked the program, the data was coming from standard program.

Anybody have faced such problem? Pls share...

Rgs,

Priya

Hi ,

Does anyone can tell me how to change the document title in SOST transaction?

after running the report in SOST, in ALV output, the document title is displaying as "RSM13000 /20100617/022445".

The user doesnt wants the title in that way.

I checked the program, the data was coming from standard program.

Anybody have faced such problem? Pls share...

Rgs,

Priya

1 REPLY 1
Read only

Former Member
0 Likes
710

Hi,

If you are using function module 'SO_NEW_DOCUMENT_ATT_SEND_API1' and when you are passing

WA_DOC_CHNG-OBJ_DESCR = 'give description'.

DATA: WA_DOC_CHNG TYPE SODOCCHGI1.

      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
      EXPORTING
      DOCUMENT_DATA = WA_DOC_CHNG   " here
      PUT_IN_OUTBOX = 'X'
      COMMIT_WORK = 'X'
      TABLES
      PACKING_LIST = I_OBJPACK
      OBJECT_HEADER = WA_OBJHEAD
      CONTENTS_BIN = I_OBJBIN
      CONTENTS_TXT = I_OBJTXT
      RECEIVERS = I_RECLIST
      EXCEPTIONS
      TOO_MANY_RECEIVERS = 1
      DOCUMENT_NOT_SENT = 2
      DOCUMENT_TYPE_NOT_EXIST = 3
      OPERATION_NO_AUTHORIZATION = 4
      PARAMETER_ERROR = 5
      X_ERROR = 6
      ENQUEUE_ERROR = 7
      OTHERS = 8.

Hope this helps..

Cheers,

Dep