Getting Error In the Routine - While writing Code for the Cross Reference.

Hi,
Getting Error In the Start Routine - While writing Code for the Cross Reference from the Text table ( /BIC/TZMDES with Fields /BIC/ZMDES(Key),TXTSH ) Getting Error as [ E:Field "ZMDES" unknown ].
Transformation : IOBJ ZPRJ3(Source) -> IOBJ ZPRJC ( Target ).
The Source  Fields are: 0logsys(Key),zprj3(Key),ZDOM3.
The Target Fields are : 0logsys(Key),zprjc(Key),ZDOM3, UID.
Here i am trying to Update the target Field UID by Comparing the Source Field [ zprj3(Key)] with the Text table ( /BIC/TZMDES ) and update the UID.
The Code is as below:
Global Declarations in the Start Routine:
Types: begin of itabtype,
        ZMDES type /BIC/TZMDES-/BIC/ZMDES,
        TXT type /BIC/TZMDES-TXTSH,
         end of itabtype.
data : itab type standard table of itabtype
with key ZMDES,
wa_itab like line of itab.
Routine Code :
select * from /BIC/TZMDES into corresponding fields of table itab for
all entries in SOURCE_PACKAGE
where ZMDES = SOURCE_PACKAGE-/BIC/ZPRJ3.
READ TABLE itab INTO wa_itab
WITH KEY ZMDES = SOURCE_PACKAGE-/BIC/ZPRJ3
BINARY SEARCH.
IF SY-SUBRC = 0.
RESULT = wa_itab.
CLEAR wa_itab.
The tys_SC_1 structure is :
BEGIN OF tys_SC_1,
     InfoObject: 0LOGSYS.
        LOGSYS           TYPE RSDLOGSYS,
     InfoObject: ZPRJ3.
        /BIC/ZPRJ3           TYPE /BIC/OIZPRJ3,
     InfoObject: ZDOM3.
        /BIC/ZDOM3           TYPE /BIC/OIZDOM3,
     Field: RECORD.
        RECORD           TYPE RSARECORD,
      END   OF tys_SC_1.
    TYPES:
      tyt_SC_1        TYPE STANDARD TABLE OF tys_SC_1
                        WITH NON-UNIQUE DEFAULT KEY.
Please suggest with your valuable inputs.
Thanks in Advance

I have split the code in two.. one for start routine.. other for field routine.. hope this helps
Types: begin of itabtype,
ZMDES type /BIC/TZMDES-/BIC/ZMDES,
TXT type /BIC/TZMDES-TXTSH,
end of itabtype.
data : itab type standard table of itabtype
with key ZMDES,
wa_itab like line of itab.
Start routine
select * from /BIC/TZMDES into corresponding fields of table itab for
all entries in SOURCE_PACKAGE
where ZMDES = SOURCE_PACKAGE-/BIC/ZPRJ3.
Sort itab.
field routine
CLEAR wa_itab.
READ TABLE itab INTO wa_itab
WITH KEY ZMDES = SOURCE_FIELD-/BIC/ZPRJ3
BINARY SEARCH.
IF SY-SUBRC = 0.
RESULT = wa_itab-<field name>

Similar Messages

  • Getting Error ATP message log while availability check for document

    Dear Experts,
    Would you kindly help me to rectify the below problem which i am getting while avaialblity check for the sales docuemnt in ECC.
    Message : TM scheduling : Error while calling service: Internal.client-Receive_Failed
                    Error while receiving by HTTP( error code 400, error text)
                    ICM_HTTP_CONNECTION _FAILED
    Best reagrds,
    Guatam

    Hi
    Yes as Eltan says you need to consider there are two blocks of abap program:
    - the first one is the driver program (but it seems there's no problem here because it called the smartform quickly)
    - the second one is inside the smartform (It's possible to write abap routine in the smartform), and it seems the problem could be here
    The variable c_form_name has the name of the smartform, you can manage it by transaction SMARTFORMS
    but now it's not possible to say you why the print takes too long time, you need to do a trace
    Max

  • Getting Error of Runtime Exceeded while generating OTF for PDF in smartform.

    Hi All,
    I am getting a error of runtime exceeded while generating OTF file for PDF in smartform through FM. The report is taking too much time before giving the output...and most of the time going to dump saying report has exceeded the runtime. All is working well till the Smartform FM reached. I debugged this FM and found that the TABLES parameter is having problem, may be there are too many tables in that parameter.Please help. Below is the code-
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        formname           = c_form_name
      IMPORTING
        fm_name            = v_fm_name
      EXCEPTIONS
        no_form            = 1
        no_function_module = 2
        OTHERS             = 3.
    CALL FUNCTION   v_fm_name
      EXPORTING
        control_parameters      = wa_control
        output_options             = wa_output
        user_settings                = 'X'
        spl_gl                         = p_spl_gl
        open_dt                      = p_budat
        bukrs                         = p_bukrs
        w_check                    = w_check
        w_check1                   = w_check1
      IMPORTING
    *   document_output_info =
        job_output_info                  = wa_otf
    *   job_output_options     =
      TABLES
        kna1                       = t_kna1
        bsid_p                     = t_bsid_p
        bsid                         = t_bsid
        TEXT                       = t_text
        spl                           = t_spl
        bsid_x                      = t_bsid_x
        bsid_l                       = t_bsid_l
        bsid_h                      = t_bsid_h
        bsid_q                     = t_bsid_q
        bsid_tot                   = t_bsid_tot
      EXCEPTIONS
        formatting_error           = 1
        internal_error             = 2
        send_error                 = 3
        user_canceled              = 4
        OTHERS                     = 5

    Hi
    Yes as Eltan says you need to consider there are two blocks of abap program:
    - the first one is the driver program (but it seems there's no problem here because it called the smartform quickly)
    - the second one is inside the smartform (It's possible to write abap routine in the smartform), and it seems the problem could be here
    The variable c_form_name has the name of the smartform, you can manage it by transaction SMARTFORMS
    but now it's not possible to say you why the print takes too long time, you need to do a trace
    Max

  • Getting error log 'Customer' needs to be defined for the PA segment'

    Hi guru,
    i am posting automatic payment transaction (F110) ,but i am getting in display log that
    I am unable to do the posting?
    can somebody let me know any reason for this?
    04/09/2010 12:57:54 Job started                                                                        00           516          S
    04/09/2010 12:57:54 Step 001 started (program SAPF110S, variant &0000000089657, user ID X1SRAVKU)      00           550          S
    04/09/2010 12:57:54 Log for payment run for payment on 01/22/2010, identification EIN5                 FZ           401          S
    04/09/2010 12:57:54 'Customer' needs to be defined for the PA segment                                       ZF           019          S
    04/09/2010 12:57:54 Information re. customer 1002215 / paying company code WG ...                     FZ           306          S
    04/09/2010 12:57:54 ... payment not possible because of reported error                                 FZ           311          S
    04/09/2010 12:57:54 End of log                                                                         FZ           398          S
    04/09/2010 12:57:55 Job finished                                                                       00           517          S

    We have user defined PA characteristics.  If there is  new characteristic we update the custom lists through KES1.
    Lack of a match in this table, leads either to no description or the error you are describing.
    good luck

  • No record found in the table while using condition for the new added field

    Hi,
    I have added a new field in Z table. There is lots of record in the table. The field which I added have null records. When I am checking the record using the condition new field equal(EQ) to space or blank. This shows no record in the table, but when I execute whole of the table, it shows entries for all field.
    Please suggest. Thanks in Advance.
    Rgds,
    Hemant Maurya

    Hi Suhas,
    Thanks for your quick response.
    Yes I have run SE14 and activate & adjust the database, But problem is same.
    My select query is:
    SELECT VBELN
             PI
             GJAHR
             KUNNR
             GPD
             GPI
    INTO TABLE I_GP_DATA
    FROM ZFI_GP_DISCOUNTS
    WHERE AUGDT BETWEEN ZFI_GP_DISCOUNTS-AUGDT AND ZFI_GP_DISCOUNTS-P_DATE
    AND DOC_NO EQ SPACE.
    Thanks & Regards,
    Hemant Maurya

  • USER COMMAND CODE for the ICON "Back"

    Hello All,
                 I wanted to know if there is any command code for the user-command icon "back" that i can use while programming.
    e.g. as for the icon "save" there is '&data_save' code which we can use.
    I have used the code "&F03" for 'back" but it does not call the routine i have written for the same.
    So if in case no other code for "Back" icon is available, what is the procedure to implement the "back" command through programming?
    as when i click the icon,the code written inside the report should be executed along with the normal "back" function.
    Thanks

    Hi..
    you do one thing..put /h. then click on back.At the bottom pART of the debugging screen u find
    Field names section..There type sy-ucomm and press enter. The value of sy-ucomm can be seen...
    Thats the value u need...Which u can use the same in case statement
    and its case sensitive.chk the same.. and  write it in quotes( ''). that is 'BACK' or 'F03'
    Edited by: Rudra Prasanna Mohapatra on Jun 21, 2008 7:48 AM

  • What is STB Remote Control code for the Magnavox 15MF400T/3​7 set?

    Does anyone know or know where to find the correct remote control code for the 15MF400T/37 set?

    If none of the codes worked, your only other option is to do a scan.
    WHAT IF NONE OF THE CODES WORKED?
    If none of the codes worked, try the following procedure. (As before, we will use the example of a TV. For other devices use the appropriate Device Key instead of the
    TV
    key in step 2 and 3.) 
    1. Turn on your TV.
    2. Press and hold the TV key.
    3. While holding down the TV key, press OK
    4. Release both keys. The Device Keys will blink twice.
    5. Press 9 - 2 - 2
    6. Point the remote at the TV.
    7. Press the play button 
    8. Press FF button . Every time you press the FF button the remote sends out a new power-off command to the TV. Keep pressing FF until the TV turns off.
    9. When the TV turns off, you have found the right code. Press OK  to store this code.
    Note: There are over 300 TV and DVD codes. The most common codes are tried first, but you may still need to press FF over 300 times to find the right code. If you reach the end of the list of codes the entire remote will flash twice and return to normal operation. You can exit programming at any time by pressing EXIT 
    If you do this and it still doesnt work, then your tv and the verizon remote dont have a common code and it will not work with your tv.
    ====================================================================================
    Error exists between keyboard and chair.

  • Script Component WebService Binary code for the script is not found

    I am using SSIS 2012 to access a Public Web Service
     http://marketinformation.natgrid.co.uk/MIPIws-public/public/publicwebservice.asmx
    However, when adding reference to WebService (not Service Reference),
    I receive the dreaded msg "Binary code for the script is not found"
    I have spent an age ploughing through the forums.
    Many replies seem to suggest not using Script Component to acces WebService.
    Should I write a .NET app  ?
    Any thoughts how I should proceed would be most welcome.
    thanks JohnJames

    Hi JohnJames,
    If I understand correctly, you already add this public web service via Add Service Reference option in the Script Component. Then you receive the error message when you trying to call the bindings and Contract settings stored in app.config file to access
    the web service.
    Please note that we cannot all the web service normal way as SSIS Script Component task doesn’t recongnise the app.config file. To fix this issue, we should define the BINDINGS via code rather than depending on the App.config file. For more details, please
    see the following blog:
    http://social.technet.microsoft.com/wiki/contents/articles/22587.consume-webservice-via-ssis-script-component.aspx
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to maintain Import Processing: Control Code for the country India

    Hi Gurus,
    I need to maintain the Control Processing: Control Code for the country India in SPRO configuration.
    Please tell me the path to maintain it.
    Thanks,
    Thiyagu

    spro@Logistics - General@Material Master@Material IDs@Maintain PKWiUs
    Regards,
    Indranil

  • How to Find unused programs / T-codes for the past three months

    How to find the unused programs / transaction codes for the past three months,
    I tried with the ST03 Transaction but it gives only the Tcodes, program used in last one monthu2026
    Regards,
    Purshoth

    This depends on the data retention time (in days) maintained in your system. In ST03, on the right hand side, check "Collector" tab, under that "Performance Database" and then "Reorganization" which will give you the details retention times  (in days).
    Also please check the link http://inet.tamko.com:8081/saphelp/helpdata/EN/c4/3a68d5505211d189550000e829fbbd/frameset.htm for more details.
    Thank You.

  • Getting error in my device while signing up to ICloud. The same ID's is working well in downloading itunes

    Getting error in my device while signing up to ICloud. The same ID's is working well in downloading itunes

    Hi Maninder Singh Golar,
    Thanks for visiting Apple Support Communities.
    If you can use your Apple ID to sign into the iTunes Store, but not iCloud, see this article for some troubleshooting tips that can help:
    iCloud: Account troubleshooting
    http://support.apple.com/kb/TS3988
    Cheers,
    Jeremy

  • Trying to install Lightroom on a MacAir and I get an error message that an error occurred while evaluating JavaScript for the package

    Error occurred while evaluating JavaScript for the package.  Trying to install a Lightroom 5.6 download on an AirMac 10.9.4 OS.  Already installed on my Mac laptop.  Tried restating laptop but got the same error message

    Hi,
    Just wanted to say I found out the answer. I should have looked first to see if anyone else was having the same problem but I didn't. 

  • Getting error message when i am trying to update the excel file using script task in ssis package

    Hi Guys,
    I am getting error message when I am trying to update the excel. Please find the error messages as below
    Error at Update File [Update File]: Failed to compiled scripts contained in the package. Open the package in SSIS Designer and resolve the compilation errors.
    Error at Update File [Update File]: BC30002 - Type 'Microsoft.Office.Interop.Excel.Application' is not defined., ScriptMain.vb, 32, 32
    Error at Update File [Update File]: BC30002 - Type 'Microsoft.Office.Interop.Excel.Workbook' is not defined., ScriptMain.vb, 33, 25
    Error at Update File [Update File]: The binary code for the script is not found. Please open the script in the designer by clicking Edit Script button and make sure it builds successfully.
    Warning at Update File [Update File]: Found SQL Server Integration Services 2008 Script Task "ST_050fcae972904039b4f0fe59b7528ece" that requires migration!
    and the code that   I am using is
    Dell - Internal Use - Confidential
    ' Microsoft SQL Server Integration Services Script Task
    ' Write scripts using Microsoft Visual Basic
    ' The ScriptMain class is the entry point of the Script Task.
    Imports System
    Imports System.Data
    Imports System.Math
    Imports Microsoft.SqlServer.Dts.Runtime
    Imports Microsoft.Office.Interop.Excel
    <System.AddIn.AddIn("ScriptMain", Version:="1.0", Publisher:="",
    Description:="")> _
    <System.CLSCompliantAttribute(False)> _
    Partial
    Public Class ScriptMain
    Inherits Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
    Enum ScriptResults
                Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success
    Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
    End Enum
    Public Sub Main()
            Dts.TaskResult = ScriptResults.Success
    'Dim proc As System.Diagnostics.Process
    'kill all instances of excel
    'For Each proc In System.Diagnostics.Process.GetProcessesByName("EXCEL")
    ' proc.Kill()
    'Next
    Dim excelnacomm As
    New Microsoft.Office.Interop.Excel.Application
    Dim wbnacomm As Microsoft.Office.Interop.Excel.Workbook
            wbnacomm = excelnacomm.Workbooks.Open("http://test.xlsx")(renamed
    the excel)
            wbnacomm.RefreshAll()
            wbnacomm.Save()
            wbnacomm.Close()
            excelnacomm.Quit()
            Runtime.InteropServices.Marshal.ReleaseComObject(excelnacomm)
    End Sub
    End
    Class
    Please let me know what could be the reason
    Smash126

    Download:
    Microsoft Office 2010: Primary Interop Assemblies Redistributable
    How to: Add or Remove References By Using the Add Reference Dialog Box  /  How to:
    Add and Remove References in Visual Studio (C#)
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • "Message from Webpage (error) There was an error in the browser while setting properties into the page HTML, possibly due to invalid URLs or other values. Please try again or use different property values."

    I created a site column at the root of my site and I have publishing turned on.  I selected the Hyperlink with formatting and constraints for publishing.
    I went to my subsite and added the column.  The request was to have "Open in new tab" for their hyperlinks.  I was able to get the column to be added and yesterday we added items without a problem. 
    The problem arose when, today, a user told me that he could not edit the hyperlink.  He has modify / delete permissions on this list.
    He would edit the item, in a custom list, and click on the address "click to add a new hyperlink" and then he would get the error below after succesfully putting in the Selected URL (http://www.xxxxxx.com), Open
    Link in New Window checkbox, the Display Text, and Tooltip:
    "Message from Webpage  There was an error in the browser while setting properties into the page HTML, possibly due to invalid URLs or other values. Please try again or use different property values."
    We are on IE 9.0.8.1112 x86, Windows 7 SP1 Enterprise Edition x64
    The farm is running SharePoint 2010 SP2 Enterprise Edition August 2013 CU Mark 2, 14.0.7106.5002
    and I saw in another post, below with someone who had a similar problem and the IISreset fixed it, as did this problem.  I wonder if this is resolved in the latest updated CU of SharePoint, the April 2014 CU?
    Summary from this link below: Comment out, below, in AssetPickers.js
    //callbackThis.VerifyAnchorElement(HtmlElement, Config);
    perform IISReset
    This is referenced in the item below:
    http://social.technet.microsoft.com/Forums/en-US/d51a3899-e8ea-475e-89e9-770db550c06e/message-from-webpage-error-there-was-an-error-in-the-browser-while-setting?forum=sharepointgeneralprevious
    TThThis is possibly the same information that I saw, possibly from the above link as reference.
    http://seanshares.com/post/69022029652/having-problems-with-sharepoint-publishing-links-after
    Again, if I update my SharePoint 2010 farm to April 2014 CU is this going to resolve the issue I have?
    I don't mind changing the JS file, however I'd like to know / see if there is anything official regarding this instead of my having to change files.
    Thank you!
    Matt

    We had the same issue after applying the SP2 & August CU. we open the case with MSFT and get the same resolution as you mentioned.
    I blog about this issue and having the office reference.
    Later MSFT release the Hotfix for this on December 10, 2013 which i am 100% positive should be part of future CUs.
    So if you apply the April CU then you will be fine.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • 10.8.2 update: can't install "error occurred while evaluating Javascript for the package"

    Greetings All-
    I'm trying to update from 10.8.1 to 10.8.2 on my Macbook Air. When I downloaded the .dmg from Apple and ran it, I got the following error:
    "OS X Update Can't be installed on this disk. An error occurred while evaluating JavaScript for the package."
    So far, I've done the following, all to no avail:
    (1) Updated Java to v7 per Java's website, no change
    (2) Downloaded the 10.8.2 combo update, no change
    (3) Found Apple's OS X Java update (which is still at v6)- get an error at install that "the contents of the disk can't be changed"
    (4) Restarted at each step
    Does anyone have any suggestions or ideas?
    Thanks!

    Permission repair, too?
    Take a look here: https://discussions.apple.com/thread/3811748?start=0&tstart=0
    And possibly here:  https://discussions.apple.com/thread/3889562

Maybe you are looking for

  • [Guide] How To Clear the Play Queue

    QuestionHow do I clear the play queue? AnswerPlease note this is an unofficial workaround and not an official solution.  1 - Click New Playlist. 2 - Add only one song to the Playlist. 3 - Whenever you want to clear the Play Queue double click it. Onc

  • AP WLC ISE AD

    Hi, We have the following issues on a wireless network running PEAP, authenticating on Active Directory through ISE 1.1.2: Windows 7 laptops: (using native MS wifi drivers) Inconsistent connection attempts. Issue appears to be with certificate on ISE

  • ClassCache Problem in iPlanet6.0

    We are using iPlanet6.0 on solaris. we are having cache problem. Everytime we make any change in the JSP , it is not getting refected in the ClassCache area. ie, The Jsp is not getting compiled. What could be the Problem.

  • Adapter messages not found

    Hi all.           i have a scenario where the JMS adapter is picking a file.I used content conversion for this JMS comm channel.I am unable to see the data either in SXMB_MONI or in message monitoring,,, that is picked by the JMS adapter.There is no

  • Batch import fails with more than about 250 photos

    The batch-import problem (more than about 250) persists with Keynote 09. I am disappointed because I know no alternative to Keynote to make superior slideshows (Text, moving graphics, opacity control etc.) I have to import 550 slides to Keynote 09. T