ABAP code error.

Dear Experts,
In the below abap code i am facing the problem of goods returns and other issues.
becoz of that my code add the qty & value of that invoices.
please give me suggestion.
Please go through the bold area.
SELECT-OPTIONS : s_spart FOR vbrk-spart,
                 s_kunag FOR vbrk-kunag,
                s_fkdat FOR vbrk-fkdat OBLIGATORY.
*--end of selection--
SELECT vbrk~spart
       vbrk~vbeln
       vbrk~kunag
       vbrk~kurrf
       vbrk~netwr
       vbrk~fkdat
       vbrp~mwsbp
       vbrp~fkimg
       vbak~auart
  INTO CORRESPONDING FIELDS OF TABLE i_vbrk
  FROM vbrk
  INNER JOIN vbrp
  ON vbrpvbeln = vbrkvbeln
  INNER JOIN vbak
  on vbakvbeln = vbrpaubel
  WHERE vbrk~spart IN s_spart
  AND   vbrk~kunag IN s_kunag
  AND   vbrk~fkdat IN s_fkdat
  AND VBRK~VBTYP IN ('M','O','P')
  AND   vbrk~vkorg  = 'JS01'
  AND   vbrk~fksto  NE 'X'
  AND   vbrk~rfbsk  = 'C'.
SELECT  knkk~kunnr
        knkk~klimk
        kna1~name1
  INTO CORRESPONDING FIELDS OF TABLE i_knkk
  FROM knkk
  INNER JOIN kna1
  ON knkkkunnr = kna1kunnr
  WHERE kna1~kunnr IN s_kunag.
LOOP AT i_vbrk.
  IF i_vbrk-auart = 'ZJCR' OR i_vbrk-auart = 'ZJDR' OR i_vbrk-auart = 'ZJC1'.
    CLEAR i_vbrk-fkimg.
    clear i_vbrk-vlinr.
    ENDIF.
  IF i_vbrk-mwsbp <> 0.
    i_vbrk-netwr = i_vbrk-netwr + i_vbrk-mwsbp.
  ENDIF.
  IF i_vbrk-kurrf <> 1.
    *i_vbrk-vlinr = i_vbrk-netwr * i_vbrk-kurrf.*
  ELSE.
    i_vbrk-vlinr = i_vbrk-netwr.
  ENDIF.
IF i_vbrk-auart = 'ZJRE'
   OR i_vbrk-auart = 'ZJCR'
   OR i_vbrk-auart = 'ZJC1'
   OR i_vbrk-auart = 'ADTC'
   OR i_vbrk-auart = 'ZJR1'
   OR i_vbrk-auart = 'ZJKR'
   OR i_vbrk-auart = 'ZJBR'.
     it_main-netwr = it_main-netwr * -1.*
      *i_vbrk-vlinr = i_vbrk-vlinr * -1.*
      *i_vbrk-fkimg = i_vbrk-fkimg * -1.*
      ENDIF.
  CLEAR :i_vbrk-mwsbp, i_vbrk-netwr, i_vbrk-kurrf." i_vbrk-fkimg.
  MODIFY i_vbrk. "INDEX V_INDEX.
ENDLOOP.
LOOP AT i_vbrk.
MOVE I_VBRK-KUNAG TO I_FINAL-KUNNR.
MOVE I_VBRK-FKDAT TO I_FINAL-FKDAT.
MOVE I_VBRK-FKIMG TO I_FINAL-FKIMG.
    clear i_vbrk-auart.
  IF i_vbrk-fkdat+4(02) = '01'.
   i_KNKK-month = 'JAN'.
    i_vbrk-janq = i_vbrk-fkimg.
    i_vbrk-jana = i_vbrk-vlinr / 100000.
  ENDIF.
  IF i_vbrk-fkdat+4(02) = '02'.
   i_KNKK-month = 'FEB'.
    i_vbrk-febq = i_vbrk-fkimg.
    i_vbrk-feba = i_vbrk-vlinr / 100000.
  ENDIF.
  IF i_vbrk-fkdat+4(02) = '03'.
   i_KNKK-month = 'MAR'.
    i_vbrk-marq = i_vbrk-fkimg.
    i_vbrk-mara = i_vbrk-vlinr / 100000.
  ENDIF.
  IF i_vbrk-fkdat+4(02) = '04'.
   i_KNKK-month = 'APR'.
    i_vbrk-aprq = i_vbrk-fkimg.
    i_vbrk-apra = i_vbrk-vlinr / 100000.
  ENDIF.
  IF i_vbrk-fkdat+4(02) = '05'.
   i_KNKK-month = 'MAY'.
    i_vbrk-mayq = i_vbrk-fkimg.
    i_vbrk-maya = i_vbrk-vlinr / 100000.
  ENDIF.
  IF i_vbrk-fkdat+4(02) = '06'.
   i_KNKK-month = 'JUN'.
    i_vbrk-junq = i_vbrk-fkimg.
    i_vbrk-juna = i_vbrk-vlinr / 100000.
  ENDIF.
  IF i_vbrk-fkdat+4(02) = '07'.
   i_KNKK-month = 'JUL'.
    i_vbrk-julq = i_vbrk-fkimg.
    i_vbrk-jula = i_vbrk-vlinr / 100000.
  ENDIF.
  IF i_vbrk-fkdat+4(02) = '08'.
   i_KNKK-month = 'AUG'.
    i_vbrk-augq = i_vbrk-fkimg.
    i_vbrk-auga = i_vbrk-vlinr / 100000.
  ENDIF.
  IF i_vbrk-fkdat+4(02) = '09'.
   i_KNKK-month = 'SEP'.
    i_vbrk-sepq = i_vbrk-fkimg.
    i_vbrk-sepa = i_vbrk-vlinr / 100000.
  ENDIF.
  IF i_vbrk-fkdat+4(02) = '10'.
   i_KNKK-month = 'OCT'.
    i_vbrk-octq = i_vbrk-fkimg.
    i_vbrk-octa = i_vbrk-vlinr / 100000.
  ENDIF.
  IF i_vbrk-fkdat+4(02) = '11'.
   i_KNKK-month = 'NOV'.
    i_vbrk-novq = i_vbrk-fkimg.
    i_vbrk-nova = i_vbrk-vlinr / 100000.
  ENDIF.
  IF i_vbrk-fkdat+4(02) = '12'.
   i_KNKK-month = 'DEC'.
    i_vbrk-decq = i_vbrk-fkimg.
    i_vbrk-deca = i_vbrk-vlinr / 100000.
  ENDIF.
MODIFY i_KNKK.
  MODIFY i_vbrk. "INDEX V_INDEX.
ENDLOOP.
CLEAR : i_VBRK-FKDAT, i_vbrk-vbeln.
DATA : ii_vbrk LIKE i_vbrk OCCURS 0 WITH HEADER LINE.
LOOP AT i_VBRK.
  CLEAR : i_VBRK-FKDAT, i_vbrk-vbeln,i_vbrk-auart.
  COLLECT i_vbrk INTO ii_vbrk.
MODIFY i_VBRK.
ENDLOOP.
*LOOP AT i_knkk.
IF i_final-kunag =  knkk-kunnr.
   APPEND i_final.
ENDIF.
*ENDLOOP.
DATA : V(3) TYPE C.
CLEAR v_index.
LOOP AT ii_vbrk.
v_index = sy-TABIX.
READ TABLE i_knkk WITH  KEY kunnr = ii_vbrk-kunag.
IF SY-SUBRC = 0.
    MOVE i_knkk-klimk TO ii_vbrk-klimk.
    MOVE i_knkk-name1 TO ii_vbrk-name1.
   MOVE I_KNKK-MONTH TO II_VBRK-MONTH.
  MODIFY ii_vbrk INDEX v_index.
ENDIF.
ENDLOOP.
LOOP AT ii_vbrk.
  ii_vbrk-klimk = ii_vbrk-klimk / 100000.
  II_VBRK-VLINR = II_VBRK-jana + II_VBRK-feba + II_VBRK-mara + II_VBRK-apra + II_VBRK-maya + II_VBRK-juna + II_VBRK-jula + II_VBRK-auga + II_VBRK-sepa + II_VBRK-octa + II_VBRK-nova + II_VBRK-deca.
  PEAK_QTY = II_VBRK-JANQ.
  PEAK_AMT = II_VBRK-JANA.
  PEAK_MONTH = 'JAN'.
  IF PEAK_AMT LT II_VBRK-FEBA.
     PEAK_QTY = II_VBRK-FEBQ.
     PEAK_AMT = II_VBRK-FEBA.
     PEAK_MONTH = 'FEB'.
     ENDIF.
     IF PEAK_AMT LT II_VBRK-MARA.
     PEAK_QTY = II_VBRK-MARQ.
     PEAK_AMT = II_VBRK-MARA.
     PEAK_MONTH = 'MAR'.
     ENDIF.
     IF PEAK_AMT LT II_VBRK-APRA.
     PEAK_QTY = II_VBRK-APRQ.
     PEAK_AMT = II_VBRK-APRA.
     PEAK_MONTH = 'APR'.
     ENDIF.
     IF PEAK_AMT LT II_VBRK-MAYA.
     PEAK_QTY = II_VBRK-MAYQ.
     PEAK_AMT = II_VBRK-MAYA.
     PEAK_MONTH = 'MAY'.
     ENDIF.
     IF PEAK_AMT LT II_VBRK-JUNA.
     PEAK_QTY = II_VBRK-JUNQ.
     PEAK_AMT = II_VBRK-JUNA.
     PEAK_MONTH = 'JUN'.
     ENDIF.
     IF PEAK_AMT LT II_VBRK-JULA.
     PEAK_QTY = II_VBRK-JULQ.
     PEAK_AMT = II_VBRK-JULA.
     PEAK_MONTH = 'JUL'.
     ENDIF.
     IF PEAK_AMT LT II_VBRK-AUGA.
     PEAK_QTY = II_VBRK-AUGQ.
     PEAK_AMT = II_VBRK-AUGA.
     PEAK_MONTH = 'AUG'.
     ENDIF.
     IF PEAK_AMT LT II_VBRK-SEPA.
     PEAK_QTY = II_VBRK-SEPQ.
     PEAK_AMT = II_VBRK-SEPA.
     PEAK_MONTH = 'SEP'.
     ENDIF.
     IF PEAK_AMT LT II_VBRK-OCTA.
     PEAK_QTY = II_VBRK-OCTQ.
     PEAK_AMT = II_VBRK-OCTA.
     PEAK_MONTH = 'OCT'.
     ENDIF.
     IF PEAK_AMT LT II_VBRK-NOVA.
     PEAK_QTY = II_VBRK-NOVQ.
     PEAK_AMT = II_VBRK-NOVA.
     PEAK_MONTH = 'NOV'.
     ENDIF.
     IF PEAK_AMT LT II_VBRK-DECA.
     PEAK_QTY = II_VBRK-DECQ.
     PEAK_AMT = II_VBRK-DECA.
     PEAK_MONTH = 'DEC'.
     ENDIF.
    II_VBRK-VLINR = II_VBRK-jana + II_VBRK-feba + II_VBRK-mara + II_VBRK-apra + II_VBRK-maya + II_VBRK-juna + II_VBRK-jula + II_VBRK-auga + II_VBRK-sepa + II_VBRK-octa + II_VBRK-nova + II_VBRK-deca.
     II_VBRK-FKIMG = PEAK_QTY.
     II_VBRK-peaka = PEAK_AMT.
     II_VBRK-MONTH = PEAK_MONTH.
     MODIFY II_VBRK.
  ENDLOOP.
SORT ii_vbrk BY SPART.
Thanks
DSRAJPUT

Hi,
could you please try to format your coding nicely (see Markup Possibilities). There is also a possibility to attach files.
BR,
Tomislav

Similar Messages

  • My First Abap Code Error

    Hi Experts,
    I have installed SAP Mini Basis in my computer and I am learning ABAP. As such, I am new to ABAP. I did my first Hello Program in it and it gave an error. I did not change the code in any aspect, but it gave an error. I simply copied it. I can understand that there is some error on statement CALL SCREEN 100. I do not know how to correct it.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The Hello Program is given below:
    REPORT  ZKAN.
    Selection Screen
    PARAMETERS input(12) TYPE c DEFAULT 'Hello World!'.
    Dynpro
    CALL SCREEN 100.
    List
    SKIP TO LINE 10.
    POSITION 40.
    WRITE input.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The error is given below.
    ABAP runtime errors         DYNPRO_NOT_FOUND                   
           Occurred on     17.07.2010 at 20:09:43                                                                               
    Screen does not exist                                                               
    What happened?     
    The current ABAP/4 program "ZKAN " had to be terminated because                     
    one of the statements could not be executed.                                                                               
    This is probably due to an error in the ABAP/4 program.                                                                               
    The program had to be terminated.                                                   
    What can you do?     
    Note the actions and input that caused the error.                                                                               
    Inform your SAP system administrator.                                                                               
    You can print out this message by choosing "Print". Transaction ST22                
    allows you to display and manage termination messages, including keeping            
    them beyond their normal deletion date.                                            
    You can print this message by choosing "Print".                                     
    Transaction ST22 allows you to display and manage short dumps. It                   
    is especially useful if you want to keep a particular message.                      
    Error analysis     
    Program "ZKAN" tried to use screen 0100.                                            
    The screen does not exist.                                                                               
    How to correct the error     
    If the error is in one of your own ABAP programs or an SAP program that             
    you have modified, try to correct it.                                                                               
    If the error occurred in a non-modified SAP program, you may be                     
    able to find a solution in the SAP note system.                                     
    If you have access to the note system yourself, use the following                   
    search criteria:                                                                         
    "DYNPRO_NOT_FOUND"                                                                      
    "ZKAN " or "ZKAN "                                                                 
    "START-OF-SELECTION"                                                               
    "START-OF-SELECTION"                                                               
    If you cannot solve the problem yourself, please send the                           
    following documents to SAP:                                                                               
    1. A hard copy print describing the problem.                                        
       To obtain this, select the "Print" function on the current screen.               
    2. A suitable hardcopy prinout of the system log.                                   
       To obtain this, call the system log with Transaction SM21                        
       and select the "Print" function to print out the relevant                        
       part.                                                                               
    3. If the programs are your own programs or modified SAP programs,                  
       supply the source code.                                                          
       To do this, you can either use the "PRINT" command in the editor or              
       print the programs using the report RSINCL00.                                                                               
    4. Details regarding the conditions under which the error occurred                  
       or which actions and input led to the error.                                     
    System environment     
    SAP Release.............. "46D"                                                                               
    Application server....... "ganesh"                                                  
    Network address.......... "10.10.0.10"                                              
    Operating system......... "Windows NT"                                              
    Release.................. "5.1"                                                     
    Hardware type............ "Intel 80686 (Mo"                                                                               
    Database server.......... "ganesh"                                                  
    Database type............ "MSSQL"                                                   
    Database name............ "MBS"                                                     
    Database owner........... " "                                                                               
    Character set............ "English_United State"                                                                               
    SAP kernel............... "46D"                                                     
    Created on............... "Oct 22 2000 19:55:29"                                    
    Created in............... "NT 4.0 1381 Service Pack 5 x86 MS VC++ 12.00"            
    Database version......... "SQL_Server_7.00 "                                                                               
    Patch level.............. "242"                                                     
    Patch text............... " "                                                                               
    Supported environment....                                                           
    Database................. "MSSQL 6.5.213 or higher, MSSQL 7.0.1 or higher"          
    SAP database version..... "46D"                                                     
    Operating system......... "Windows NT 4.0, Windows NT 5.0, Windows NT 5.1, ,        
    System build information:,                                                , LCHN :           
    330950"                                                                               
    User, transaction...     
    Client.............. 000                                                            
    User................ "BCUSER"                                                       
    Language key........ "E"                                                            
    Transaction......... "SE38 "                                                        
    Program............. "ZKAN "                                                        
    Screen.............. " "                                                            
    Screen line......... 0                                                                               
    Information on where termination occurred     
    The termination occurred in the ABAP/4 program "ZKAN " in                           
    "START-OF-SELECTION".                                                               
    The main program was "ZKAN ".                                                                               
    The termination occurred in line 10                                                 
    of the source code of program "ZKAN " (when calling the editor 100).          
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Thanks in advance,
    With kind regards,
    Shreeem.
    Edited by: Shreeem on Jul 18, 2010 5:22 AM

    Hi Shreem
    as you said that you are new to ABAP.
    in your code you have written.
    The Hello Program is given below: REPORT ZKAN. * Selection Screen PARAMETERS input(12) TYPE c DEFAULT 'Hello World!'. * Dynpro CALL SCREEN 100. * List SKIP TO LINE 10. POSITION 40. WRITE input.
    PARAMETERS statement creates a screen with input field to enter some values by user.
    you are setting the default values for your parameter as 'Hello World'.
    after that you have called a screen 100.
    and you are getting the error becasue before calling the screen you need to create a screen through SE51 and assign a number to your screen.
    and while calling mention that screen number in your program.
    suppose you have created a screen with number 200, then
    write.   call screen 200.
    here in your code
    the program is not able tofind the screen hence it is giving you that error.
    before posting your question please read SCN rules and go through the topic deeply.
    learning about the screens is not so easy. So start with simple programs
    Thanks
    Lalit Gupta

  • ABAP Code Error on Query

    Hi
    I am trying to get the material document number added to an existing report and I have used the followingcode:
    * Get the material document number
    Clear Z_MAT_DOC_NO.
    Select  VBELN FROM VBFA
    WHERE VBELV = LIKP-VBELN
    AND  VBTYP_N = 'R'.
    However I get the error "Field list without INTO clause is not allowed. not allowed. allowed."
    Can you tell me what I need to change on my code
    thanks
    Joe

    Joe,
    add SINGLE and INTO
    CLEAR Z_MAT_DOC_NO.
    SELECT SINGLE
           VBELN
      FROM VBFA
      INTO Z_MAT_DOC_NO
    WHERE VBELV = LIKP-VBELN
       AND VBTYP_N = 'R'.

  • ABAP runtime error while executing T.code : PC00_M40_CALC

    Hi,
    I have applied SAP note 1568264 - Budget Changes 2011 as released by
    SAP and i also applied the pre-requiste SAP notes mentioned in the
    above SAP note
    1) SAP Note 1558475- Amendments to IT calculation notified under
    circular:08/2010.
    2) SAP Note 1572614- Tax calculations inconsistent for emp. without a
    vaild PAN.
    3) SAP Note 1575366- HINCALC0:Tax calculation inconsistent in case of
    invalid PAN.
    After applying the SAP notes, when i am trying to execute the T.Code :
    PC00_M40_CALC, i am getting an "Abap runtime error"
    "  Error in the ABAP Application Program
    The current ABAP program "????????????????????????????????????????" had to be
      terminated because it has
    come across a statement that unfortunately cannot be executed.
    The following syntax error occurred in program "HINCALC0 " in include "PCTAXIN0
      " in
    line 905:
    ""ENDUZ-" expected, not "EDU_""
    The include has been created and last changed by:
    Created by: "SAP "
    Last changed by: "S2K_BASIS "
    Error in the ABAP Application Program
    The current ABAP program "????????????????????????????????????????" had to be
      terminated because it has
    come across a statement that unfortunately cannot be executed.   "
    Kindly suggest me what has to be done on priority basis.
    Regards
    Vish

    The dump error is generally encountered if your system is at a lower Support Pack level. For implementing Note 1568264 (Budget Changes 2011), you need to be at the below mentioned pre-requisite level corresponding to your Release:
    Prerequisites:
       Release     Support Package
         604         HRSP29
         600         HRSP63
         500         HRSP80
         470         HRSPB4
         46C         HRSPG9
    The correct sequence to implement the Notes is:
    SAP Note 1558475- Amendments to IT calculation notified under
    circular:08/2010.
    SAP Note 1572614- Tax calculations inconsistent for emp. without a
    vaild PAN.
    SAP Note 1575366- HINCALC0:Tax calculation inconsistent in case of
    invalid PAN.
    SAP Note 1568264- Budget Changes 2011
    This should solve the issue unless there is some problem while implementing the Notes.
    Regards,
    Nishtha

  • Error in ABAP code whield efining structures

    Hello,
    I am getting following error when I run ABAP code.
    Tables: ZROLE_OWNER, ZROLEMAP, AGR_1251, AGR_USERS.
    DATA: BEGIN OF I_ROLE occurs 0,
          ROLE LIKE ZROLE_OWNER-ROLE,
          END OF I_ROLE.
    DATA: BEGIN OF I_RATT occurs 0,
          ROLENAME LIKE AGR_1251-AGR_NAME,
          OBJECT LIKE AGR_1251-OBJECT,
          FIELD LIKE AGR_1251-FIELD,
          LOW LIKE AGR_1251-LOW,
          HIGH LIKE AGR_1251-HIGH,
          END OF I_RATT.
    DATA: WA_RATT LIKE I_RATT occurs 0.
    SELECT ROLE from ZROLE_OWNER into table I_ROLE
                where SFLAG = ''.
    LOOP AT I_ROLE.
    *This will append all the values for above condition in WA-RATT.
    SELECT AGR_NAME OBJECT FIELD LOW HIGH FROM AGR_1251
                 INTO TABLE WA_RATT
                 WHERE AGR_NAME = I_ROLE-ROLE.
    APPEND WA_RATT TO I_RATT.
    ENDLOOP.
    I am getting error that WA_RATT cannot be converted to line type I_RATT.

    hi,
    Tables: ZROLE_OWNER, ZROLEMAP, AGR_1251, AGR_USERS.
    DATA: BEGIN OF I_ROLE occurs 0,
    ROLE LIKE ZROLE_OWNER-ROLE,
    END OF I_ROLE.
    DATA: BEGIN OF I_RATT occurs 0,
    ROLENAME LIKE AGR_1251-AGR_NAME,
    OBJECT LIKE AGR_1251-OBJECT,
    FIELD LIKE AGR_1251-FIELD,
    LOW LIKE AGR_1251-LOW,
    HIGH LIKE AGR_1251-HIGH,
    END OF I_RATT.
    DATA: WA_RATT LIKE line of I_RATT .
    SELECT ROLE from ZROLE_OWNER into table I_ROLE
    where SFLAG = ''.
    LOOP AT I_ROLE.
    *This will append all the values for above condition in WA-RATT.
    SELECT AGR_NAME OBJECT FIELD LOW HIGH FROM AGR_1251
    INTO WA_RATT
       up to 1 rows
    WHERE AGR_NAME = I_ROLE-ROLE.
    endselect.
    APPEND WA_RATT TO I_RATT.
    ENDLOOP.
    Thanks,
    Rajinikanth.

  • Error in ABAP code generation?

    Hi,
    I am using OWB 10.1 to generate ABAP code for SAP-Data-Extraction. For extracting date values there are two APAB lines which (want to) produce one line in the result SQLLDR-Script. ABAP will accept only around 73 characters per line and this is the reason for the two lines.
    But ABAP does not accept a line break inside a string and thus this code runs into an ABAP-error.
    This all seems to be standard - has anyone a solution?
    generated ABAP-lines:
    Line1: TRANSFER ',ERDAT_DATUM_AN_DEM_DER_SATZ_HI DATE ''yyyymmdd'' NULLIF
    Line2: ERDAT_DATUM_AN_DEM_DER_SATZ_HI=''00000000''' TO DATAFILENAME.
    many thanks

    Hello Jean-Pierre,
    many thanks for your answer. Not the expected solution but it works. Another solution we found is to put an ampersand behind the first line, which tells ABAP that this is a line break. But also here manually work is necessary and also changing generated code.
    Cheers
    Stefan

  • LKM SAP BW to Oracle (SQLLDR) generates sintax error in ABAP code.

    Hi Experts,
    We are installing a SAP BW KM's in ODI 11g.
    Actually, we are able to make reverse ingeneering succesfully.
    Now we want to use the LKM in order to extract SAP data.
    The KM fails, in step Generate ABAP Code. The code is uploaded to SAP system but with sintaxis errors.
    That's the beginning of the SAPAbapExecuteOpenTool_8001_7001.log.
    +##################################################+
    +############ Open Tool Logger ####################+
    +##################################################+
    +############ Upload value: 1+
    +############ Execute value: 1+
    +############ BASE RKM FLAG: 0+
    +############ ZRFC_RUN_INSTALL: 1+
    +############ Abap Function Name: ZODI_8001_7001+
    +############ Sap Host Name: XXXXXXXX+
    +############ Sap User Name: XXXX+
    +############ Sap password: ********+
    +############ Sap Client: 100+
    +############ Sap language: ES+
    +############ Sap system no: 00+
    +############ Sap Connection Pool Name: SAP_ODI_LKM_POOL_GLOBAL+
    +############ Sap Connection Pool Size: 10+
    +############ Sap Function group name: ZODIBW_LKM_FGRP+
    +############ File Delimiter:+
    +############ File Name: ZODI_8001_7001.txt+
    +############ FTP Host: XXXXXXXXX+
    +############ FTP User: ftpbi+
    +############ FTP Password: ********+
    +############ FTP Passive Mode: 1+
    +############ FTP Transfer Time out: 100000+
    +############ User abap parameter names: IV_DELIMITER,CHAR1;IV_FILENAME,CHAR255;IV_USER,CHAR35;IV_PWD,CHAR35;IV_HOST,CHAR35;IV_HASHVALUE,CHAR35;IV_PATH,CHAR35;IV_REQUID_L,RSSID;IV_REQUID_H,RSSID+
    +############ Abap rfc table parameters: RETURN,BAPIRETURN;ET_FILE_RETURN,BAPIRET2+
    +############ Log File Name: /tmp/SAPAbapExecuteOpenTool_8001_7001.log+
    +############ OpenHub Path: /tmp/+
    +############ Delta Extraction First Request ID : 0+
    +############ Delta Extraction Last Request ID : 0+
    +############ SAP Development Class : ZODIBW_PCKG+
    +############ Max Row Count :+
    +############ Fetch Batch Size :+
    +############ Hash Value Marker: HVM+
    +############ Generated Program:+
    *** ODS DSO extraction
    TYPES: BEGIN OF ty_final,
    +/BIC/AZOFI_UTE00_/BIC/ZFI_SOCOR+
    TYPE
    +/BIC/AZOFI_UTE00-/BIC/ZFI_SOCOR,+
    +/BIC/AZOFI_UTE00_SOURSYSTEM+
    TYPE
    +/BIC/AZOFI_UTE00-SOURSYSTEM,+
    END OF ty_final.
    In the SAP GUI shows a sintaxis error.
    Functions Module ZODI_8001_7001. line 25
    The name "/BIC/AZOFI_UTE00_/BIC/ZFI_SOCOR" is longer that allowed.
    +30 characters.+
    Really the TYPE "/BIC/AZOFI_UTE00_/BIC/ZFI_SOCOR" has 31 characters.
    The sufix "/BIC/" is the "NAMESPACE", a SAP grouping concept.
    AZOFI_UTE00 is a table name.
    ZFI_SOCOR is a column name.
    Are this sufix correct in the APAP code?
    Has anyone had that problem?
    Any comment will be wellcome.
    Thank's in advance.

    Hi Somchai,
    r U able to resolve ur issue ..........i'm also struck there at the same point.
    I am using shared folder for file transfer and my error message is
    java.lang.RuntimeException: Error occured in open tool execute method...Error in executing ABAP program...Error in executing ABAP program...Error occurred when creating dataset\\<hostname>\bi-interface$\ZODI_11001_12001_GLOBAL.txt
    Thanks.
    Edited by: Drona on Mar 26, 2012 7:25 AM

  • Error in determining Paper Format for Printout triggering from ABAP Code

    Hi Experts,
    I am trying to trigger a printout from my ABAP code using "NEW-PAGE PRINT ON ...... NEW-PAGE PRINT OFF" statement.
    I am passing the Print Parameters using the FM "GET_PRINT_PARAMETERS" as below:
        CALL FUNCTION 'GET_PRINT_PARAMETERS'
          EXPORTING
            destination    = ls_options-tddest
            copies         = 1
            list_name      = 'Notification'
            list_text      = 'ERROR NOTIFICATION'
            immediately    = 'X'
            release        = 'X'
            new_list_id    = ' '
    *        expiration     =
            line_size      = 79
            line_count     = 23
            layout         = 'X_65_80'
            sap_cover_page = ' '
            receiver       = 'SAP*'
            department     = 'System'
            no_dialog      = 'X'
          IMPORTING
            out_parameters = lv_params.
    But I am facing a problem. Though I am passing X_65_80 to the LAYOUT in the Function Module, it is trying to print in LETTER format. But the specified printer as the printer supports only A4 paper format and as a result, I am not getting any printout.
    Kindly help me with your suggestions to resolve this.
    Thanks in advance.
    Regards,
    Keerthi

    Hi,
    I just found that this problem is even stranger.
    I am able to print the said message on my local printer but when I try to print the same message on a different printer located at a different location, the printout does not get triggered. I am not getting any error messages also in this case.
    What could be the possible reason for this?
    Kindly share your views/experience with me on this one.
    Thank you.
    Regards,
    Keerthi

  • Error in the ABAP code

    Hello all,
    I am getting error in ABAP code .
    The error is:Field "0" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement.
    I have statement as calmonth = sy-datum + 0(6).
    Any ideas are always welcome
    Thanks,
    JB

    Thanks every body.
    eliminating blanks worked.
    AS I am new to ABAP,I have one more error saying
    Unable to interpret "IT_YEAR". Possible causes of error: Incorrect spelling or comma error.The error occured at the staement:
    <b>read it_year with key /BIC/LESS = calmonth+0(4) binary search.</b>
    IT_YEAR is an internal table
    data: it_year like /BIC/PZ_JB occurs 0 with header line.
    Any ideas!!
    JB

  • ABAP Runtime ERROR Error Code & Syntax Error in program SAPLSFES

    Hi,
    I am installing SAP XI 3.0 and as part of that I have installed the ABAP and Java WAS. I am applying SPs for the ABAP stack and I successfully applied the BASIS SPs 10 and 11(applied seperately). I was applying the SPs 12 and 13(together) and after running for some time the system crashed and I restarted the O/S and SAP to see that the SPs didn't go thru. Now when I try to log on using SAP GUI, it says "<b>ABAP Runtime ERROR Error Code</b>" which is blank and at the Bottom there is this message "<b>Syntax Error in program SAPLSFES</b>".
    Pls any one help me ,
    Kind Regards,
    Gopi.

    Hi Gopi,
       If u r applying patches, the system would be running a background job SAPLSTPA. Hence you willnot be able to login till the job is complete.
      You can check the job completion in the Windows MMC console.
    Rgds
    Ganesh

  • ABAP Runtime Error     Error Code.......

    Hi ,
    I sheduled the<b> ABAP & BASIS patch in background</b>, but after some time I tried to login in system through gui..its showing..<b>ABAP Runtime Error        Error Code</b>..its not allowing me to login in sap system in gui mode...
    pls any one help me resolve this problem.
    Kind Regards,
    Gopinath

    Answere is right here friends
    Hi All,
    I was applying support package SAPKB0014 in ECC6 on AS/400 operating system , I too had faced similar problem "syntax error in program SAPLSAPS on clicking that the error on status bar it recomplie again and then same error" unable to login through SAP logon.
    I checked from operating system level I found that the Job is still running in background so I waited more than 10400 sec than automatically I was able to login I reconfirmed it in SM37.
    so dont panic just wait till Job is completed.
    Caution!! Meanwhile do not do anything that might effect the running job do not cancel or shutdown or restart process. It will work !!
    Hope you read this before doing anything
    Thanks
    Surojeet Dey

  • How find the ABAP code with Error message

    Hi
    How to  find the ABAP Code for Error Message?
    Example:
    Error Message: ZF026.
    Regards
    Odaiah Pelley
    Edited by: Odaiah Pelley on Aug 22, 2008 4:21 AM

    Hi
    Excellent Answer, I appreciate it.
    My question is with Error Message ZF026.
    How to find ABAP Code ?
    If I go for SE91 I will get same message as if I am getting error message.It is no use.
    Regards
    Odaiah Pelleyu

  • Error in the ABAP Code for Customer Exit Variable

    Could you please update me what is the wrong with the below ABAP Code developed for Customer Exit Variable in BW
    i created a Variable (ZVWKNO) of Customer Exit,Single Value ,Mandatory and Variable is ready for input
    In CMOD i had written the below Code:
    When 'ZVWKNO'.
    DATA: WEEK(2) TYPE N,
    WEEKNO(2) TYPE N.
    IF i_step = 1.
    l_st_date = SY-DATUM.
    CALL FUNCTION 'DATE_GET_WEEK'
    EXPORTING
    DATE = l_st_date
    IMPORTING
    WEEK = l_fn_week.
    CHECK sy-subrc = 0.
    WEEK = l_fn_week+4(2).
    If WEEK 0.
    WEEKNO = WEEK - 1.
    l_s_range-low = WEEKNO.
    l_s_range-sign = k_sign_inclusive.
    l_s_range-opt = k_option_equals.
    APPEND l_s_range to e_t_range.
    ENDIF.
    ENDIF.
    But when i execute the query the default value is not populated with Week-1 No in the variable screen
    Please update me what went wrong
    Thanks

    Case ZVWKNO.                "write this with out comments
    When '1'.              "write the value that needs to equal with value in varaible ZVWKNO after when in sungle quotes
    DATA: WEEK(2) TYPE N,
    WEEKNO(2) TYPE N.
    IF i_step = 1.
    l_st_date = SY-DATUM.
    CALL FUNCTION 'DATE_GET_WEEK'
    EXPORTING
    DATE = l_st_date
    IMPORTING
    WEEK = l_fn_week.
    CHECK sy-subrc = 0.
    WEEK = l_fn_week+4(2).
    If WEEK 0.                                    "check this Week Minimum is '01' and Maximum '52'
    WEEKNO = WEEK - 1.
    l_s_range-low = WEEKNO.
    l_s_range-sign = k_sign_inclusive.
    l_s_range-opt = k_option_equals.
    APPEND l_s_range to e_t_range.
    ENDIF.
    ENDIF.
    Prabhudas

  • Routine (ABAP Code)  in Transformation error

    Hi Experts
    Please correct the ABAP CODE written as Field routine in Transformations
    Requirment
    If  ZB_AMT = '0.00'
    then result should be '0.00'
    If  ZB_AMT <> '0.00' and
    SOURCE_FIELDS-/BIC/ZB_TPE1 = 'AMOUNT'
    the result should be
    CONCATENATE '$' SOURCE_FIELDS-/BIC/ZB_AMT INTO RESULT.
    If  ZB_AMT <> '0.00' and
    SOURCE_FIELDS-/BIC/ZB_TPE1 = 'PERCENTAGE'
    the result should be
    CONCATENATE  SOURCE_FIELDS-/BIC/ZB_AMT  '%' INTO RESULT.
    The code below is not working as it should please update me where i went wrong
    Source Fields
    SOURCE_FIELDS-/BIC/ZB_AMT (CHAR)
    SOURCE_FIELDS-/BIC/ZB_TPE1 (CHAR)
    CODE
    IF SOURCE_FIELDS-/BIC/ZB_AMT = '0.00'.
          RESULT = '0.00'.
        ELSE.
          IF SOURCE_FIELDS-/BIC/ZB_TPE1 = 'AMOUNT' AND
             SOURCE_FIELDS-/BIC/ZB_AMT <> '0.00'.
            CONCATENATE '$' SOURCE_FIELDS-/BIC/ZBON_AMT INTO RESULT.
            IF SOURCE_FIELDS-/BIC/ZB_TPE1 = 'PERCENTAGE' AND
               SOURCE_FIELDS-/BIC/ZB_AMT <> '0.00'.
              CONCATENATE SOURCE_FIELDS-/BIC/ZB_AMT '%' INTO RESULT.
            ENDIF.
          ENDIF.
        ENDIF.

    Your logic will not work, if your first check on amount is 0.00 fails, the other checks fail as well. I am not sure of the requirement but..try this..
    IF SOURCE_FIELDS-/BIC/ZB_TPE1 = 'AMOUNT' AND SOURCE_FIELDS-/BIC/ZB_AMT = '0.00'.
    CONCATENATE '$' SOURCE_FIELDS-/BIC/ZBON_AMT INTO RESULT.
    ELSEIF SOURCE_FIELDS-/BIC/ZB_TPE1 = 'PERCENTAGE' AND SOURCE_FIELDS-/BIC/ZB_AMT = '0.00'.
    CONCATENATE SOURCE_FIELDS-/BIC/ZB_AMT '%' INTO RESULT.
    ELSEIF SOURCE_FIELDS-/BIC/ZB_AMT = '0.00'.
      RESULT = '0.00'.
    ELSE.
    Do nothing or throw any message
    ENDIF.

  • ABAP Runtime Error while executing planning folder

    Hi experts.
    We have a situation where I can access our planning folders but that's not the case for one of our user. She encountered with an ABAP Runtime Error as follow:
    Appreciate if anyone can help me out with this.
    Runtime Error          RAISE_EXCEPTION
    Date and Time          20.04.2007 16:50:23
    ShrtText
    Exception condition "X_MESSAGE" raised.
    What happened?
    The current ABAP/4 program encountered an unexpected
    situation.
    What can you do?
    Print out the error message (using the "Print" function)
    and make a note of the actions and input that caused the
    error.
    To resolve the problem, contact your SAP system administrator.
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer
    termination messages, especially those beyond their normal deletion
    date.
    is especially useful if you want to keep a particular message.
    Error analysis
    A RAISE statement in the program "SAPLRSSBR" raised the exception
    condition "X_MESSAGE".
    Since the exception was not intercepted by a superior program
    in the hierarchy, processing was terminated.
    Short description of exception condition:
    Cancel
    For detailed documentation of the exception condition, use
    Transaction SE37 (Function Library). You can take the called
    function module from the display of active calls.
    How to correct the error
    You may able to find an interim solution to the problem
    in the SAP note system. If you have access to the note system yourself,
    use the following search criteria:
    "RAISE_EXCEPTION" C
    "SAPLRSSBR" or "LRSSBRU03"
    "RSSB_AUTHORITY_IOBJVL_CHECK"
    or
    "SAPLRSSBR" "X_MESSAGE"
    or
    "UPB_PM_CUST_START " "X_MESSAGE"
    If you cannot solve the problem yourself and you wish to send
    an error message to SAP, include the following documents:
    1. A printout of the problem description (short dump)
    To obtain this, select in the current display "System->List->
    Save->Local File (unconverted)".
    2. A suitable printout of the system log
    To obtain this, call the system log through transaction SM21.
    Limit the time interval to 10 minutes before and 5 minutes
    after the short dump. In the display, then select the function
    "System->List->Save->Local File (unconverted)".
    3. If the programs are your own programs or modified SAP programs,
    supply the source code.
    To do this, select the Editor function "Further Utilities->
    Upload/Download->Download".
    4. Details regarding the conditions under which the error occurred
    or which actions and input led to the error.
    System environment
    SAP Release.............. "640"
    Application server....... "S53KJ165"
    Network address.......... "10.1.53.165"
    Operating system......... "AIX"
    Release.................. "5.3"
    Hardware type............ "00C3A11F4C00"
    Character length......... 8 Bits
    Pointer length........... 64 Bits
    Work process number...... 3
    Short dump setting....... "full"
    Database server.......... "S53KJ170"
    Database type............ "ORACLE"
    Database name............ "BWP"
    Database owner........... "SAPBWP"
    Character set............ "en_US.ISO8859-1"
    SAP kernel............... "640"
    Created on............... "Oct 29 2006 20:42:11"
    Created in............... "AIX 1 5 00538A4A4C00"
    Database version......... "OCI_920 "
    Patch level.............. "155"
    Patch text............... " "
    Supported environment....
    Database................. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE
    10.2.0.."
    SAP database version..... "640"
    Operating system......... "AIX 1 5, AIX 2 5, AIX 3 5"
    Memory usage.............
    Roll..................... 16128
    EM....................... 16759712
    Heap..................... 0
    Page..................... 57344
    MM Used.................. 10079624
    MM Free.................. 2487240
    SAP Release.............. "640"
    User and Transaction
    Client.............. 350
    User................ "S51643"
    Language key........ "E"
    Transaction......... "UPSPL "
    Program............. "SAPLRSSBR"
    Screen.............. "SAPLUPB_PM_ALV 1000"
    Screen line......... 2
    Information on where terminated
    The termination occurred in the ABAP program "SAPLRSSBR" in
    "RSSB_AUTHORITY_IOBJVL_CHECK".
    The main program was "UPB_PM_CUST_START ".
    The termination occurred in line 416 of the source code of the (Include)
    program "LRSSBRU03"
    of the source code of program "LRSSBRU03" (when calling the editor 4160).
    Source Code Extract
    Line
    SourceCde
    386
    l_s_range-low  = l_activity.
    387
    APPEND l_s_range TO l_sx_auth_check_detail-range.
    388
    INSERT l_sx_auth_check_detail INTO TABLE <l_sx_auth_check>-auth_check_detail.
    389
    390
    CALL FUNCTION 'RSSB_AUTHORITY_IOBJVL_REDUCED'
    391
    EXPORTING
    392
    i_infocube              = g_sx_iobjvl_check-infocube
    393
    i_uname                 = l_uname
    394
    i_th_hierarchy          = g_sx_iobjvl_check-hierarchy
    395
    i_message               = i_message
    396
    i_activity_force_check  = i_activity_force_check
    397
    CHANGING
    398
    c_tsx_auth_check_detail = <l_sx_auth_check>-auth_check_detail
    399
    c_tx_no_auth            = l_tx_no_auth
    400
    c_ts_auth_tlevel        = e_ts_auth_tlevel
    401
    EXCEPTIONS
    402
    user_not_authorized     = 1
    403
    auth_check_failure      = 2
    404
    auth_check_error        = 3
    405
    inherited_error         = 4
    406
    x_message               = 5.
    407
    IF sy-subrc = 0.
    408
    REFRESH l_tx_no_auth.
    409
      CR 20050826 HW873685 SP29 Part 2/3 begin
    410
      SY-SUBRC = 2 means Auth-Obj missing in users profiles, we need this later
    411
    ELSEIF sy-subrc = 2.
    412
    ao_missing = rs_c_true.
    413
    e_subrc = 2.
    414
      CR 20050826 HW873685 SP29 Part 2/3 end
    415
    ELSEIF sy-subrc = 5.
    >>>>>
    RAISE x_message.
    417
    ELSE.
    418
    e_subrc = 2.
    419
    ENDIF.
    420
    421
      correct the kid now
    422
    LOOP AT l_tx_no_auth INTO l_sx_no_auth.
    423
    l_sx_no_auth-kid = <l_sx_auth_check>-kid.
    424
    APPEND l_sx_no_auth TO  e_tx_no_auth.
    425
    ENDLOOP.
    426
    427
    ENDLOOP.
    428
    429
    End LOOP: Check all SUBNR (FEMS)
    430
    431
    432
    CR 20050826 HW873685 SP29 Part 3/3 begin
    433
    If an Auth-Obj. is missing, no SUBNR can be authorized. Due to OLAP-logic
    434
    this means empty no_auth table
    435
    IF ao_missing = rs_c_true.
    Contents of system fields
    Name
    Val.
    SY-SUBRC
    5
    SY-INDEX
    1
    SY-TABIX
    0
    SY-DBCNT
    0
    SY-FDPOS
    1
    SY-LSIND
    0
    SY-PAGNO
    0
    SY-LINNO
    1
    SY-COLNO
    1
    SY-PFKEY
    210
    SY-UCOMM
    SELECT
    SY-TITLE
    Execute All Cost Element
    SY-MSGTY
    E
    SY-MSGID
    R7
    SY-MSGNO
    057
    SY-MSGV1
    0CO_AREA
    SY-MSGV2
    A
    SY-MSGV3
    SY-MSGV4
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
    Name
    40 FUNCTION     SAPLRSSBR                           LRSSBRU03                             416
    RSSB_AUTHORITY_IOBJVL_CHECK
    39 FORM         SAPLRSDRC                           LRSDRCF15                             113
    AUTHORITY_CHECK
    38 FORM         SAPLRSDRC                           LRSDRCF27                              57
    BASIC_QUERY_DATA_GET_ROLAP
    37 FUNCTION     SAPLRSDRC                           LRSDRCU05                              44
    RSDRC_BASIC_QUERY_DATA_GET
    36 FUNCTION     SAPLRSDRC                           LRSDRCU15                             189
    RSDRC_BASIC_CUBE_DATA_GET
    35 FORM         SAPLRSDRC                           LRSDRCF25                             373
    DATA_GET
    34 FUNCTION     SAPLRSDRC                           LRSDRCU02                             249
    RSDRC_CUBE_DATA_GET
    33 FUNCTION     SAPLRSDRI                           LRSDRIU01                             352
    RSDRI_INFOPROV_READ
    32 FORM         /1SEM/UPCBW_350TMWPA01              UPC_BWINTERFC__FIX                    174
    DATA_READ
    31 FUNCTION     SAPLUPCBW                           LUPCBWU06                              56
    UPC_BW_DATA_READ
    30 FUNCTION     SAPLUPC1                            LUPC1U06                               67
    UPC_DATA_READ
    29 METHOD       /1SEM/CL_DATA_350TMWPA01======CP    UPC_DATA_READ_DB                       25
    /1SEM/CL_DATA_350TMWPA01=>IF_SEM_DATA_INTERNAL~READ_DB
    28 METHOD       /1SEM/CL_BUFFER_350TMWPA01====CP    UPC_BUFFER_GET                        167
    /1SEM/CL_BUFFER_350TMWPA01=>IF_SEM_BUFFER~GET
    27 METHOD       /1SEM/CL_BUFFER_350TMWPA01====CP    UPC_BUFFER_READ                         5
    /1SEM/CL_BUFFER_350TMWPA01=>IF_SEM_BUFFER~READ
    26 METHOD       /1SEM/CL_DATA_350TMWPA01======CP    UPC_DATA_READ                          46
    /1SEM/CL_DATA_350TMWPA01=>IF_SEM_DATA~READ
    25 FORM         45AJEHYBGH37F61DTX80Q9ZFP           UPP_PLAN                              395
    READ_TRANSACTION_DATA
    24 FORM         45AJEHYBGH37F61DTX80Q9ZFP           UPP_PLAN                              561
    GET_DATA
    23 FORM         45AJEHYBGH37F61DTX80Q9ZFP           UPP_PLAN                              800
    EC500_SELECT_DATABASE
    22 FORM         SAPLUPP_PP_KERNEL                   LUPP_PP_KERNELF97                     575
    SELECT_DATABASE
    21 FORM         SAPLUPP_PP_KERNEL                   LUPP_PP_KERNELF97                     464
    SELECT_AND_FIND_HEADER_COMBI
    20 FORM         SAPLUPP_PP_KERNEL                   LUPP_PP_KERNELF97                     217
    LOGICAL_SCREEN_FILL_HEADER
    19 FORM         SAPLUPP_PP_KERNEL                   LUPP_PP_KERNELF97                      60
    LOGICAL_SCREEN_FILL
    18 FUNCTION     SAPLUPP_PP_KERNEL                   LUPP_PP_KERNELU01                     114
    UPP_PP_KERNEL_CONSTRUCTOR
    17 METHOD       CL_UPB_PL_ALV=================CP    CL_UPB_PL_ALV=================CM01E   176
    CL_UPB_PL_ALV=>CONSTRUCTOR
    16 FORM         SAPLUPB_PM_ALV                      LUPB_PM_ALVF01                        623
    OUTPUT_CREATE
    15 FORM         SAPLUPB_PM_ALV                      LUPB_PM_ALVF01                        202
    OUTPUT_INIT
    14 FORM         SAPLUPB_PM_ALV                      LUPB_PM_ALVF01                       1062
    OUTPUT_PROCESS
    13 FORM         SAPLUPB_PM_ALV                      LUPB_PM_ALVF01                       1225
    OUTPUT_SWITCH_TO_LAYOUT
    12 FORM         SAPLUPB_PM_ALV                      LUPB_PM_ALVF05                        748
    INIT_CONTROLS
    11 MODULE (PBO) SAPLUPB_PM_ALV                      LUPB_PM_ALVO01                         13
    STATUS
    10 FUNCTION     SAPLUPB_PM_ALV                      LUPB_PM_ALVU01                         24
    UPB_PM_ALV_START
    9 METHOD       CL_UPB_PM_APPLC===============CP    CL_UPB_PM_APPLC===============CM00A    88
    CL_UPB_PM_APPLC=>EXECUTE_PM
    8 METHOD       CL_UPB_PM_ADMIN===============CP    CL_UPB_PM_ADMIN===============CM00L    76
    CL_UPB_PM_ADMIN=>PAI_ONE_NODE
    7 METHOD       CL_UPB_PM_ADMIN===============CP    CL_UPB_PM_ADMIN===============CM00L    23
    CL_UPB_PM_ADMIN=>PAI_ONE_NODE
    6 METHOD       CL_UPB_PM_ADMIN===============CP    CL_UPB_PM_ADMIN===============CM003   121
    CL_UPB_PM_ADMIN=>PAI
    5 FORM         SAPLUPB_PM                          LUPB_PMF04                             80
    USER_COMMAND_0210
    4 MODULE (PAI) SAPLUPB_PM                          LUPB_PMI04                             11
    USER_COMMAND_0210
    3 FUNCTION     SAPLUPB_PM                          LUPB_PMU22                             86
    UPB_PM_MAIN
    2 FORM         UPB_PM_CUST_START                   UPB_PM_START_ADMIN                    251
    PM_START
    1 EVENT        UPB_PM_CUST_START                   UPB_PM_START_ADMIN                     14
    START-OF-SELECTION
    Chosen variables
    Name
    Val.
    No.      40 Ty.          FUNCTION
    Name  RSSB_AUTHORITY_IOBJVL_CHECK
    I_ACTIVITY
    03
    33
    03
    I_ACTIVITY_FORCE_CHECK
    2
    0
    I_MESSAGE
    X
    5
    8
    I_SX_IOBJVL_CHECK
    ZCTMWMA05                                                                                ####
    5454544332222222222222222222222222222222222222222222222222222222222222222222222222222222220000
    A34D7D1050000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    I_UNAME
    S51643
    533333222222
    351643000000
    E_SUBRC
    0
    0000
    0000
    E_TS_AUTH_TLEVEL
    Table[initial]
    E_TX_NO_AUTH
    Table[initial]
    RSSB_C_AUTH_KEYFIGURE
    1KYFNM
    3454442222
    1B96ED0000
    SY-REPID
    SAPLRSSBR
    5454555452222222222222222222222222222222
    310C233220000000000000000000000000000000
    SYST-REPID
    SAPLRSSBR
    5454555452222222222222222222222222222222
    310C233220000000000000000000000000000000
    %_SPACE
    2
    0
    RS_C_RANGE_SIGN
    IE
    44
    95
    SY-SUBRC
    5
    0000
    0005
    L_TX_NO_AUTH
    Table[initial]
    SY-XFORM
    CONVERSION_EXIT
    444545544454545222222222222222
    3FE65239FEF5894000000000000000
    SYST
    0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1. ###################################################à##############
    0000000000000000000000000002000000000000000000000000000000000000000000000000000E00000000000000
    0001000000000000000000000000000000000000000000010001000000010000000000000000000000000000000000
    L_SX_NO_AUTH
    ############ÿÿÿÿ
    000000000000FFFF
    000000000000FFFF
    L_SX_NO_AUTH-KID
    Table[initial]
    <L_SX_AUTH_CHECK>-KID
    Table IT_33029[1x4]
    FUNCTION-POOL=RSSBRDATA=G_SX_IOBJVL_CHECK-AUTH_CHECK[1]-KID
    Table reference: 2052
    TABH+  0(20) = 07000000908D2FD0000000000000000000000000
    TABH+ 20(20) = 00000804000081050000000100000004FFFFFFFF
    TABH+ 40(16) = 040002F1000003480001432821000000
    store        = 0x07000000908D2FD0
    ext1         = 0x0000000000000000
    shmId        = 0     (0x00000000)
    id           = 2052  (0x00000804)
    label        = 33029 (0x00008105)
    fill         = 1     (0x00000001)
    leng         = 4     (0x00000004)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000003
    occu         = 1     (0x00000001)
    access       = 2     (ItAccessSorted)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 1     (ItUnique)
    keyKind      = 2     (table_line)
    cmpMode      = 5     (cmpSingle)
    occu0        = 0
    collHash     = 0
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 1
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = 0x07000000908E0CC8
    pghook       = 0x0000000000000000
    idxPtr       = 0x0000000000000000
    refCount     = 1     (0x00000001)
    tstRefCount  = 0     (0x00000000)
    lineAdmin    = 1     (0x00000001)
    lineAlloc    = 1     (0x00000001)
    store_id     = 6998  (0x00001B56)
    shmIsReadOnly = 0     (0x00000000)
    >>>>> 1st level extension part <<<<<
    regHook      = Not allocated
    hsdir        = Not allocated
    ext2         = Not allocated
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    No.      39 Ty.          FORM
    Name  AUTHORITY_CHECK
    I_TH_SFC
    Table IT_32090[14x128]
    FUNCTION=RSDRC_BASIC_CUBE_DATA_GETDATA=L_TH_SFC
    Table reference: 1757
    TABH+  0(20) = 070000009052D8F8070000009081372800000000
    TABH+ 20(20) = 000006DD00007D5A0000000E00000080FFFFFFFF
    TABH+ 40(16) = 040002DB000017C80010839401000000
    store        = 0x070000009052D8F8
    ext1         = 0x0700000090813728
    shmId        = 0     (0x00000000)
    id           = 1757  (0x000006DD)
    label        = 32090 (0x00007D5A)
    fill         = 14    (0x0000000E)
    leng         = 128   (0x00000080)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000099
    occu         = 16    (0x00000010)
    access       = 4     (ItAccessHashed)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 1     (ItUnique)
    keyKind      = 3     (user defined)
    cmpMode      = 2     (cmpSingleMcmpR)
    occu0        = 1
    collHash     = 0
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 0
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = 0x0700000090811F18
    pghook       = 0x0000000000000000
    idxPtr       = 0x070000009052D950
    refCount     = 0     (0x00000000)
    tstRefCount  = 0     (0x00000000)
    lineAdmin    = 16    (0x00000010)
    lineAlloc    = 16    (0x00000010)
    store_id     = 6872  (0x00001AD8)
    shmIsReadOnly = 0     (0x00000000)
    >>>>> 1st level extension part <<<<<
    regHook      = 0x0700000090813588
    hsdir        = 0x0000000000000000
    ext2         = 0x0000000000000000
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    CL_RSO_REPOSITORY=>P_C_BAL_LOG_SUBOBJEC_INST
    SY-REPID
    SAPLRSDRC
    5454554542222222222222222222222222222222
    310C234230000000000000000000000000000000
    L_S_RANGE-LOW
    1ROWCOUNT
    354544545222222222222222222222222222222222222222222222222222
    12F73F5E4000000000000000000000000000000000000000000000000000
    <L_S_SFK>-KYFNM
    1ROWCOUNT
    354544545222222222222222222222
    12F73F5E4000000000000000000000
    RSDRC_C_QUERYMODE-CUMULATIVE
    C
    4
    3
    S_S_COB_PRO
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    L_SX_SELDR-RANGE+8(8)
    Table IT_32110[2x136]
    FUNCTION-POOL=RSDRCFORM=AUTHORITY_CHECKDATA=L_SX_SELDR
    Table reference: 1902
    TABH+  0(20) = 0700000090813D10000000000000000000000000
    TABH+ 20(20) = 0000076E00007D6E0000000200000088FFFFFFFF
    TABH+ 40(16) = 040002DB00001AA00010254421000000
    store        = 0x0700000090813D10
    ext1         = 0x0000000000000000
    shmId        = 0     (0x00000000)
    id           = 1902  (0x0000076E)
    label        = 32110 (0x00007D6E)
    fill         = 2     (0x00000002)
    leng         = 136   (0x00000088)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000112
    occu         = 16    (0x00000010)
    access       = 1     (ItAccessStandard)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 2     (ItUniqueNon)
    keyKind      = 2     (table_line)
    cmpMode      = 8     (cmpManyEq)
    occu0        = 1
    collHash     = 0
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 1
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = 0x07000000908800F8
    pghook       = 0x0000000000000000
    idxPtr       = 0x0000000000000000
    refCount     = 1     (0x00000001)
    tstRefCount  = 0     (0x00000000)
    lineAdmin    = 16    (0x00000010)
    lineAlloc    = 16    (0x00000010)
    store_id     = 6876  (0x00001ADC)
    shmIsReadOnly = 0     (0x00000000)
    >>>>> 1st level extension part <<<<<
    regHook      = Not allocated
    hsdir        = Not allocated
    ext2         = Not allocated
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    L_S_RANGE
    IEQ1ROWCOUNT
    4453545445452222222222222222222222222222222222222222222222222222222222222222222222222222222222
    95112F73F5E40000000000000000000000000000000000000000000000000000000000000000000000000000000000
    L_TSX_SELDR
    Table IT_32094[13x120]
    FUNCTION-POOL=RSDRCFORM=AUTHORITY_CHECKDATA=L_TSX_SELDR
    Table reference: 1870
    TABH+  0(20) = 0700000090813AE007000000908DF36800000000
    TABH+ 20(20) = 0000074E00007D5E0000000D00000078FFFFFFFF
    TABH+ 40(16) = 040002DB000018A8000C4B9C01000000
    store        = 0x0700000090813AE0
    ext1         = 0x07000000908DF368
    shmId        = 0     (0x00000000)
    id           = 1870  (0x0000074E)
    label        = 32094 (0x00007D5E)
    fill         = 13    (0x0000000D)
    leng         = 120   (0x00000078)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000103
    occu         = 12    (0x0000000C)
    access       = 2     (ItAccessSorted)
    idxKind      = 1     (ItIndexLinear)
    uniKind      = 1     (ItUnique)
    keyKind      = 3     (user defined)
    cmpMode      = 3     (cmpSingleMcmpU)
    occu0        = 1
    collHash     = 0
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 0
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = 0x070000009087FB40
    pghook       = 0x0700000090813D68
    idxPtr       = 0x0700000090813DA0
    refCount     = 0     (0x00000000)
    tstRefCount  = 0     (0x00000000)
    lineAdmin    = 36    (0x00000024)
    lineAlloc    = 36    (0x00000024)
    store_id     = 6875  (0x00001ADB)
    shmIsReadOnly = 0     (0x00000000)
    >>>>> 1st level extension part <<<<<
    regHook      = 0x07000000908DED00
    hsdir        = 0x0000000000000000
    ext2         = 0x0000000000000000
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    L_SX_SELDR
    00001KYFNM                          ########300   0     ####ÿÿÿÿ####  0 ########        ####ÿÿ
    333334544422222222222222222222222222000000003332223222220000FFFF0000223200000000222222220000FF
    00001B96ED00000000000000000000000000000000003000000000000000FFFF0000000000000000000000000000FF
    G_RUNNING
    0
    0000
    0000
    L_BASICCUBE
    ZCTMWMA05
    545454433222222222222222222222
    A34D7D105000000000000000000000
    L_TH_FREE
    Table IT_32093[6x30]
    FUNCTION-POOL=RSDRCFORM=AUTHORITY_CHECKDATA=L_TH_FREE
    Table reference: 1763
    TABH+  0(20) = 0700000090813760000000000000000000000000
    TABH+ 20(20) = 000006E300007D5D000000060000001EFFFFFFFF
    TABH+ 40(16) = 040002DB00001B800010831401000000
    store        = 0x0700000090813760
    ext1         = 0x0000000000000000
    shmId        = 0     (0x00000000)
    id           = 1763  (0x000006E3)
    label        = 32093 (0x00007D5D)
    fill         = 6     (0x00000006)
    leng         = 30    (0x0000001E)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000116
    occu         = 16    (0x00000010)
    access       = 4     (ItAccessHashed)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 1     (ItUnique)
    keyKind      = 2     (table_line)
    cmpMode      = 2     (cmpSingleMcmpR)
    occu0        = 1
    collHash     = 0
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 0
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = 0x07000000908137B8
    pghook       = 0x0000000000000000
    idxPtr       = 0x07000000908139B0
    refCount     = 0     (0x00000000)
    tstRefCount  = 0     (0x00000000)
    lineAdmin    = 16    (0x00000010)
    lineAlloc    = 16    (0x00000010)
    store_id     = 6874  (0x00001ADA)
    shmIsReadOnly = 0     (0x00000000)
    >>>>> 1st level extension part <<<<<
    regHook      = Not allocated
    hsdir        = Not allocated
    ext2         = Not allocated
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    SYST-REPID
    SAPLRSDRC
    5454554542222222222222222222222222222222
    310C234230000000000000000000000000000000
    L_SX_IOBJVL_CHECK
    ZCTMWMA05                                                                                ####
    5454544332222222222222222222222222222222222222222222222222222222222222222222222222222222220000
    A34D7D1050000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    L_ACTIVITY
    03
    33
    03
    SY-UNAME
    S51643
    533333222222
    351643000000
    S_MULTICUBE
    222222222222222222222222222222
    000000000000000000000000000000
    E_SUBRC
    0
    0000
    0000
    %_VIASELSCR
    0
    4
    S_CHANM
    222222222222222222222222222222
    000000000000000000000000000000
    I_RAISE_EXCEPTION
    X
    5
    8
    RS_C_TRUE
    X
    5
    8
    SCREEN
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    No.      38 Ty.          FORM
    Name  BASIC_QUERY_DATA_GET_ROLAP
    E_T_DATA
    Table[initial]
    E_END_OF_DATA
    2
    0
    C_FIRST_CALL
    X
    5
    8
    S_S_QPARAM
    XX 0 ##ÿÿÿÿ####DB-VIEW                                               R ###dABAP-TABLE
    25523200FFFF0000442544522222222222222222222222222222222222222222222222520006444525444422222222
    08800000FFFF000042D6957000000000000000000000000000000000000000000000002000041210D412C500000000
    C_S_QPARAM-AUTHORITY_CHECK
    R
    5
    2
    RSDRC_C_AUTHCHK-NONE
    2
    0
    RSJOBINFO
    00000000000000                                  ####
    222222222222222222222222222222223333333333333322222222222222222222222222222222220000
    000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    RSD_C_DPANM
    0REQUID                       0CHNGID                       0RECORDTP                     0IOB
    3545544222222222222222222222223444444222222222222222222222223544454552222222222222222222223444
    025159400000000000000000000000038E794000000000000000000000000253F244000000000000000000000009F2
    SPACE
    2
    0
    I_BASICCUBE
    ZCTMWMA05
    545454433222222222222222222222
    A34D7D105000000000000000000000
    I_TH_SFC
    Table IT_32090[14x128]
    I_TH_SFK
    Table IT_32091[2x128]
    FUNCTION=RSDRC_BASIC_CUBE_DATA_GETDATA=L_TH_SFK
    Table reference: 1767
    TABH+  0(20) = 0700000090887AC00700000090813CD800000000
    TABH+ 20(20) = 000006E700007D5B0000000200000080FFFFFFFF
    TABH+ 40(16) = 040002DB000018380010839421000000
    store        = 0x0700000090887AC0
    ext1         = 0x0700000090813CD8
    shmId        = 0     (0x00000000)
    id           = 1767  (0x000006E7)
    label        = 32091 (0x00007D5B)
    fill         = 2     (0x00000002)
    leng         = 128   (0x00000080)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000101
    occu         = 16    (0x00000010)
    access       = 4     (ItAccessHashed)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 1     (ItUnique)
    keyKind      = 3     (user defined)
    cmpMode      = 2     (cmpSingleMcmpR)
    occu0        = 1
    collHash     = 0
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 1
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = 0x0700000090884C90
    pghook       = 0x0000000000000000
    idxPtr       = 0x0700000090827A98
    refCount     = 1     (0x00000001)
    tstRefCount  = 0     (0x00000000)
    lineAdmin    = 16    (0x00000010)
    lineAlloc    = 16    (0x00000010)
    store_id     = 6857  (0x00001AC9)
    shmIsReadOnly = 0     (0x00000000)
    >>>>> 1st level extension part <<<<<
    regHook      = 0x0700000090813B38
    hsdir        = 0x0000000000000000

    Have you check or trace Authorization??
    In DUMP:
    Information on where terminated
    The termination occurred in the ABAP program "SAPLRSSBR" in
    "RSSB_AUTHORITY_IOBJVL_CHECK".
    The main program was "UPB_PM_CUST_START ".

Maybe you are looking for

  • Itunes freezes in windows vista

    i have a 32 bit os which i've read is not a problem. can anyone help me? itunes will maybe allow me to copy maybe one track onto ipod, then will not only freeze but i can't close or anything. plz help.

  • Install of Oracle SOA Suite 10.1.3.1 Developer Preview fails

    My install fails every time (tried 4 now) at configuration of Oracle Process Management and Notification... Here is the install log, I've left it in an 'In Progress' state for about 12 hours... deploy.restoreServState: [stopwatch] [deploy.time: 1:11.

  • Why won't my iPad won't send messages?

    My iPad2 won't send message to person I just received from.  The send button is blue but not active. When I try to send to send a new message to another person their name is red marked with ! and the send button is gray. It won't accept any new name

  • Class cast exception about oracle db

    I want to store image file into BLOB of oracle datebase. first, i insert a empty BLOB, like "insert into tableName (blobField, ...) values(empty_blob(), ...)" then, i will retrieve this record to update the BLOB field, like "select blobField from tab

  • Importing songs from a cd

    when i insert a cd into my computer, itunes will not bring it up for importing. is there something i am doing incorrectly?