firoz ashraf's blog_ dms hr - enhancing gos lis

4
29/07/13 Firoz Ashraf's Blog: DMS HR - Enhancing GOS Lis... | SCN scn.sap.com/people/firoz.ashraf2/blog/2012/12/30/dms-hr-enhancing-gos-list-option-and-changing-the-title-of-the-attached-document-created-using-store… 1/4 Getting Started Newsletters Store Products Services & Support About SCN Downloads Industries Training & Education Partnership Developer Center Lines of Business University Alliances Events & Webinars Innovation Login Register Welcome, Guest Search the Community Activity Communications Actions Brow se Firoz Ashraf's Blog Tweet 0 After implementing SAP Notes 1560955 and 1451769 (in sequence) and doing the manual ABAP Activities as per the notes, we are able to see the file name and the fields of 'Creator Name' & 'Time created' gets populated with respective data. However, when we change the 'Title' of the attached file from transaction OAER the changes does not reflect in the GOS list. Files are created using Store Business Document (SBD) in GOS. Transaction PA30 --> Enter empoyee ID --> Click on the GOS Button --> Create --> Store business document. The list of all the attachments can be displayed via: Transaction PA30 --> Enter empoyee ID --> Click on the GOS Button --> Attachment List Screen shot of the list before implementing the SAP notes 1560955 and 1451769 DMS HR - Enhancing GOS List option and Changing the Title of the attached document created using Store Business Document (SBD) in GOS Posted by Firoz Ashraf in Firoz Ashraf's Blog on Dec 30, 2012 11:02:48 AM Share Share

Upload: jvcss21

Post on 30-Nov-2015

23 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Firoz Ashraf's Blog_ DMS HR - Enhancing GOS Lis

29/07/13 Firoz Ashraf's Blog: DMS HR - Enhancing GOS Lis... | SCN

scn.sap.com/people/firoz.ashraf2/blog/2012/12/30/dms-hr-enhancing-gos-list-option-and-changing-the-title-of-the-attached-document-created-using-store… 1/4

Getting Started Newsletters Store

Products Services & Support About SCN Downloads

Industries Training & Education Partnership Developer Center

Lines of Business University Alliances Events & Webinars Innovation

Login RegisterWelcome, Guest Search the Community

Activity Communications Actions

Brow se

Firoz Ashraf's Blog

Previous

post

Next

post

Tweet0

After implementing SAP Notes 1560955 and 1451769 (in sequence) and doing the manual ABAP Activities as per the

notes, we are able to see the file name and the fields of 'Creator Name' & 'Time created' gets populated with

respective data.

However, when we change the 'Title' of the attached file from transaction OAER the changes does not reflect in

the GOS list.

Files are created using Store Business Document (SBD) in GOS.

Transaction PA30 --> Enter empoyee ID --> Click on the GOS Button --> Create --> Store business document.

The list of all the attachments can be displayed via: Transaction PA30 --> Enter empoyee ID --> Click on the GOS

Button --> Attachment List

Screen shot of the list before implementing the SAP notes 1560955 and 1451769

DMS HR - Enhancing GOS List option and Changingthe Title of the attached document created usingStore Business Document (SBD) in GOS

Posted by Firoz Ashraf in Firoz Ashraf's Blog on Dec 30, 2012 11:02:48 AM

ShareShare

Page 2: Firoz Ashraf's Blog_ DMS HR - Enhancing GOS Lis

29/07/13 Firoz Ashraf's Blog: DMS HR - Enhancing GOS Lis... | SCN

scn.sap.com/people/firoz.ashraf2/blog/2012/12/30/dms-hr-enhancing-gos-list-option-and-changing-the-title-of-the-attached-document-created-using-store… 2/4

Screen shot of the list after implementing the SAP notes 1560955 and 1451769

ISSUE : We want to change the 'Title' of the attached doc. Although through transaction OAER we are able change the title but it does not reflects in the GOS list (in the screen

shot shown above, after the notes have been applied).

Suppose we want to change the title of the first attachment from "Book IMDM" to "SAP Press Book". We go to

transaction OAEM and do this

Page 3: Firoz Ashraf's Blog_ DMS HR - Enhancing GOS Lis

29/07/13 Firoz Ashraf's Blog: DMS HR - Enhancing GOS Lis... | SCN

scn.sap.com/people/firoz.ashraf2/blog/2012/12/30/dms-hr-enhancing-gos-list-option-and-changing-the-title-of-the-attached-document-created-using-store… 3/4

Even after we change the Title the GOS List does not displays this change.

SOLUTION: You need to create an implicit enhancement in standard SAP Program

LSDCLF08 at the end of routine phio_header_update

Once this enhancement is implemented and activated, go to transaction OAER and change the title. The change will

now show in GOS List.

Transaction PA30 --> Enter empoyee ID --> Click on the GOS Button --> Attachment List

01. ENHANCEMENT 1 Z_DMS_ARCHIVE_LINK_DESCRIPTION. "active version

02.

03. IF u_subrc = 0.

04. TRY.

05.

06. UPDATE TOAAT

07. SET DESCR = u_header-descript WHERE ARC_DOC_ID = U_HEADER-PROP08.

08.

09. CATCH cx_sy_dynamic_osql_error.

10.

11. MESSAGE 'ATG Error in update!' TYPE 'I'.

12.

13. ENDTRY.

14.

15. ENDIF.

16.

17.

18. ENDENHANCEMENT.

Page 4: Firoz Ashraf's Blog_ DMS HR - Enhancing GOS Lis

29/07/13 Firoz Ashraf's Blog: DMS HR - Enhancing GOS Lis... | SCN

scn.sap.com/people/firoz.ashraf2/blog/2012/12/30/dms-hr-enhancing-gos-list-option-and-changing-the-title-of-the-attached-document-created-using-store… 4/4

Follow SCNSite Index Contact Us SAP Help Portal

Privacy Terms of Use Legal Disclosure Copyright

Average User Rating

(1 rating)

Tweet0

Regards,

Firoz Ashraf.

252 View s Tags: dms, gos, sbd, gos_list, hr_attachment, pa30_attachment

ShareShare

There are no comments on this post

0 Comments