Você está na página 1de 3

The class CL_SA_DOC_FACTORY does not take the GUIID of the folders - would you be able to

help us with the parameters to use, to upload a doc, in a particular folder(process step) of a project.

What FM are you using to create the relationship between the e_loio-objid and the folderid ?
Use the FM "NOTE_OBJECT_SAVE" to map the docs to your node.

The FM 'SOLAR_APPL_SAVE_ITEMS' comes with an option to upload document at a particular tab,


but I am not sure with the data which I need to send to the FM in the actual_node parameter.
There are also times when the eobj->Save is returning me a status of '1'., i.e., Cancelled and hence
not returning me a value in E_LOIO. Not sure where I am going wrong, have you faced an issue like
this before.
Thanks a lot.
It's very useful to me.
To share my experience, summarize FM I used.
1> Upload the Documents
CALL METHOD cl_sa_doc_factory=>upload_doc
RECEIVING e_iobject
2> Save the Documents Object
CALL METHOD e_iobject->save
3> Map the Docs to node.
CALL FUNCTION 'NOTE_OBJECT_SAVE'
4> Save the Documents in Development tab of SOLAR01/02
CALL FUNCTION 'SOLAR_APPL_SAVE_ITEMS'
If you need previous data in Dev. tab, use following FM
CALL FUNCTION 'SOLAR_APPL_GET_ITEMS'

Goto solution manager system se38 -> SM_FILES_UPLOAD -> execution -> /KWCUST/ (folder)
upload mass document in the sap solution manager system
Then go to solar01 -> Business Blueprint > Find Document-> select Link to a Solution Manager
Document -> select responsible person -> assign link ( able to find the mass uploaded document)
->double click the required document -> document that is linked to the respective business process
or step in transaction SOLAR01
Yes, you can do this with the same program SM_FILES_UPLOAD,
But there are some steps you need to do
1. solar_project_admin -> project standard tab -> documentation types-> Make sure Test case (ATC)
is the allowed documentation type in your project, if else add from the project template.
2. while upload via SM_Files_Upload program use documentation attribute as "Test case( ATC)"
3. Now solar02, -> testcase tab -> use the "Test document" as test case type. and select your test case via "Link to
the solution document" this link your test case to the business process structure.

But you need to set the document title and other attributes for each attribute.
If this feels cumbersome, try via LSMW http://scn.sap.com/thread/3223133

Hi Jansi...thanks for the links.


Maybe my explanation wasn't very clear. That's my mistake.
I always probe my Systems using Test cases. The way that I make there are:
1. Test Case Type ==> "Manual Test Case"
2. Source ==> Logical system
3. Test Case ==> a "Z" object to write a label
4. Test Object ==> Transaction code
My problem is that I have aprox. 4000 manual test case to upload. I was asking that If it exist a Way
to upload from a structure this Manual Test Case. Not a document linked to these.

the one I shared for documents, not for test objects,


but can you try out using solar_project_Admin -> select your project -> fill business blue print ->
content upload

you need to create a structure file prior to content upload. I never done this, but you can try
Upload/Download project contents - Working with Projects - SAP Library
if this is not worked, I suppose there is no standard way to do , you may need custom program to
do.
Please check
Thanks
Jansi

RS_SOLAR_IMPORT_STRUCTURE_2
https://blogs.sap.com/2016/06/27/mass-uploading-of-test-cases-in-solution-manager/

https://archive.sap.com/discussions/message/4487743#4487743
https://archive.sap.com/discussions/thread/706915
https://archive.sap.com/discussions/message/4481785#4481785

Você também pode gostar