cancel
Showing results for 
Search instead for 
Did you mean: 

Document upload

former_member303755
Participant
0 Kudos

Hi,

I am new to cv01n.

My requirement is to upload following types of document in SAP

xlsx, doc, pptx, pdf, jpeg or scan copies.

Can you please guide me your provide some user manual for the same.

Regards,

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member204787
Contributor
0 Kudos

Hi Riser,

The problem in your selection options. Just am thinking you made configuration for WRD but while uploading documents selected  '  WWI ' . Check for T-code DC30 .

Regarding ABAP dumps , it wiill come based on your restriction done on DC10 . Can post with DC10 of DOC settings than I will help you in right way.

Regards,

chandu.

former_member303755
Participant
0 Kudos

Hi Chandu sir,

Please find the screen shot of DC10

former_member303755
Participant
0 Kudos

Hi expert,

I have not able to upload the file in cv01n. please refer the attached screen shot

Former Member
0 Kudos

Hi friend,

Below code will help you to upload .xlsx  file to your p

PARAMETERS : pa_file TYPE ibipparms-path.

DATA : it_raw TYPE truxs_t_text_data.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR pa_file.

* FM Getting F4 help

CALL FUNCTION 'F4_FILENAME'

EXPORTING

program_name = syst-cprog

dynpro_number = syst-dynnr

field_name = 'PA_FILE'

IMPORTING

file_name = pa_file.

*----------------------------------------------------------------------*

* START-OF-SELECTION *

*----------------------------------------------------------------------*

START-OF-SELECTION.

* Getting F4 TO copy XL file to Internal table

CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'

EXPORTING

* I_FIELD_SEPERATOR =

* I_LINE_HEADER =

i_tab_raw_data = it_raw

i_filename = pa_file

TABLES

i_tab_converted_data = git_table

EXCEPTIONS

conversion_failed = 1

OTHERS = 2.

IF sy-subrc <> 0.

* Implement suitable error handling here

ENDIF.

*Check if any records in Excel sheet

CHECK git_table IS NOT INITIAL.

**----------------------------------------------------------------------*

** END-OF-SELECTION *

**----------------------------------------------------------------------*

END-OF-SELECTION.

IF git_table IS NOT INITIAL.

     **you will get whole data from the xl file into git table.you can process the data here.

ENDIF.

Regards

Ashwin k v

Former Member
0 Kudos

Hi,

Go thru below link for step by step process with screenshots on CV01N, CV02N, CV03N,CV04N:

http://wiki.scn.sap.com/wiki/display/HOME/Document+Management+Systems

But before this, confirm that you have configured  your work station applications (e.g. ppt, xlsx,pdf) in tranx DC30. Its necessary for attaching the document to DIR.

Regards

Shishir