on 05-24-2015 4:38 PM
Hi experts,
I am looking for an API/FM to add an original to an existing DIR .
I am actually getting the file data in "binary" form
And I want to checkin this file to a storage category (using KPRO)
and then add it as an original to an existing DIR .
I have tried below :
1) Calling FM CV120_DOC_CHECKIN_FROM_TABLE
2) followed by CV115_DOC_SAVE_BUFFER
3) Finally , CV111_KPRO_SAVE
It is adding the file to the DIR But not checking in the file to the storage category .
Please suggest .
Thanks
Got it after lot of debugging . The sequence has to be as below :
1) Call FM CV120_KPRO_MASTER_CREATE to generate LOIO and PHIO id
2) Call Subroutine to do the checkin
PERFORM doc_checkin IN PROGRAM SAPLCVAPI01
3) Call the Save , CV111_DRAW_SAVE to update the DIR data in buffer
4) Finally call the CV111_KPRO_SAVE
And Done !! Hope it helps somebody else.
Best Regards,
Rini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.