C Function - SSF_ABAP_SERVICE - Problem in return code.

Hi all,
We are actually executing a custom program with standard FM - CCARD_DEVELOPE which does a decryption of credit card number. This FM inturn calls another FM SSF_KRN_DEVELOPE which inturn calls C function SSF_ABAP_SERVICE.
It is working fine in Development server. But it is not working in quality.
Please find the C function below.
In Dev, for CRC(return code) we are getting '0'. So it is working fine. But in Quality, we are getting CRC ='9'. Because of this, decryption is not happening. Please let me know, what could be the problem, if it could be because of SAP authorization or any third party software to be installed for validation or anything else.
call C function 'SSFDEVELOPE'
CALL 'SSF_ABAP_SERVICE'
ID 'OPCODE' FIELD SSF_OPCODES-DEVELOPE
ID 'SECTOOLKIT' FIELD SSFTOOLKIT
ID 'STRFORMAT' FIELD STR_FORMAT
ID 'STRFORMATL' FIELD STR_FORMAT_L
ID 'BOUTDEC' FIELD B_OUTDEC
ID 'IOSPEC' FIELD IO_SPEC
ID 'OSTRENVELOPEDDATAL' FIELD OSTR_ENVELOPED_DATA_L
ID 'OSTROUTPUTDATAL' FIELD OSTR_OUTPUT_DATA_L
ID 'CRC' FIELD CRC
ID 'OSTRENVELOPEDDATA' FIELD OSTR_ENVELOPED_DATA-SYS
ID 'RECIPIENT' FIELD RCPTAB-SYS
ID 'OSTROUTPUTDATA' FIELD OSTR_OUTPUT_DATA-SYS

Hi Balaji!
It can't be something in the source code - that is the part which is identical in both systems (but please check your program version).
What's different is the surrounding. In theory it could be wrong master data ('credit card not found'), but this is unlikely for this function.
But you need also some connection settings - here something wasn't defined for quality system. Have a look in SM59 (and according, don't ask me for details), if connections settings are alright.
Regards,
Christian

Similar Messages

  • DB13 error -- Function DB6_PLAN_DELETE_BATCH failed with return code = Job

    hello All,
    when I try to delete or edit any DBA Job in transaction DB13 the following error is displayed:
    An error occurred when processing system
    Function DB6_PLAN_DELETE_BATCH failed with return code = Job error
    How can I fix this error and delete or change my DBA jobs?
    My syste is SAP ECC 6.0 SR3 - Solaris 10 - Oracle 10.2.0.4.0
    Thanks
    Hernando

    Hello Hernando,
    Let's see what this SAP Note says,
    Note 1093883 - ORACLE: Function module DB6_PLAN_ADD_BATCH fails
    Edit: However, 'valid release' makes confusion
    Regards
    Subbarao
    Edited by: subbarao chinta on Oct 8, 2009 9:00 PM

  • Function DB6_PLAN_STOP_BATCH_JOB failed with return code = Job error

    Hi team,
    I have issue with "SAP_COLLECTOR_FOR_PERFMONITOR" Job .it has been Finished but in Job Log I get error as below:
    Job started
    Step 001 started (program RSCOLL00, variant , user ID DDIC)
    Clean_Plan:Cleanup of DB13 Plannings
    Clean_Plan:started by RSDBPREV                       on server sapqas01
    Clean_Plan:Cleaning up jobs of system QAS
    Function DB6_PLAN_STOP_BATCH_JOB failed with return code = Job error
    Clean_Plan:terminated with error
    REASON=Job error
    Database system not supported
    Reorganization of the database started
    Reorganization of the database ended
    Job finished
    I have alredy reschedule this Job in 000 with DDIC User.
    Please help me ,
    Thanks
    Vijay

    Hello Vijay,
    The "Database system not supported" error you see, suggests that your TCOLL table is not setup correctly. You probably have a report scheduled in your TCOLL which is for a different DB then the one you run.
    If the collector canels all the time, then this is probably a report which is scheduled to run every hour in your TCOLL. If it only cancels sometimes, then it should be easier to identify which report is causing it in your TCOLL.
    The bottom line is to ensure your TCOLL is setup correctly and that you are not running DB reports there that are for a different DB than the one you use. The SAP note you follow to setup your TCOLL table depends on your SAP system version:
    12103 - Contents of the TCOLL table
    970449 - Contents of TCOLL table in SAP_BASIS 640
    966309 - Contents of table TCOLL in SAP_BASIS 700
    966631 - Contents of TCOLL table in SAP_BASIS 710
    Regards,
    Brendan

  • Function DB6_DIAG_VIEW_SOURCE failed with return code = Program source not

    Hi,
    This is the prompt that I get when I try to view the Call point in ABAP for a particular SQL ID in Transaction st04 -> SQL Statement Analysis -> Shared Cache.
    What does this Error signify ??
    Thanks & regards to all readers and posters.

    Hi,
    check SAP note 1309309 "Application Info" is missing. You probabyl need a new DBSL patch.
    btw. istn't it funny that on an ORACLE database a DB6_DIAG_VIEW_SOURCE function module is used... ?
    Kind regards,
    Hermann

  • DB13 return code = job error

    Dear All,
    WE are getting followin error while scheduling job in db13 tcode.
    Function DB6_PLAN_ADD_BATCH failed with return code = Job error
    ECC 6.0
    Oracle 10g

    You indicated that your database is Oracle 10G. This forum is for SAP on DB2 LUW as the database server. Please post your question on the appropriate forum.
    Regards,
    Adam Wilson
    SAP Development Support
    IBM Toronto Lab.

  • Mapping of Return code to Message class

    Hi all,
    My function module exports a return code in the variable l_ldaprc, there is a message class called ldaprc which has the text corresponding to the return code. Within my program i want to map this return code to the appropriate text in the message class so that i can display the text.
    Can someone help me with the syntax ?
    Awaiz

    Hi all,
      I was able to do the mapping using the following syntax.
    message id l_msgid type l_mtype number l_msgnum into l_rcmsg.
    where
    l_msgid type sy-msgid valus 'LDAPRC'
    l_msgnum mapped to l_ldaprc.
    Thank u all !

  • COMMIT failed in RSORAADM, object JOB, function CREATE, return code 4

    Dear Gurus,
    When I am trying to schedule a backup through DB13, I am getting an error as
    "COMMIT failed in RSORAADM, object JOB, function CREATE, return code 4"
    Can any body tell me what is the error about and how to resolve it.
    Thanks
    Best Regards
    Dilip

    hi Kaushal,
    Thanks for your reply.  Yes I could solve the issue as my Operation mode was inactive, I made it active and then could schedule the DB13 jobs. 
    Can you tell me what is the relationship between DB13 jobs scheduling and Operation mode.  Also note when I am scheduling DB13 jobs that time none of the background job is running ie my background wp is free. It is only after I activated day/night operation mode, I could schedule the backup.
    Thanks once again.  Your input was of great help to me.
    Best Regards
    Dilip

  • Problem with Connection to message server "DB-Connect Failed, Return Code "

    Hello,
    I have the problem that disp+work exe start but after one minute the precedure stopped.  The Messages in syslog are "Message server disconnected DB-Connect Failed, Return Code  008192. Can anybody help me?
    Best regards Mohamed

    trc file: "dev_w0", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ

    B Tue Oct 09 19:07:25 2007
    B  create_con (con_name=R/3)
    B  Loading DB library 'F:\usr\sap\BI7\DVEBMGS70\exe\dbmssslib.dll' ...
    B  Library 'F:\usr\sap\BI7\DVEBMGS70\exe\dbmssslib.dll' loaded
    B  Version of 'F:\usr\sap\BI7\DVEBMGS70\exe\dbmssslib.dll' is "700.08", patchlevel (0.72)
    B  New connection 0 created
    M sysno      70
    M sid        BI7
    M systemid   560 (PC with Windows NT)
    M relno      7000
    M patchlevel 0
    M patchno    80
    M intno      20050900
    M make:      multithreaded, ASCII, optimized
    M pid        7580
    M
    M  kernel runs with dp version 217(ext=109) (@(#) DPLIB-INT-VERSION-217)
    M  length of sys_adm_ext is 360 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 7580) [dpxxdisp.c   1301]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    M  DpShMCreate: sizeof(wp_adm)          11440     (880)
    M  DpShMCreate: sizeof(tm_adm)          3397704     (16904)
    M  DpShMCreate: sizeof(wp_ca_adm)          18000     (60)
    M  DpShMCreate: sizeof(appc_ca_adm)     6000     (60)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048
    M  DpShMCreate: sizeof(comm_adm)          528048     (1048)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm)          0     (72)
    M  DpShMCreate: sizeof(vmc_adm)          0     (1196)
    M  DpShMCreate: sizeof(wall_adm)          (22440/34344/56/100)
    M  DpShMCreate: sizeof(gw_adm)     48
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 06350040, size: 4024776)
    M  DpShMCreate: allocated sys_adm at 06350040
    M  DpShMCreate: allocated wp_adm at 063519F0
    M  DpShMCreate: allocated tm_adm_list at 063546A0
    M  DpShMCreate: allocated tm_adm at 063546D0
    M  DpShMCreate: allocated wp_ca_adm at 06691F18
    M  DpShMCreate: allocated appc_ca_adm at 06696568
    M  DpShMCreate: allocated comm_adm at 06697CD8
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 06718B88
    M  DpShMCreate: allocated gw_adm at 06718BC8
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 06718BF8
    M  DpShMCreate: allocated wall_adm at 06718C00
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation flat
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.
    M  ThInit: running on host ATTNWSRV

    M Tue Oct 09 19:07:26 2007
    M  calling db_connect ...
    C  Process 7580
    C  GetProfileParameter( wait_and_see ) returned [<null>]
    C  GetProfileParameter( deadlock_priority ) returned [<null>]
    C  GetProfileParameter( packet_size ) returned [8192]
    C  GetProfileParameter( rpc_batch ) returned [<null>]
    C  batched RPC will be used
    C  GetProfileParameter( dbsl_profile ) returned [1]
    C  dbsl profile written to dbsl_w0
    C  GetProfileParameter( pn_cache_size ) returned [20000]
    C  GetProfileParameter( par_stmt_cache_size ) returned [500]
    C  GetProfileParameter( dbcon_pn_size ) returned [<null>]
    C  GetProfileParameter( dbcon_par_stmt_cache_size ) returned [<null>]
    C  GetProfileParameter( stats_on ) returned [1]
    C  GetProfileParameter( network ) returned [<null>]
    C  GetProfileParameter( sp_prefix ) returned [<null>]
    C  GetProfileParameter( rdisp/TRACE ) returned [1]
    C  GetProfileParameter( set_rowcount ) returned [<null>]
    C  GetProfileParameter( set_fast1 ) returned [<null>]
    C  GetProfileParameter( use_integrated_security ) returned [<null>]
    C  GetProfileParameter( conn_str ) returned [<null>]
    C  GetProfileParameter( ignore_moduledrop ) returned [<null>]
    C  GetProfileParameter( use_cursor ) returned [<null>]
    C  GetProfileParameter( cursor_type ) returned [<null>]
    C  GetProfileParameter( fupd_cursor_type ) returned [<null>]
    C  GetProfileParameter( set_topn ) returned [<null>]
    C  GetProfileParameter( short_col_headers ) returned [<null>]
    C  GetProfileParameter( update_with_updlock ) returned [<null>]
    C  GetProfileParameter( maxincnt ) returned [<null>]
    C  GetProfileParameter( transmit_defaults ) returned [<null>]
    C  GetProfileParameter( square_brackets ) returned [<null>]
    C  GetProfileParameter( with_recompile ) returned [<null>]
    C  GetProfileParameter( max_duration ) returned [<null>]
    C  GetProfileParameter( irow_supported ) returned [<null>]
    C  GetProfileParameter( ins_block_increment ) returned [<null>]
    C  GetProfileParameter( max_ins_block_columns ) returned [<null>]
    C  GetProfileParameter( unc_rd_begin_tran ) returned [<null>]
    C  GetProfileParameter( use_rpc_call_string ) returned [<null>]
    C  GetProfileParameter( perm_stmt_reuse_cnt ) returned [<null>]
    C  GetProfileParameter( batch_stmt_reuse_cnt ) returned [<null>]
    C  GetProfileParameter( temp_stmt_reuse_cnt ) returned [<null>]
    C  GetProfileParameter( prepare ) returned [<null>]
    C  GetProfileParameter( par_stmt_prepare ) returned [<null>]
    C  GetProfileParameter( profile_with_timestamp ) returned [<null>]
    C  GetProfileParameter( no_utab_workaround ) returned [<null>]
    C  GetProfileParameter( use_block_fetch ) returned [<null>]
    C  GetProfileParameter( connect_retries ) returned [<null>]
    C  GetProfileParameter( connect_timeout ) returned [<null>]
    C  GetProfileParameter( use_system_locale ) returned [<null>]
    C  GetProfileParameter( ignore_stmtids ) returned [<null>]
    C  GetProfileParameter( recompile_par_stmts ) returned [0]
    C  GetProfileParameter( subst_params ) returned [<null>]
    C  GetProfileParameter( provider ) returned [<null>]
    C  GetProfileParameter( lob_rc ) returned [<null>]
    C  GetProfileParameter( buffer_cvarlobs ) returned [<null>]
    C  GetProfileParameter( allow_multipleconnections ) returned [<null>]
    C  GetProfileParameter( fupdorder ) returned [<null>]
    C  GetProfileParameter( no_vbdata_workaround ) returned [<null>]
    C  GetProfileParameter( use_mars ) returned [<null>]
    C  GetProfileParameter( as_c ) returned [<null>]
    C  GetProfileParameter( save_stmt_string ) returned [<null>]
    C  GetProfileParameter( server ) returned [ATTNWSRV]
    C  GetProfileParameter( user ) returned [<null>]
    C  GetProfileParameter( passwd ) returned [<null>]
    C  GetProfileParameter( dbname ) returned [BI7]
    C  GetProfileParameter( schema ) returned [dbo]
    C  Warning: Env(MSSQL_SCHEMA) [bi7] <> Prof(dbs/mss/schema) [dbo]. Profile value will be used.
    C  GetProfileParameter( auth/shadow_upgrade ) returned [<null>]
    C  GetProfileParameter( add_procs ) returned [<null>]
    C  Thread ID:7584
    C  Thank You for using the SLOLEDB-interface
    C  Using dynamic link library 'F:\usr\sap\BI7\DVEBMGS70\exe\dbmssslib.dll'
    C  dbmssslib.dll patch info
    C    patchlevel   0
    C    patchno      72
    C    patchcomment MSSQL: Thread check in DbSlDisconnect (969143)
    C  COMPUTERNAME: ATTNWSRV
    C  np:(local) connection used on ATTNWSRV
    C  CopyLocalParameters: dbuser is 'dbo'
    C  Formatted connect string : [Driver=SQL Server;Server=np:(local);Trusted_Connection=yes;WSID=ATTNWSRV;APP=R3D00(0)comm rd [MDAC] OLEDB]

    C Tue Oct 09 19:07:27 2007
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  OpenOledbConnection: MARS property was not set.
    C  Packet size is set to: 8192
    C  OpenOledbConnection: line 23391. hr: 0x8000ffff Login failed for user 'ATTNWSRV\SAPServiceBI7'.
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 18456, sev 0), Login failed for user 'ATTNWSRV\SAPServiceBI7'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  Packet size is set to: 8192
    C  OpenOledbConnection: line 23391. hr: 0x8000ffff Login failed for user 'ATTNWSRV\SAPServiceBI7'.
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 18456, sev 0), Login failed for user 'ATTNWSRV\SAPServiceBI7'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  Packet size is set to: 8192
    C  OpenOledbConnection: line 23391. hr: 0x8000ffff Login failed for user 'ATTNWSRV\SAPServiceBI7'.
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 18456, sev 0), Login failed for user 'ATTNWSRV\SAPServiceBI7'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  failed to establish conn to np:(local).
    C  Retrying without protocol specifier: (local)
    C  Formatted connect string : [Driver=SQL Server;Server=(local);Trusted_Connection=yes;WSID=ATTNWSRV;APP=R3D00(0)comm rd [MDAC] OLEDB]
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  Packet size is set to: 8192
    C  OpenOledbConnection: line 23391. hr: 0x8000ffff Login failed for user 'ATTNWSRV\SAPServiceBI7'.
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 18456, sev 0), Login failed for user 'ATTNWSRV\SAPServiceBI7'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  Packet size is set to: 8192
    C  OpenOledbConnection: line 23391. hr: 0x8000ffff Login failed for user 'ATTNWSRV\SAPServiceBI7'.
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 18456, sev 0), Login failed for user 'ATTNWSRV\SAPServiceBI7'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]

    C Tue Oct 09 19:07:28 2007
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  Packet size is set to: 8192
    C  OpenOledbConnection: line 23391. hr: 0x8000ffff Login failed for user 'ATTNWSRV\SAPServiceBI7'.
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 18456, sev 0), Login failed for user 'ATTNWSRV\SAPServiceBI7'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  failed to establish conn. 0
    B  ***LOG BY2=> sql error 0      performing CON [dbsh#2 @ 1204] [dbsh    1204 ]
    B  ***LOG BY0=> <message text not available> [dbsh#2 @ 1204] [dbsh    1204 ]
    B  ***LOG BY2=> sql error 0      performing CON [dblink#3 @ 431] [dblink  0431 ]
    B  ***LOG BY0=> <message text not available> [dblink#3 @ 431] [dblink  0431 ]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1411]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10169]

    M  Info for wp 0

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    vm = no VM

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server ATTNWSRV_BI7_70 on host ATTNWSRV (wp 0)
    M  *  ERROR       ThInit: db_connect
    M  *
    M  *  TIME        Tue Oct 09 19:07:28 2007
    M  *  RELEASE     700
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        10367
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   720]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  260]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 7580) [dpnttool.c   327]

  • Traport importing problem with repeating return code error 8

    Hi all,
    We are facing some transport import problem.When we sent transport initially AAA900244,they faced with return code error 8 and syntax error 109.As the information provided by the client,one of the include  program which is not availble at client system that was included in this transport.So that was the problem.Again we have taken  new  tranport AAA900247 without this include program then same type of error message they faced with return code error 8 and syntax error 109 in the include program when imported.
    I have one doubt, when importing new transport this should overwrite the earlier transport data.Why the same type error client is getting.What might be the reason.
    Is earlier transport  imported?? Why it throwing same type error.What actually the fuctionality of Return code 8 whether it is imported or discarded.
    Thanks in advance.
    Regards.....Balu

    Hi Ramesh,
    That include is not at all required at client system.So next time when we have taken transport we have not included this include program.They imported new transport without this include program.But they are facing same error as they faced first time. What could be reason??
    Regards...Balu

  • The problem with the return code of JOptionPane

    I debug the follow code, when I press button No, return code is 0, but OpenXLSFile(ResultXSLName); executed, why?
    the result is whether I press YES or NO, the if condition will be true
    how to compare the return code?
              int open = JOptionPane.showConfirmDialog(null, "Do you want Open the result File \"" + ResultXSLName + "\" ?", "Confirm", JOptionPane.YES_NO_OPTION);
              if (JOptionPane.YES_OPTION == open);
                   OpenXLSFile(ResultXSLName);
              }Edited by: Kevin.Tong on Feb 26, 2008 7:26 PM

    the result is whether I press YES or NO, the if condition will be truethis line will execute
    OpenXLSFile(ResultXSLName);regardless of the condition being true or false,
    because the if statement terminates at the semi-colon
    if (JOptionPane.YES_OPTION == open);<------------------

  • Regarding return code 8 while importing trnsport request

    hello friends,
    i have encountered a problem  while importing a transport request.
    in log display the message is like this
    ended with return code 8.
    there  is a syntax error in line no 5 of saplz_xxx_xxx program.
    include program lz_xx_xx not found.
    actually it is a function group, there is an include program at line no. 5.
    how to solve this problem.
    will it throw any error if the fg is stored in $tmp.
    the function group concerned is stored in a customized package.
    i hope to get a perfect answer.
    thank you.
    regards,
    karteek.katta

    Karteek,
    Your include program at line 5 is missing in the target system and hence the error.
    Just check the package of that include program and if it is not $tmp, check that this program is locked in which request ?
    Transport that request to your target system and thereafter re-import your original transport and it will be success.
    BR
    Diwakar

  • OCS Package ALL, tp step "6", return code 0012

    Hello everybody,
       i have been trying to upload the patch SAPKB70019, it generate the error
         The following details help you to analyze the problem:
          -   Error in phase: IMPORT_PROPER
          -   Reason for error: TP_STEP_FAILURE
          -   Return code: 0012
          -   Error message: OCS Package ALL, tp step "6", return code 0012
    After the error generate, i again try to upload the same, now it is continue executing in MAIN IMPORT from last 2 Hr.
    so please suggest me How to solve the same.
    I have check all the Logs but it not seem to error message.
    Thanks
    Ganesh

    Hello guys,  Hi Pravin
    I´m faccing with the same problem... I try to import the last level of SPAM but it stuck at more than one hour in phase Main Import.
    When I check the Slog file it show this:
    WARNING:
    SAPQASsapmnt     rans     mpSAPKKD70036.QAS is already in use (330), I'm waiting 3 sec (20091102172802). My name: pid 5544 on SAPQAS (APServiceQAS)
    STOP  imp all              QAS   7006 20091102172825              SAP_BASIS    SAPQAS 20091102171132     
    ERROR: RFC function TRINT_PROGRESS_INDICATOR returned 18
    START imp all              QAS        20091102173924              SAP_BASIS    SAPQAS 20091102173924     
    INFO: event SAP_IMPORT_START triggered successfully
    INFO  TBATG CONVERSION OF  QAS N      not needed                  SAP_BASIS    SAPQAS 20091102173924     
    START MOVE NAMETABS        QAS 6      20091102173925              SAP_BASIS    SAPQAS 20091102173924     
    START tp_getprots          QAS P      20091102173925              SAP_BASIS    SAPQAS 20091102173924     
    STOP  tp_getprots          QAS P      20091102173928              SAP_BASIS    SAPQAS 20091102173924     
    STOP  MOVE NAMETABS        QAS 6      20091102173928              SAP_BASIS    SAPQAS 20091102173924     
    START MAIN IMPORT          QAS I      20091102173928              SAP_BASIS    SAPQAS 20091102173924
    In past I already delete the SAPKKD70036. in directory and kill the TP process in Task manager (like it said in note 12746).
    And after that I restarted the importing of SPAM... and still show me the same error it stuck in that process it show in status bar the information "MAIN IMPORT"
    (By the way when I stopped the transaction I saw that this was in the phase IMPORT_PROPER !!)
    What I have to do for solve this error and finish this simple import... spam importe!... I don´t get it!!
    Help me please,
    Thank you
    João Dimas - Portugal

  • The import was stopped - return code 0013

    Dea all,
    I have a problem. I'm updating SPAM from level 7.00/0029 to level 7.00/0037.
    The following details help you to analyze the problem:
    The import was stopped, since an error occurred during the phase
    IMPORT_PROPER, which the Support Package Manager is unable to resolve
    without your input.
    After you have corrected the cause of the error, continue with the
    import by choosing Support Package -> Import queue from the initial
    screen of the Support Package Manager.
    The following details help you to analyze the problem:
        -   Error in phase: IMPORT_PROPER
        -   Reason for error: TP_STEP_FAILURE
        -   Return code: 0013
        -   Error message: OCS Package SAPKD70037, tp step "I", return code
            0013
    Please help me.
    thanks a lot.

    Yes I tried but it does not work.
    Main import
    Transport request   : SAPKD70037
    System              : GT6
    tp path             : tp
    Version and release: 372.04.78 700
    R3trans version 6.14 (release 700 - 10.02.10 - 13:32:00).
    unicode enabled version
    ===============================================
    date&time   : 26.02.2010 - 17:42:19
    control file: /usr/sap/trans/tmp/SAPKKD70037.GT6
    > #pid 7512 on ensv15wz (gt6adm)
    > import
    > buffersync=yes
    > file='/usr/sap/trans/data/RD70037.SAP'
    > continuation='/usr/sap/trans/data/RD70037_#.SAP'
    > client cascade yes
    > watchparallelprocesses yes
    >
    > excluding 'R3TRDDDD','R3TRDOMA','R3TRDTEL','R3TRENQU','R3TRMACO','R3TRMCID','R3TRMCOB','R3TRSHLP','R3TRSQLT','R3TRTABL','R3TRTTYP
    R3trans was called as follows: R3trans -w /usr/sap/trans/tmp/SAPID70037.GT6 /usr/sap/trans/tmp/SAPKKD70037.GT6
    Connected to DBMS = ORACLE     dbs_ora_tnsname = 'GT6'     SYSTEM = 'GT6'.
    0 0
      trace at level 1 opened for a given file pointer
    ================== STEP 1 =====================
    date&time        : 26.02.2010 - 17:42:19
    function         : IMPORT
    data file        : /usr/sap/trans/data/RD70037.SAP
    Continuation     : /usr/sap/trans/data/RD70037_#.SAP
    buffersync       : YES
    clients          : cascade
    repeatimport     : NO
    repeatclimport   : NO
    c.s.i.           : NO
    watchparallelprocesses: YES
    autorepeat       : -1 (automatic)
    l.s.m.           : VECTOR
    charsetadapt     : YES
    def. charset     : WEUROPEAN
    commit           : 100000
    table cache      : dynamic
    EXCLUDING        : 'R3TRVIEW','R3TRUENO','R3TRTTYP','R3TRTABL','R3TRSQLT','R3TRSHLP','R3TRMCOB','R3TRMCID','R3TRMACO','R3TRENQU','R
    clients which are protected against client cascade: 066
    client cascade to: 000, 001, 010, 065, 100, 200, 300, 900, 910
    Character set on this machine : 2 byte unicode little endian.
    Character set on the data file: 2 byte unicode big endian.
    Data file is compressed with algorithm 'L'.
    Export was executed on 17.11.2009 at 16:48:17 by k7badm
    700
      with R3trans version: 20.04.09 - 13:27:00
    Source System = Solaris on SPARCV9 CPU on DBMS = DB6     DB2DBDFT = 'K7B'     SYSTEM = 'K7B'.
    language vector during export: DE
    language vector during export: DE (ISO-DEEN)
    lsm during export: VECTOR
    trfunction = D (patch transport)
    switching to selective language import
    language 'F' is installed, but no entries for this language were exported ('DE')
    language 'I' is installed, but no entries for this language were exported ('DE')
    language 'S' is installed, but no entries for this language were exported ('DE')
    the following languages will be imported: DEFIS
    Used Commandfile SAPKD70037           (SAPUSER/623)
    Target client in E070C updated (   )
      0 entries for E070 imported (SAPKD70037).
      0 entries for E071 imported (SAPKD70037          *).
    Start import R3TRCLASCL_OCS_ENVIRONMENT ...
      1 entry for TADIR updated  (R3TRCLASCL_OCS_ENVIRONMENT                      ).
    STOP R3trans received signal 11 from operating system.
    Main import
    End date and time : 20100226174219
    Ended with return code:  ===> 13 <===

  • ECC 6 Upgrade Error : RETURN CODE in RSVBCHCK.DV2

    Dear all,
    We are doing an upgrade from 4.6c to ECC6.0, we have faced the below error (warnings) in the CHECKS.LOG file.
    A2EEMCEX 151 Entries for application "03" still exist in the extraction queue ->
      Long text:
        Cause
          You are not allowed to change the extract structure &V#& for
          application "03". This is because unprocessed entries are still present
          in an extraction queue of application "03" for at least one client.
          If an extraction structure is changed for which there are still open
          entries in an extraction queue, these entries can no longer be read and
          the collective update terminates.
        What to do
          Start the collective update using the "Job-Control" function in the
          <DS:TRAN.LBWE>Logistics Extract Structure Customizing Cockpit</>.
          You can get an overview of logistic extraction queues in the
          <DS:TRAN.LBWQ>Log. Queue Overview</>.
    A2EEMCEX 141 Struct. Appl. "03" cannot changed because restruct. -> Long text" ""MC03BF0SETUP""300"
      Long text:
        Cause
          Changing the extract structure &V#& for application "03" is not
          permitted, because the restructure table &V#& for the extractor still
          contains data in &V#&.
          You cannot change the structure in this status, because when you load
          an InfoPackage from BW, this leads to errors.
        What to do
          <DS:TRAN.LBWG>Delete</> the entries for all restructure tables for
          application "03".
    A2EEMCEX 141 Struct. Appl. "04" cannot changed because restruct. -> Long text" ""MC04P_0ARBSETUP""300"
      Long text: see above
    A2EEMCEX 141 Struct. Appl. "04" cannot changed because restruct. -> Long text" ""MC04P_0COMSETUP""300"
    Re: Upgrade Question: SMQ1 Queues and an Error during JOB_RSVBCHCK2 &
    CHECK OF UPDATE TASK Errors and RETURN CODE in RSVBCHCK.MX1
    Where in we they have advised to delete the structure in LBWG.
    Here we don't have a BW team, but if I delete that will it lose any data? or how do I tackle this problem
    Pl advise
    If I am write this is used by vertex
    Regards
    Senthil

    Those extract structures can be "rebuilt" using the transaction SBIW. They are needed if you initially fill the data into BI/BW or if you must re-load everything. It's safe to delete them.
    Markus

  • Error opening dataset, return code:        8

    Hi,
    I'm passing the information from a txt to a transparente table. The problem is that it throws me the following message: Error opening dataset, return code:        8  .
    When I debug it the first row of information enters to the internal table but after it this erro comes.
    The code is the following:
    DATA: BEGIN OF record,
    data element: TABNAME
            tablename_001(030),
    data element: DESCR40
            des_002(040),
    data element: TYKLA
            tipo_003(015),
    data element: QUANTITY_I
            quan_004(011),
    data element: PRICE
            precio_005(021),
    data element: TOT01
            total_006(017),
          END OF record.
    End generated data section ***
    DATA:
    BEGIN OF i_tabla OCCURS 0,
    dest(40),
    type(15),
    quan(10),
    precio(15),
    tot(15),
    END OF i_tabla.
    PARAMETERS:
    p_user LIKE apqi-userid OBLIGATORY DEFAULT  sy-uname,
    p_fich LIKE rlgrap-filename OBLIGATORY
    DEFAULT: 'C:\Documents and Settings\lseri\My Documents\Book1.txt'.
    START-OF-SELECTION.
      CALL FUNCTION 'UPLOAD'
       EXPORTING
      CODEPAGE                      = ' '
         filename                      = p_fich
         filetype                      = 'DAT'
        TABLES
          data_tab                      = i_tabla
       EXCEPTIONS
         conversion_error              = 1
         invalid_table_width           = 2
         invalid_type                  = 3
         no_batch                      = 4
         unknown_error                 = 5
         gui_refuse_filetransfer       = 6
         OTHERS                        = 7
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      PERFORM open_dataset USING dataset.
      PERFORM open_group.
      LOOP AT i_tabla FROM 2.
    PERFORM bdc_dynpro      USING 'SAPLSETB' '0230'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'DATABROWSE-TABLENAME'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=ANLE'.
        PERFORM bdc_field       USING 'DATABROWSE-TABLENAME'
                                      record-tablename_001.
        PERFORM bdc_dynpro      USING '/1BCDWB/DBZSTOCK_TEST' '0101'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'ZSTOCK_TEST-TOTAL'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=SAVE'.
        PERFORM bdc_field       USING 'ZSTOCK_TEST-DES'
                                      record-des_002.
        PERFORM bdc_field       USING 'ZSTOCK_TEST-TIPO'
                                      record-tipo_003.
        PERFORM bdc_field       USING 'ZSTOCK_TEST-QUAN'
                                      record-quan_004.
        PERFORM bdc_field       USING 'ZSTOCK_TEST-PRECIO'
                                      record-precio_005.
        PERFORM bdc_field       USING 'ZSTOCK_TEST-TOTAL'
                                      record-total_006.
        PERFORM bdc_dynpro      USING '/1BCDWB/DBZSTOCK_TEST' '0101'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/EBACK'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'ZSTOCK_TEST-DES'.
        PERFORM bdc_dynpro      USING 'SAPLSETB' '0230'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/EBACK'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'DATABROWSE-TABLENAME'.
        PERFORM bdc_transaction USING 'SE16'.
      ENDLOOP.
      PERFORM close_group.
      PERFORM close_dataset USING dataset.
    Please help me!
    Thanks

      open dataset                                                       *
    FORM OPEN_DATASET USING P_DATASET.
      OPEN DATASET P_DATASET
                   FOR INPUT IN TEXT MODE
                   ENCODING DEFAULT.
      IF SY-SUBRC <> 0.
        WRITE: / TEXT-E00, SY-SUBRC.
        STOP.
      ENDIF.
    ENDFORM.
      create batchinput session                                          *
      (not for call transaction using...)                                *
    FORM OPEN_GROUP.
      IF SESSION = 'X'.
        SKIP.
        WRITE: /(20) 'Create group'(I01), GROUP.
        SKIP.
      open batchinput group
        CALL FUNCTION 'BDC_OPEN_GROUP'
             EXPORTING  CLIENT   = SY-MANDT
                        GROUP    = GROUP
                        USER     = USER
                        KEEP     = KEEP
                        HOLDDATE = HOLDDATE.
        WRITE: /(30) 'BDC_OPEN_GROUP'(I02),
                (12) 'returncode:'(I05),
                     SY-SUBRC.
      ENDIF.
    ENDFORM.
    I'm using these performs because they appeared automatically when the recording became a program.

Maybe you are looking for

  • Is there an app to allow users to enter their name on a shared iPad to track who used it?

    We have a pool of iPad 2 devices running iOS 7.0.4 used in a business environment. This pool of shared iPads is distributed and shared between multiple users. I would like better accountability of each iPad as they are being taken/used by employees.

  • Epson Color 777 wants OS 9--- I upgraded to Tiger

    I upgraded my G4 with Tiger software. I had to use the erase hard drive method because of some corrupt files. Now, I want to use my Epson Color 777 printer on this computer. I have the original installation CD. It wouldn't install because it wanted t

  • Re: Can't open a Pages file with Pages

    Cannot open my old version for Pages's files.. How should I do? It show as this..

  • Photo Stream keeps turning off in Aperture

    I have Aperture 3.2 and have enabled Photo Stream, several times.  It syncs all of my photos with my iPhone 4 and imports the new ones in a project.  I close Aperture and reopen it several days later, go to the Photo Stream library and Photo Stream i

  • PC-Cam Center for webcam

    Het i got a a creative webcam and i recently found it but i couldnt find the applications i got the drivers online but i cannot find the applications for it online is there anywhere i can get them?