Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function: ARCHIV_CREATE_DIALOG_META

Former Member
0 Likes
1,245

When this function is called, another dialog screen opens and wants the file name. I want to give file name as a paramter to function. And this function has a file parameter which's length is 70. But in dialog screen length is not 70. Why this is so?

3 REPLIES 3
Read only

Former Member
0 Likes
886

Can this difference be a bug?

Read only

0 Likes
886

hi,

here's an ex. to scan documents - i don't fill the par. file:

  CALL FUNCTION 'ARCHIV_CREATE_DIALOG_META'                   
       EXPORTING                                              
            archiv_id                = toaar-archiv_id        
            ar_object                = twfdb-ncitype          
*         DEL_DATE                 = ' '                      
*          NOTE                     = ' '                     
            object_id                = objid                  
            sap_object               = twfdb-object           
*         FILE                     = ' '                      
*         COMMIT_FLAG              = ' '                      
       IMPORTING                                              
            archiv                   =  archiv                
            archiv_doc_id            =  docid                 
            documentclass            =  class                 
       EXCEPTIONS                                             
            error_archiv             = 1                      
            error_communicationtable = 2                      
            error_connectiontable    = 3                      
            error_kernel             = 4                      
            error_parameter          = 5                      
            error_scanqueue          = 6                      
            OTHERS                   = 7.                    

Read only

0 Likes
886

Hey Andreas,

How do you pass the file's path? I want to pass file's path and I don't want to get dialog screen while this function is running. How do?