cancel
Showing results for 
Search instead for 
Did you mean: 

Documents in SEM-BPS

Former Member
0 Kudos

Hello

I have read the How to papaper on mass upload of documents into BW and also the How to paper on docs in BPS and BW.

From these, I could not determine what function modules I would use if I were to write and retrieve documents to/from SEM-BPS. I would like to do this, as we are running BW 3.0b and SEM 3.1 and it is not possible toload office type documents to layouts. I am building a user interface to enable this and hence the need for the function modules.

Can anyone please point me in the right direction.

Thanks

Cameron

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Marc

I did this and it worked fine. Thanks for your help.

Cameron

Former Member
0 Kudos

Can you breifly explain how did you put this in One program??

Former Member
0 Kudos

Marc

I am trying to use the UPC_DOCUMENT_GET ( or trying to test it in transaction se37) and it keeps short dumping with a message type X. Do you know if it works ? I pass to it a planning area (multi area) and a doc id I get from the test run of UPC_DOCUMENT_LIST_GET. It doesn't work. Any ideas ?

Thanks

former_member93896
Active Contributor
0 Kudos

Hello Cameron,

you can not test these functions in SE37. The reason is that you must call UPC_DOCUMENT_LIST_GET first and then UPC_DOCUMENT_GET afterwards for each document. If you do it in SE37, the system looses the context from the first call, so you have to put both calls in one program.

Regards,

Marc

SAP NetWeaver RIG, US BI

former_member93896
Active Contributor
0 Kudos

Hello Cameron,

there are three function modules that will be helpful:

UPC_DOCUMENT_LIST_GET

UPC_DOCUMENT_GET

UPC_DOCUMENT_UPDATE

However, please be aware that these are low-level functions. For example there is no locking logic i.e. the function could potentially update a document that someone else is currently working on.

Regards,

Marc

SAP NetWeaver RIG, US BI

Former Member
0 Kudos

Marc

Thanks very much for this. It has been most helpful.

Cameron