Runtimr error OBJECTS_OBJREF_NOT_ASSIGNED when i schedule pgm in back grd

Hi All
when I schedule any BDC pgm in Background by giving job name in SM36 .
It is giving an runtimr error OBJECTS_OBJREF_NOT_ASSIGNED and Exception CX_SY_REF_IS_INITIAL .
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
caught in
procedure "C14T_LISTTOOL_CALL_ALV_GRID" "(FUNCTION)", nor was it propagated by
a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
You attempted to use a 'NULL' object reference (points to 'nothing')
access a component (variable: "GRID1").
An object reference must point to an object (an instance of a class)
before it can be used to access components.
Either the reference was never set or it was set to 'NULL' using the
CLEAR statement.
But it is working fine when i running with options 'N' & 'A' in call transaction. when i execute I'm searching for sap note but not able to find it,
If any one can solve this issue please ...

Play suji,
In EHS there is one transaction called CVD1, this program closes rejected report shippings thru call transaction previously this program was working fine with 4.7 version recently sap version upgrade has taken place recent version is ECC6.0, the error is occuring in standard program while calling the call transaction for tcode CVD1.
for your reference see the below code
  PERFORM bdc_dynpro      USING 'SAPLCVDA' '1010'.
  PERFORM bdc_field       USING 'BDC_CURSOR'  
                                                   'CVDDISTSEL-DDOID'.    
  PERFORM bdc_field       USING 'BDC_OKCODE' '=ECLR'.  
  PERFORM bdc_dynpro      USING 'SAPLCVDA' '1010'.
  PERFORM bdc_field       USING 'BDC_CURSOR'
                                'CVDDISTSEL-CRDAT_FROM'.
  PERFORM bdc_field       USING 'CVDDISTSEL-CRDAT_FROM' '01011900'.
  PERFORM bdc_field       USING 'CVDDISTSEL-CRTIM_FROM' '00:00:00'.
  IF i_cvddh-ddpid IS INITIAL AND
     NOT i_cvddh-ddoid IS INITIAL.               
    v_char_20 = i_cvddh-ddoid.
     PERFORM bdc_field       USING 'CVDDISTSEL-DDOID' v_char_20.
    PERFORM bdc_field       USING 'BDC_OKCODE' '=STAT'.
    PERFORM bdc_dynpro      USING 'SAPLC14L' '8010'.  
    PERFORM bdc_field       USING 'BDC_CURSOR'     
                                  'RCGRSTIOT-MARKFLG(11)'.
    PERFORM bdc_field       USING 'BDC_OKCODE' '=GBCK'. 
    PERFORM bdc_field       USING 'RCGRSTIOT-MARKFLG(11)'     'X'.                  
    PERFORM bdc_dynpro      USING 'SAPLCVDA' '1010'.
    PERFORM bdc_field       USING 'BDC_CURSOR'    'CVDDISTSEL-CRDAT_FROM'.
    PERFORM bdc_field       USING 'BDC_OKCODE' '=GRSL'.
  ELSE.
    PERFORM bdc_field       USING 'BDC_OKCODE' '=GRSL'.
    v_char_20 = i_cvddh-ddpid.
    PERFORM bdc_field       USING 'CVDDISTSEL-DDPID' v_char_20.
    PERFORM bdc_field       USING 'CVDDISTSEL-DDOID' '0'."JGB SIR-72045
  ENDIF.
  PERFORM bdc_field       USING 'CVDDISTSEL-CRDAT_TO' '01013000'.
  PERFORM bdc_field       USING 'CVDDISTSEL-CRTIM_TO' '23:59:59'.
  PERFORM bdc_dynpro      USING 'SAPLCVDB' '1020'.
  PERFORM bdc_field       USING 'BDC_OKCODE' '==ESAL'.
  PERFORM bdc_dynpro      USING 'SAPLCVDB' '1020'.
  PERFORM bdc_field       USING 'BDC_OKCODE' '=EDEL'.
  PERFORM bdc_dynpro      USING 'SAPLSPO1' '0100'.
  PERFORM bdc_field       USING 'BDC_OKCODE' '=YES'.
  PERFORM bdc_dynpro      USING 'SAPLCVDB' '1020'.
  PERFORM bdc_field       USING 'BDC_OKCODE' '=OSAV'.
    REFRESH MESSTAB.
    CALL TRANSACTION TCODE USING BDCDATA
                     MODE   CTUMODE
                     UPDATE CUPDATE
                     MESSAGES INTO MESSTAB.

Similar Messages

  • Runtimr error OBJECTS_OBJREF_NOT_ASSIGNED and Exception  CX_SY_REF_IS_INITI

    Hi All
    when I schedule any BDC pgm in Background by giving job name in SM36 .
    It is giving an runtimr error OBJECTS_OBJREF_NOT_ASSIGNED and Exception  CX_SY_REF_IS_INITIAL .
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
         caught in
        procedure "C14T_LISTTOOL_CALL_ALV_GRID" "(FUNCTION)", nor was it propagated by
         a RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        You attempted to use a 'NULL' object reference (points to 'nothing')
        access a component (variable: "GRID1").
        An object reference must point to an object (an instance of a class)
        before it can be used to access components.
        Either the reference was never set or it was set to 'NULL' using the
        CLEAR statement.
    But it is working fine when i running with options 'N' & 'A' in call transaction. when i execute  I'm searching for sap note but not able to find it,
    If any one can solve this issue please ... its very urgent requirement
    Thanks in Advance

    I believe the better forum to post yorr query to, will be [ABAP, General|ABAP Development;.
    From the header of that forum:
    General questions about the ABAP language and language implementations.
    This is not a forum for application specific questions. Web Dynpro , BSP , CRM
    development, ... have their own forums.
    - Ludek

  • Background job error as runtimr error OBJECTS_OBJREF_NOT_ASSIGNED

    Hi All
         when I schedule BDC in Background by giving job name in SM36 .
    It is giving an exception error as  runtimr error OBJECTS_OBJREF_NOT_ASSIGNED.
    But it is working fine when i running with options 'N' & 'A' in call transaction.
    Flat file is placed on application server.

    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=objects_objref_not_assigned&cat=sdn_all
    You Need to find out the SAP note from the given list

  • Runtime error OBJECTS_OBJREF_NOT_ASSIGNED when calling any standard GRC API's

    Hello colleagues,
    I always get the runtime error OBJECTS_OBJREF_NOT_ASSIGNED when calling any standard GRC API's
    For instance, lets take Function Modules:
    I tried almost any of them but in particular:
    GRPC_API_CONTROL_QUERY Load the list of controls
    GRPC_API_ISSUE_QUERY Retrieve issues of the case
    GRPC_API_ORGUNIT_QUERY Load list of Organizations
    GRPC_API_RMPLAN_QUERY Retrieve remediation plans of case
    GRPC_API_RISK_CONTROLS Retrieve the controls of the risk
    and etc.
    All of them return the runtime error OBJECTS_OBJREF_NOT_ASSIGNED, however I've provided Object ID's in the right format,
    The same is for corresponding classes,
    Does anyone have such problem before?
    Appreciate your responses,
    Thank you,
    Best Regards,
    Anton

    Hi Anton,
    We need to pass value for I_SESSION_ID. Because, when i execute FM: GRPC_API_RMPLAN_QUERY by giving correct I_OBJECT_ID as shown below, i'm also getting the same error.
    On executing..
    Getting following dump.
    And attached is the dump analysis .
    Thanks
    KH

  • Error message when receive a fillable form back from patient

    Hello:
    The image below is an error message we received when the patient emails us back the survey form we have emailed to them.
    How do we fix so we can gather the data that was sent to us?

    Could you please confirm if you are receiving .FDF file as an email attachment.
    If this is the case then the above message is expected.
    FDF file just contains the response data and it requires original PDF where it can merge the data to show the final output.
    Steps to avoid this workflow:
    1. Use the complete PDF format on submit button.
    2. If you have the original PDF then save the FDF file separately and merge the data using following option:
         a. Open the original PDF in Acrobat.
         b. Go to Tools -> Form -> More Form Options -> Import Data
              and then locate the FDF file on your machine.

  • Error -50 when trying to sync purchases back to iTunes

    I'm a UK iPhone user (no relevance) and tried the iTunes store last night for the first time. I browsed, purchased and downloaded an album without a hitch. A warm feeling all over when things just 'work'. I've come to charge the phone today and it has shown an error for the first time. I can only assume it's when it's trying to copy the purchased music back to iTunes. It shows a window with 'the iTunes Library file cannot be saved. An unknown error occurred (-50)' To confirm, the purchased music does not appear on iTunes.
    I powered down the phone - no difference. I repaired permissions on my Powerbook - no difference. I clicked restore in iTunes only to be told that I would have to rePURCHASE my music again! Not redownload. REPURCHASE! How is this fair?!
    Has anyone any ideas? I do store my library on an external disc which was the first thing I thought of but I can read and write to it OK.

    Nathan - I've plugged into a different socket using my travel cable (that came with the headset) and it is now transferring my music over!! Magic!!
    I should have thought of that earlier - I did restart the Mac a few times and still the problem occurred. Ah well - all's well that ends well!!
    Turned out to be my USB hub was having an issue since I'd plugged an Apple mouse into it - removed that and the original dock is working perfectly again.
    Thanks for the replies guys!

  • Error message when opening SAP

    Hello,
    Sometimes, when a windows session locks itself when the logonpad is open, we get the following error message when we try to log back in SAP:
    PRD: GSS-API(maj): No valid credentials provided (or available)
    GSS-API(min): No Kerberos SSPI credentials available for requested nam
    name=''p:arsenaultd at ADMTL.COM''
    Error at the SNC level

    Dear,
    Check: http://wiki.sdn.sap.com/wiki/display/JSTSG/(SIM)Problems-P66
    Re: SSO using SNC and Kerberos (Windows 2003)
    Regards,
    Syed Hussain.

  • Error -43 when backing up iPhone for update 5.0

    I'm trying to update 5.0 on my iPhone 3gs and am getting error -43 when the phone is being backed up. Help! I waited a half a week hoping that the problem would go away, but it hasn't.
    I've read that some other users have erased everything on their iPhone so that they could update, and then manually installed everything after, but I don't have half a day to spend on this.
    Any ideas?

    Well, I've since taken the plunge and tried to update anyway, by restoring the iPhone, thinking I could restore from my backups. Now turns out that I can't restore because "the backup session failed". Goddammit.
    This is the biggest problem I have with my iPhone, that iTunes is such an abominable piece of software. I just want to get iOS 5 on this phone so I can leave iTunes behind.

  • Error when re-scheduling a report in WebI XI 3.1 SP2

    Hi,
    Im running BOE XI3.1 SP2 and I get that error when re-scheduling a report in WebI. We have just recently patched the system to SP2.
    Any idea what this error relates to?
    Thanks
    Frank

    Sorry first part of this thread was removed.
    The problem description is as follow:
    On BOE XI 3.1 SP2, when re-scheduling a BO report which sends an Excel attachment to an email destination, users receive the error "An error has occurred: $Proxy4".
    It seems to be hit and miss but is more consistent when sending to multiple (comma-separated) recipients in the 'TO' field. I also noticed that if you select CACHING then a "$Proxy5" type error is returned.
    I understand that this bug was supposed to be fixed in XI3.1 SP2 but I'm already running SP2.
    Anyone seen this?
    Thanks
    Frank
    Edited by: Frank Goneau on Oct 20, 2009 4:16 PM

  • RPC errors when provisioning schedule with many datasets

    When adding a dataset to a large schedule, we experience RPC errors as described below.
    The target schedule is not changed.
    The error appears when the dataset list gets to be around 10KB, e.g.
    crbkpadm-sca[root]# wc CR-SCHED-BKP-INCR.lst
    255 255 10652 CR-SCHED-BKP-INCR.lst
    [ CR-SCHED-INCR.lst contains the dataset list for the schedule ]
    They following illustrates the error:
    /usr/bin/obtool chsched -A /HOSTS/sorrento-b/export/pool-1/cor-tools CR-SCHED-BKP-INCR
    Error: couldn't update "CR-SCHED-BKP-INCR" - too many bytes supplied by RPC partner
    where the schedule looks like
    /usr/bin/obtool lssched -l CR-SCHED-BKP-INCR
    CR-SCHED-BKP-INCR:
    Type: backup
    State: disabled
    Dataset: /HOSTS/sorrento-a/export/pool-0/cdms_tools
    /HOSTS/sorrento-b/export/pool-1/tahoe-lib-work2
    /HOSTS/sorrento-a/export/pool-0/cr-db
    /HOSTS/sorrento-a/export/pool-0/das-tools
    /HOSTS/sorrento-a/export/pool-0/datools
    /HOSTS/sorrento-a/export/pool-0/datools-rw
    [ stuff deleted ]
    /HOSTS/siena-b/export/pool-1/vt40-lib-ref
    /HOSTS/siena-b/export/pool-1/vt40-lib-work1
    Encryption: no
    Comment: Incremental backup schedule CR-SCHED-BKP-INCR
    UUID: b5732154-2be9-102e-9839-bb8b5939e4b0
    Our setup is
    o administration master - obtool version 10.3.0.3.0 (Solaris) -- Thu Aug 19 11:42:22 PDT 2010
    o media server - obtool version 10.3.0.3.0 (linux) -- Thu Aug 19 06:33:20 PDT 2010
    o SL8500 library - managed by ACSLS 8.0.2
    Any ideas on how we can resolve this?
    Thanks,
    -pc

    You need to file that with Oracle Support as it does sound like a bug.
    However, splitting out your backups into individual datasets isn't the usual model. It's better to combine all similar items into a single dataset. I have some very large deployments with no more than 5 datasets per schedule. Typically I combine all similar clients into one dataset file, for example called LINUX and that contains many lines of Linux hosts.
    You could also use nested datasets, so your schedule could call a single dataset called sorrento-a and that would "include dataset" to build up the rest of the entries you want. That way your schedule only has to have a few datasets, and you don't have to modify the schedule when you make changes, you just change your datasets.
    So I would do this :
    schedule calls datasets sorrento-a,sorrento-b,siena-a, siena-b
    Dataset sorrento-a :
    include dataset /HOSTS/sorrento-a/export/pool-0/cdms_tools
    include dataset /HOSTS/sorrento-a/export/pool-0/cr-db
    include dataset /HOSTS/sorrento-a/export/pool-0/datools
    include dataset /HOSTS/sorrento-a/export/pool-0/datools-rw
    Dataset sorrento-b :
    include dataset /HOSTS/sorrento-b/export/pool-1/tahoe-lib-work2
    Dataset sienna-b :
    include dataset /HOSTS/siena-b/export/pool-1/vt40-lib-ref
    include dataset /HOSTS/siena-b/export/pool-1/vt40-lib-work1
    Thanks
    Rich

  • "Numbers stored as text" error in Excel when I schedule a report

    Dear all,
    When I schedule a report, I got a "Numbers stored as text" error in Excel.
    But when I save as xls directly from webI, I have no error in the excel sheet.
    So, is it a bug ? I have the BO XI 4.0 version.
    Or is there a special option to set concerning schedule ?
    Mike.

    Hi,
    First check the object data type in webi. Normally this error will come when  object/variable data type is Text in the report.
    If you are getting this error with object data type number then  add 0 in the object and see.
    Like  =[Object] + 0
    It will force the value to be converted in the number.
    Regards,
    Amit

  • Error 1 when scheduling upload

    Hello all,
    i am getting an error when i am trying to preview my load for the info package that i created
    The file that i am uploading is like this
    mat001 coke
    mat002 pepsi
    etc etc
    my info object is created as a character string
    I selected the master data tab
    The error i am getting is
    Error 1 when loading external data
    Message no. RSAR234
    Diagnosis
    Error number 1 occurred when loading external data:
    1. Error when reading the file (access rights, file name, ...)
    2. File size or number of records does not correspond to the data in the control file
    3. Error when generating the IDoc
    4. File contains invalid data (errors with an arithmetic operation or data conversion)
    Procedure
    Check whether you have the required access rights and whether the data in the control file is correct (file names, record length, number of records, ...). Correct the data in the control file if necessary and check the data file for invalid data (values of the wrong type, values in the wrong format for conversion exit,...). Check whether the file has headers that have not been specified.
    Please advice

    Hi,
    Try to change all the characters to uppercase.
    BW will not allow lowercase characters unless you select lowercase in your infoobject general tab.
    Regards,
    Baba

  • I get an error message when I sync my iPhone 5 with itunes on a Windows 7 laptop. When I go back to my music there are exclamation marks next to many songs. I have reinstalled iTunes

    I get an error message when I sync my iPhone 5 with iTunes on my Windows 7 Samsung laptop.  I recently backed up all of my data using Samsung Recovery Solution 5 to an external hard drive so that I could restore my laptop.  I put all of my data back on the restored laptop and reinstalled iTunes. After the error message that says that certain items could not be found and the "sync" is finished I go back to my music in iTunes and there are exclamation marks next to many songs.  I follow some instructions regarding the Edit - Preferences - Advanced settings and the exclamation marks go away until I try to sync my phone again.  Then I get the same error message and the exclamation marks return.  I have uninstalled and reinstalled iTunes and the same thing happens again.  I am about to schedule an appointment with the Genius Bar but would like to avoid that if possible.  Thank you in advance for any help. 

    Hello Courtney,
    Thank you for the details of the issue you are experiencing when syncing your music to your iPhone.  It sounds like iTunes is not able to locate the original file for the song to transfer it to your device.  I recommend reviewing the following articles to locate you music files on your computer:
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/ts1408
    Where are my iTunes files located?
    http://support.apple.com/kb/ht1391
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Getting multiple error while refreshing or scheduling WebI report

    Hi BO Admin Experts ,
    Feacing  multiple errors  while refreshing or scheduling webi reports in BI4.0 CMC ,
    Please find the below errors :
    1)report schedule status failed
    2)Parameters : xxxcorp-franklinee; ATOu supply unv
    Error Message : An internal error occured while calling 'ProcessDPcmndsEx' API (Error:ERR_WIS_30270)
    3 ) Format : WebI
    Parameters : 10000000000159270
    Error Message :CORBA error while communicating with the SL service
    Could you please help me on the abive 3 issues for the WebI schedule reports
    Cheers ,
    Pradeep Gorpadu

    Hi,
    While refreshing the WEBI Reports would recommend you check the WEBI PROCESSING Server's last changed date from CMC--> Servers.
    Check when you are refreshing the reports, do you see the time stamp changed of WEBI PROCESSING servers?
    Do you keep getting this error messages for all WEBI reports? Can you re-produce this with simple e-fashion reports as well?
    After that go to the node where WEBI PROCESSING servers installed and check on the event viewer details if you see any relevant error messages.
    Regards,
    Upendra

  • Error message when trying to update my world or anyof my applications

    I receive an error message when trying to update any of my applications.  Example  facebook, my world..etc...
    Error 40820 try later

    Hi and Welcome to the Community!
    While normally it is much more accurate to search with the accurate and complete error message, including all punctuation and error codes, in your case here is a KB that discusses that error:
    KB28188"BlackBerry App World is having trouble connecting to the BlackBerry App World server. Verify your network connections and try again. (Error id: 40820) " error is displayed when opening App World on the BlackBerry smartphone
    Hopefully it contains something useful! There also are multiple existing threads on this site that discuss that exact error...your review of those might prove useful, and a search of this site, using the error message, error code, or symptom, should reveal all applicable existing threads to you.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

Maybe you are looking for

  • Error while sending notificaiton to multiple users

    I created an adhoc role like: declare l_role_name varchar2(150):='TO_ROLE'; l_role_display_name varchar2(50):='TO_ROLE'; l_users := l_1_user||' '||l_2_user; l_1_ruser and l_2_user are of fnd_user%user_name type..and they get the user names from fnd_u

  • Macbook pro 13" (late 2011) makes a single loud sound on start-up?

    Hi This noise never used to happen before but since a few days it makes a loud single deep-chimed noise when it starts up then the normal screen comes on 10 seconds later? Is this normal or is something wrong? Please help. Thanks

  • Japanese Arch wallpapers

    I've been learning Japanese for a few years now and something that helps me is to surround myself with the language. I change my system language to Japanese, have sticky notes on household items etc... Wanting to keep the theme going, I made some Arc

  • Bought a new phone came with a new number

    I recently bought a new pre-paid lg g2, and it came with a new number. However i would like to transfer my old number to this phone. Is there anyway to do this, no one has been able to help me? Please help thanks!

  • Is there a way to have mail and calendar open upon start up?

    I want my mail and calendar applications to open when I start my iMac... is that even possible?