RPCAFIE0 - Automatismos / DUMP (OSS Note 1669690)

Hello,
Anyone with this rumtime error?:
I think that the problem may be caused after implementation of OSS Note 1669690.
RPCAFIE0 (AFI - Mensaje de Afiliación) generates an abend when creating the AFI file with "Automatismos".
Dump occurs in RPCAFIF2 just in the code included by oss note 1669690:
* BAdI to generate custom movements
  IF gv_is_implemented IS INITIAL.
    CALL METHOD gb_exit_obj->gen_automatism_data
      EXPORTING
        pv_pernr  = pernr-pernr
        pv_begda  = p_begda
        pv_endda  = p_endda
        pt_p0000  = p0000_tab[]
        pt_p0061  = p0061_tab[]
        pt_p0302  = p0302_tab[]
      CHANGING
        ct_afitab = l_afitab_col[].
  ENDIF.
* END OF CALL TO BAdI to generate custom movements
Runtime Error:
OBJECTS_OBJREF_NOT_ASSIGNED_NO
Excepción CX_SY_REF_IS_INITIAL
Zugriff über 'NULL' Objektreferenz nicht möglich.
001050     ENDLOOP.
001060
001070   * BAdI to generate custom movements
001080     IF gv_is_implemented IS INITIAL.
     >       CALL METHOD gb_exit_obj->gen_automatism_data
001100         EXPORTING
001110           pv_pernr  = pernr-pernr
001120           pv_begda  = p_begda
001130           pv_endda  = p_endda
001140           pt_p0000  = p0000_tab[]
001150           pt_p0061  = p0061_tab[]
001160           pt_p0302  = p0302_tab[]
001170         CHANGING
001180           ct_afitab = l_afitab_col[].
001190     ENDIF.
001200   * END OF CALL TO BAdI to generate custom movements
001210
001220     PERFORM fusionar_movimientos TABLES afitab
001230                                         l_afitab_col .
001240
001250
001260   ENDFORM.    "automatismos
Thanks,
Rafa

Any idea?
Just as information we are under 4.7 version and we have a separate system for the upgrade to ECC6.0.
In the server upgraded the RPCAFIE0 program does not generate runtime errors.
The point of the abend has changed a little bit:
* BAdI to generate custom movements
  IF gv_badi_return_code IS INITIAL.
     CALL BADI go_exit_obj->gen_automatism_data
       EXPORTING
         pv_pernr = pernr-pernr
         pv_begda = p_begda
         pv_endda = p_endda
         pt_p0000 = p0000_tab[]
         pt_p0061 = p0061_tab[]
         pt_p0302 = p0302_tab[]
       CHANGING
         ct_afitab = l_afitab_col[].
  ENDIF.
* END OF CALL TO BAdI to generate custom movements
There are also some differences in data declarations:
Enterprise 4.7:
DATA gb_exit_obj       TYPE REF TO badi_hrpayes_afie0.
ECC 6.0:
DATA go_exit_obj          TYPE REF TO hrpayes_afie0.
And when debugging, on 6.0 go_exit_obj contains initial values and 4.7 ***illegal reference***
Waiting for some help
thx
Rafa

Similar Messages

  • ABAP dump in ECC 6.0 - Need OSS notes

    ABAP dump is coming when retriving data between select-endselect.
    Runtime Errors         DBIF_RSQL_INVALID_CURSOR
    Except.                CX_SY_OPEN_SQL_DB
    The problem cannot be resolved without correcting the application
    program.
    The statements MESSAGE, COMMIT WORK, ROLLBACK WORK, CALL SCREEN,
    BREAK-POINT, WAIT, CALL FUNCTION ... DESTINATION, CALL FUNCTION ...
    STARTING NEW TASK, RECEIVE RESULTS, CALL SELECTION-SCREEN, CALL
    DIALOG, CALL TRANSACTION cannot be used within a database
    loop.
    You can collect the data needed for these statements together in an
    internal table and process them
    in a loop.
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "DBIF_RSQL_INVALID_CURSOR" "CX_SY_OPEN_SQL_DB"
    Can you please give the OSS notes no. if anything is available.

    Hi Sreedevi..
    In the dump report, the piece of code where the dump occured will be shown
    something with >>>>>> sign in the line...
    Please copy and paste this peice of code..
    Thanks and Best Regards,
    Vikas Bittera.
    **Reward if useful**

  • OSS Note for dump in program LOLEAU02

    Hallo Everybody,
    I need help in finding an OSS notes for the runtime error MESSAGE_TYPE_X in the program LOLEAU02.The last modified date of this program is 6.11.2003.
    There are many OSS notes and I couldn't able to sort the OSS note for this particular runtime error.I have given some details about the dump.
    <b>
    User and Transaction
        Language key........ "F"
        Transaction......... "IW32 "
        Program............. "SAPLOLEA"
        Screen.............. "SAPLSCAC 0100"
        Screen line......... 0
    Information on where terminated
        The termination occurred in the ABAP program "SAPLOLEA" in "AC_SYSTEM_FLUSH".
        The main program was "SAPLCOIH ".
        The termination occurred in line 29 of the source code of the (Include)
         program "LOLEAU02"
        of the source code of program "LOLEAU02" (when calling the editor 290).
    Source Code extract
    24     WHEN 1.
    25 *     system_error
    26       MESSAGE ID 'CNDP' TYPE 'X' NUMBER 007 RAISING CNTL_SYSTEM_ERROR.
    27     WHEN 2.
    28 *     method_call_error
    >>       MESSAGE ID 'CNDP' TYPE 'X' NUMBER 006 RAISING CNTL_ERROR.
    30     WHEN 3.</b>
    Thanks in advance.Any inputs on this will be helpful.
    Regards,
    Raj

    Hi,
    Thanks Chandrasekar.
    The thread has the same dump except the main program which is <b>YQ9_UPLO</b>.In my case the main program is<b> SAPLSMTR_NAVIGATION</b>.
    Still the dumps occurs and I am unable to find the root cause. Any inputs will be som helpful.Thanks in advance.
    Regards,
    Raj

  • OSS Note for MIGO "Update terminate (SAPSQL_ARRAY_INSERT_DUPREC)"

    Dear all
    I am facing problem during MIGO GR reference Others, MVT 561.
    Upon clicing Button: Save, I face 2 types of errors intermittently
    1. Material document is saved and generated but when comes to displayed, it will say "Document 4900496xxx does not exist in calendar year 2009" And I check in Table: MKPF and it does not exist at all
    2. I am not able to save it and face this termination error:
    The ABAP/4 Open SQL array insert results in duplicate database record
    What happened?
    Error in ABAP application program.
    The current ABAP program "SAPLGLIU" had to be terminated because one
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    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 adminis
    termination messages, especially those beyond their normal deletion"
    I have done my investigation and the number range uder FBN1 for this MVT 561 under this Company Code and Year has been maintained.
    Can anyone advise me the OSS note to solve it? I cannot find a direct OSS note on it to solve this.
    Thanks.
    Edited by: Daimos on Oct 26, 2009 7:58 AM

    Sorry Jurgen
    I have posted so many material documents using MIGO to test it out and try to update my OMBT there so many times until I lost track what is the current number range when I wrote my question here.
    I have read that thread you posted regarding the ST22 analysis [Solution from Jurgen|Document does not exist after creation of PO; . I exported them to HTML and did a detail checking, and I find out it is FI GL there did not update the number range properly which in turns cause my GR to have problems.
    Below is my analysis and learning to share with others:
    1. Ask the ABAPER to find out which record value the system trying to insert. Copy down this number.
    2. Check the OMBT value of Current Number.
    3. Then use the MFPK Table to search the latest Number Range.
    4. Try to check if the record value trying to insert already exists in Current Number. Normally, it will exist and that is why 
        system  prompt "insert duplication".
    5. Then check if the record value trying to insert already exists in MFPK Number. Normally, it will exists it will exist and that is
        why system prompt "insert duplication". (There can be situation that the Current Number is lower than the MFPK Number,  
        but it  rarely happen).
    6. Replace the Current Number to be the Next Number of MKPF largest Number. Save and it should work.
    7. If it is not work, please create a material which is non valuated and perform GR, if GR can be done and we can display
        material doc, it means the error is caused by the FI GL number range error.
    8. There can be other issues such as activation of user exits and other.
    Jurgen, I got one more question to ask you. I have tried to replace the current number with the largest number of MKPF without + 1. It can solve my problem.
    But I wonder why SAP Notes and you suggest us to replace Current Number with largest MKPF value PLUS 1?
    Please advise.
    Thanks.
    Edited by: Daimos on Nov 2, 2009 8:41 AM

  • Details to OSS note 1882839

    Hi CRM Experts,
    I have following problem:
    If I would change something in Configuration mode to change Assigement Blocks I get a Dump message after saving into a Transport order.
    This message is described in this OSS note.
    http://service.sap.com/sap/support/notes/1882839
    My problem is, that I don't understand, what I have to do in transaction BSP_WD_CMPWB.
    Could anybody give me further information?
    Thanks in advance an best regards.
    Oliver

    Hello Oliver Mittermeier
    It would been better If you mentioned component name which  assignment block changed performed by you.
    Please below are steps to be followed.
    Enter the transaction code BSP_WD_CMPWB.Y
    Select a component, for example BP_HEAD_SEARCH.
    Click Display.You see the standard structure view of the chosen UI component.
    Expand the Views node under Browser Component Structure.
    Double-click the view that you want for which you changed configuration, for example MainSearch.
    Click the Configuration tab.The view's configuration is displayed.
    Then as per sap note select configuration with key/delete or copy with temporary key.
    Note: - Please be careful exact view configuration, you are accessing or editing.
    Let me know if anything.
    Regards,
    Arjun

  • OSS Note No required.

    Hi all,,
    The version of the SAP system is 4.6 C.
    I got a standard SAP program in V.02 transaction showing ABAP runtime error TIME_OUT.
    The function module is  "RV_MISSING_DOCUMENT_DATA".
    The program is  "SAPLV05M " or "LV05MU01 "
    The Dump is "TIME_OUT".
    But the version is 4.6 C
    Am able to find OSS Notes for less than 4.6C. But not for 4.6C.
    PLs anyone can find the appropriate OSS Note for this, which will solve the error.
    will be rewarded.
    Thanks in adv.

    Hi,
    Check the note 156355.
    Reward points if useful.
    Thanks & Regards,
    Vasudeva Rao.

  • Help in finding an OSS notes for a SAP Program

    Hi,
    A runtime error TIME_OUT has occured in the program LSCD2F01.
    I need to find an OSS notes which deals with the correction of this dump.I have checked with the latest date of modification of this program and it is 18.02.2006
    So the OSS notes which has been generated earlier to this date has been implemented in the program.
    I have attached the Dump details below: Any inputs on this will be helpful.
    <b>Information on where terminated</b> 
      The termination occurred in the ABAP program "SAPLSCD1" in "READ_CD_FROM_DB".
        The main program was "SAPMSSY1 ".
        The termination occurred in line 1031 of the source code of the (Include)
         program "LSCD2F01"
        of the source code of program "LSCD2F01" (when calling the editor 10310).
    <b>Source Code Extract</b>
    1020 FORM read_cd_from_db CHANGING pt_cdhdr     TYPE cdhdr_tab
    1021                               pt_cdpos     TYPE cdpos_tab
    1022                               pt_cdpos_uid TYPE cdpos_uid_tab.
    1023
    1024   DATA: lt_cdhdr_for_uid TYPE cdhdr_tab
    1025        ,lv_guid_true     TYPE i.
    1026   FIELD-SYMBOLS: <fs_cdhdr> TYPE cdhdr.
    1027
    1028   CLEAR: lt_cdhdr_for_uid[], lv_guid_true.
    1029
    1030 * select header from cdhdr
    <b>>>>>   SELECT * FROM cdhdr INTO TABLE pt_cdhdr</b>
    1032            WHERE objectclas IN lt_sl_objectclas
    1033            AND   objectid   IN lt_sl_objectid
    1034            AND   changenr   IN lt_sl_changenr
    1035            AND   username   IN lt_sl_username
    1036            AND (
    1037                 (
    1038                   udate =  date_of_change
    1039                   AND
    1040                   utime >= time_of_change
    1041                  )
    1042                  OR
    1043                   udate >  date_of_change
    1044                 )
    Regards,
    Raj

    Check notes:
    459838 Performance improvement with very large datasets
    and
    671283 Performance problem with change documents material master
    Rob

  • Suitable OSS Note for special charecters when upload a file

    hi,
    can anbody help me in finding OSS Note for
    special charecters in file upload as i was unable to print  'é' this charcter as a result it was going into short dump
    Please help me

    Hi,
    Are u using smatrforms, if it is
    Create text in smart form->click edit button of text->menu->insert->characters->displayable characters->then select ur special charactor.
    that no will display in text node. check that no with OSS note.
    Thanks,
    Sendil

  • SAP OSS NOTES

    Hi experts!
          I don't understand very much how can I know if a SAP note is applicable or not for my system. I know that if I go to System -> Status -> Component Information I can see the realease and level of the support package but in the note I see an specification of the release and version of the support package... that is the part that I don't understand very much... That means if the version is higer in the note and in the system the version is minor the note is applicable? I'm correct?
    Thanks for the help!

    Hi Carlos, pls chk this.
    OSS notes describe bugs/issues/problems in SAP software, provide the technical details and correction instructions.
    Notes also sometimes cover 'features' (ie things that are not bugs) that cause ambiguous application behavior. Additionally, specific information relevant to releases, SAP strategy (eg when is support to a particular version going to end) regarding its products and so on is also provided via notes.
    You have a search portal for SAP Notes which will tell you more about it.
    You would a S-user id to logon to the OSS Notes. The S-user id is basically based on the installation number of your SAP system. You can get the user id from your BASIS. Once you get this then logon to this link:
    http://service.sap.com/notes.
    Check this:Re: oss
    Also check this document. It has the step by step procedures with screenshots to apply a Note.
    http://www.sappoint.com/basis/snote.pdf
    first you should have oss id then you can see oss note here
    https://service.sap.com/notes
    take a look thread
    oss
    oss note is a document provided by SAP that described particular issue, usually with symptom, cause(the reason), solution provided, and some other info (correction instruction and code).
    oss note has version, date issued, and categorized to application area (e.g BW, CRM, etc).
    in practice, when error occured, normally there will be error number and message, that can be used to search oss note which in return may provide possible solutioon. some problem will have short dump, and in the dump, there is suggestion to search oss note with using keywords specified(program name, module name, etc.)
    cheers,
    Hema.

  • How can we apply OSS notes in BW or BI.

    Dear Friends , how are you all.
    Could anyone please tell the process about How can we apply OSS notes in BW or BI.
    What is the difference between LO extractors and FI extractors.
    It would be helpful to me.
    Thanks in Advance,
    Kalyan

    Hi,
    Using T Code SNOTE we can apply the OSS notes.
    Also
    OSS is Online support system runs by SAP to support the customers.
    You can access this by entering OSS1 transaction or visit Service.SAP.Com and access it by providing the user name and password.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/fe8dbb80-0c01-0010-fe84-b76d0d07db34
    SAP Notes
    IN BW T.Code SNOTE, here you can see all the notes which has been applied.. also u can apply a new note in this T.Code.
    http://service.sap.com/notes
    Whenever there is a short dump, in section 'How to correct the error' keywords are given so that you can search relevant OSS
    Notes.
    Best way is to search with the Note Number if you know one. Else, you can search with restriction by giving proper version,
    application area, priority, release status etc along with keywords.
    Thanks,
    JituK

  • OSS Notes for Tcode: VT02N

    Hi All,
    Is there any OSS  Notes for Tcode:VT02N.
    In my system VT02n is dumping.
    Can  anybody tell me about OSS Notes so that i can apply for the that.
    Thanks in Advance.

    Hi ,
    While executing Tcode VT02N after giving shipment Number & enter .
    After clicking on planning buttion & save it's going to dump.Giving message as below.
    Error analysis:
        Calling a COMMIT WORK in an update process is not allowed
        because the function modules triggered in a Logical Unit
        of Work cannot then be processed correctly.
      154   CALL FUNCTION 'GET_HANDLE_SD_BILLING'
      155     IMPORTING
      156       handle = l_sd_billing_exit
      157       active = active.
      158
      159   IF active = 'X'.
      160     CALL METHOD l_sd_billing_exit->invoice_refresh.
      161   ENDIF.
      162
      163
      164   IF with_posting CA 'CD'.
      165     COMMIT WORK AND WAIT.
      166   ELSEIF with_posting CA ' AB'.
    >   COMMIT WORK.
      168   ENDIF.
    In Executing the Commit Work it is going dump.
    Pls let me know if u have any idea.
    Regards,
    Priya Agarwal.

  • OSS Note 518426

    Hi
    Could u please paste the OSS note 518426 here.
    Actually i dont have access to OSS note...
    thanks
    reddy

    Here it goes --
    Note 518426 - ODS object - SYSTEMCOPY, migration
    Symptom
    1. System copy
    a) DUMP occurs when you activate or load data into an ODS object
    b) The monitor displays one of the following two error messages:
    PSA update for 2 failed (RSDRO 103)
    or
    There is no PSA for InfoSource <name of the InfoSource> and source system <name of the COPIED source system> (RSAODS 203)
    2. Migration
    A DUMP with the title "SYNTAX_ERROR" is generated when requests are activated, loaded or deleted.
    Other terms
    Short dump, CX_RSR_X_MESSAGE, system copy, runtime error, RSDRO 103, RSDRO103, ODS object, ODS, RSAODS203, RSAODS 203, migration, DUMP
    Reason and Prerequisites
    For 1: Copying a BW system
    For 2: Migrating a BW system
    Solution
    Execute transaction "RSSGPCLA".
    Set the status of the programs belonging to program classes "RSDRO_ACTIVATE", "RSDRO_UPDATE" and "RSDRO_EXTRACT" to "Generation required".
    To do this, select the program class and then activate the "Set statuses" button. IMPORTANT: Reset the three named program classes only.
    Header Data
    Release Status: Released for Customer
    Released on: 10.06.2003  14:38:13
    Priority: Recommendations/additional info
    Category: Consulting
    Primary Component: BW-WHM-DBA-ODS ODS object/DataStore object
    Secondary Components: BW-WHM Data Warehouse Management
    Releases
    Software
    Component Release From
    Release To
    Release And
    subsequent
    SAP_BW 30 30A 30B  
    SAP_BW 310 310 310  
    SAP_BW 40 400 400  
    SAP_BW 35 350 350  
    Related Notes
    886102 - System Landscape Copy for SAP BW 2.X, 3.X and NW2004s BI
    Attributes
    Attribute Value
    weitere Komponenten 0000000051
    regards
    Vikash

  • How to find out the list of implemented OSS Notes in a particular period.

    Hi Friends,
    Need help.
    I need to find out the list of OSS Notes implemented in a period in a particular system.
    Could you please suggest the table or program or any way to find out the OSS Notes Implemented date wise?
    Thanks in Advance.
    Sreenivas

    Hi Sreenivas.
    How did you find the solution to this? Trying to do the same thing!
    Cheers,
    Tom

  • Oss note problem

    Hi ,
    i applid oss note  1046758. to 2 include and 1 program
    includes:
        J_1IEWT_CERT_TOP
        J_1IEWT_CERT_F01
    program :
           J_1IEWT_CERT
    But i getting error like report/program statement missing.
    plz give me solution
    Edited by: vasanth kandula on Jan 4, 2008 1:25 PM

    Hi,
    open the documentation of that note in Tcode "SNOTE", go through the documentation, there they will propse the piece of code to delete and piece of code to add, check wheather it has been done corectly in your includes and program.
    while applying notes first it will checks for the context block where it has to delete the code and where it has to include the new code, some times due to manual changes there may be a chance of code misplace.
    go through the documentation clearly, it will guide you.
    Reward if useful.
    Thanks,
    Sreeram.

  • OSS note is not working in production but works correctly in test system .

    hello friends ,
    weh have implemented one OSS notes , which is working corectly in Test system , but not working in production .
    Could you please let me know , what could be the reason ?
    OSS note no 1064273-
    Regards,
    Manoj

    Pls. check with Basis if the OSS note has been implemented properly and successfully.

Maybe you are looking for

  • It says i have to review my apple id but how do i do it without entering a cridit card

    it says i have to review my apple id account but how do i do it without entering a cridit card

  • Using variables in a URL call

    APEX version = 4 - DB version and edition = 10g - Web server architecture = OHS - Browser(s) used = I.E. 8 - Theme = #5 opal - Templates - Region/Process type Hello I am trying to call a report from another environment using a url, if I enter the fol

  • JSP Dynpage not rendering UI

    Hi.. I have a HTML page that refers to some javascript files to render a table view for a calendar .The html page along with the Javascript files are put together in one folder. The HTML renders the Calender UI when run from the local system. Now i h

  • Excise capture through a differnt moment type

    Scenario: I make a PO of 10ton i shall receive 10 ton but that shall not effect my factory stock. then i will reject 1 ton and rest 9ton will be the actual received stock in the factory. I am doin GR through 103(GR Block stock , in our case its shoul

  • How to get material long text at user exit EXIT_SAPLMGMU_001

    Dear All, I need to pass some material details from SAP to legacy system once user create / edit a material. I have no problems with fields like material no, type, group etc except the long text, I can't find the long text field from the user exit (E