Insane object error(The string control not getting any values)

In LabVIEW 8.2 i am using the string control to get the text from the users, and initially there was no problem at the time of development it works perfectly, after building the installer,
these string controls are not getting any string input, it seems like a disabled one, but actually it was not disabled, when we try to click over that through the mouse,
 that text inputting cursor was not blinking over there,I screen looks as below, some error messages are thrown from the LabVIEW like insane object error, even
now there was the same problem in the source code itself, what to do rectify this. Only this part generates error all other remaining screen panels are working perfectly.

This kind of problem can be a pain to locate. This often occurs when the wiring to or from a control or indicator is bery long, convoluted and hidden inside of structures or behind things. So first, you need to identify which VI specifically is generating the error by individually saving VIs and subVIs until you find the one that is generating the error. Now try and remember the last time that VI saved without a problem and what edits you made since then. Places where I have had this occur was when I drag-copied a control and a couple VIs into a small structure. Sometimes the wires would seem to conect up properly, but when I tried to save the VI I got this error. The solution was to disconnect all the wires associated with the VIs I had copied and rewire them.
Also, can you post the VI that is doing it? Shouldn't need the subVIs for this...
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

Similar Messages

  • Import-SPWeb Error - The string was not recognized as a valid DateTime. There is an unknown word starting at index 0

    Using the Export-SPWeb PowerShell command on a server to move a document library from one site colelction in a content database to another site collection in a seperate content database.
    Am using the following command:
    Export-SPWeb
    -Identity
    https://sp.bacl.net/legal/rr
    -Path
    \\bacvsspa01\backups\rr\rr.cmp
    -ItemUrl
    rr
    -IncludeVersions
    All
    -IncludeUserSecurity
    Not all documents are transferred hwoever. I get some errors like the following:
    [11/02/2014 2:21:44 PM] [ListItem] [16Jun11 17.32.09_BAC employees provid_Tom Heading.msg] Progress: Importing
    [11/02/2014 2:21:44 PM] [ListItem] [16Jun11 17.32.09_BAC employees provid_Tom Heading.msg]   Verbose: List URL: /legal/legal/rr
    [11/02/2014 2:21:44 PM] [ListItem] [16Jun11 17.32.09_BAC employees provid_Tom Heading.msg]   Error: The string was not recognized as a valid DateTime. There is an unknown word starting at index 0.
    [11/02/2014 2:21:44 PM] [ListItem] [16Jun11 17.32.09_BAC employees provid_Tom Heading.msg]   Debug:    at System.DateTime.Parse(String s, IFormatProvider provider)
       at System.Convert.ToDateTime(String value, IFormatProvider provider)
       at System.Runtime.Serialization.SerializationInfo.GetDateTime(String name)
       at Microsoft.SharePoint.Deployment.MetaInfoProperty..ctor(SerializationInfoHelper infoHelper)
       at Microsoft.SharePoint.Deployment.FileSerializer.GetMetaInfo(SerializationInfoHelper infoHelper)
       at Microsoft.SharePoint.Deployment.FileSerializer.CreateOrUpdateFile(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid id, String& fileUrl, Boolean fileExistsInDb, Boolean isFirstVersion, Boolean hasWebParts, SerializationInfoHelper
    infoHelper, SerializationInfoHelper infoHelperListitem, StreamingContext context)
       at Microsoft.SharePoint.Deployment.FileSerializer.CreateOrUpdateFileAndAssocData(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid id, String& fileUrl, Boolean fileExistsInDb, SerializationInfoHelper infoHelper, SerializationInfoHelper
    infoHelperListitem, StreamingContext context, ISurrogateSelector selector)
       at Microsoft.SharePoint.Deployment.ListItemSerializer.AddOrUpdateDoclibItem(SerializationInfoHelper infoHelper, SPListItem& listItem, SPLoggerObject loggerObject, SPWeb web, Guid newId, String& listItemServerRelativeUrl, Boolean bIsPublish,
    Boolean exists, StreamingContext context, ISurrogateSelector selector)
       at Microsoft.SharePoint.Deployment.ListItemSerializer.SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
    I had a look in the .cmp file that was created (Changed extensions to .cab) and had a look at the Manifest.xml file. Relevant XML below:
    <SPObject Id="b18cc711-e5df-4ee7-9639-866e5b6613b0" ObjectType="SPFile" ParentId="1ad76e87-43e6-4cbf-a0a1-53af4975668f" ParentWebId="4be7e61f-b1c7-473f-acc3-0bae06e32024" ParentWebUrl="/legal/rr" Url="/legal/rr/rr/Employees
    giving First Aid/16Jun11 17.32.09_BAC employees provid_Tom Heading.msg">
            <File Url="rr/Employees giving First Aid/16Jun11 17.32.09_BAC employees provid_Tom Heading.msg" Id="b18cc711-e5df-4ee7-9639-866e5b6613b0" ParentWebId="4be7e61f-b1c7-473f-acc3-0bae06e32024"
    ParentWebUrl="/legal/rr" Name="16Jun11 17.32.09_BAC employees provid_Tom Heading.msg" ListItemIntId="37" ListId="020f8304-a50f-413b-be27-40d0ccc9e497" ParentId="1ad76e87-43e6-4cbf-a0a1-53af4975668f" TimeCreated="2011-11-16T07:02:00"
    TimeLastModified="2011-11-16T07:02:00" Version="1.0" CheckinComment="Loaded Using Dell Solutions for SharePoint" FileValue="00000013.dat" Author="29" ModifiedBy="24">
                <Properties>
                    <Property Name="vti_title" Type="String" Access="ReadOnly" Value="BAC employees providing first aid" />
                    <Property Name="source_item_id" Type="String" Access="ReadWrite" Value="source_item_id:1" />
                    <Property Name="vti_foldersubfolderitemcount" Type="Integer" Access="ReadOnly" Value="0" />
                    <Property Name="Attach Count" Type="String" Access="ReadWrite" Value="Attach Count:0" />
                    <Property Name="Created By" Type="Boolean" Access="ReadWrite" Value="Created By:BNE_AIR1\\jbrown" />
                    <Property Name="Importance" Type="String" Access="ReadWrite" Value="Importance:1" />
                    <Property Name="From1" Type="Time" Access="ReadWrite" Value="From1:Tom Heading" />
                    <Property Name="AttachCount" Type="String" Access="ReadWrite" Value="AttachCount:0" />
                    <Property Name="ContentTypeId" Type="String" Access="ReadWrite" Value="0x0101003699C96894FF79479322E4A235852946000530E240279BA54D8F621B39A4E09CF3"
    />
                    <Property Name="Modified By" Type="Boolean" Access="ReadWrite" Value="Modified By:BNE_AIR1\\jbrown" />
                    <Property Name="vti_folderitemcount" Type="Integer" Access="ReadOnly" Value="0" />
                    <Property Name="display_urn\:schemas-microsoft-com\:office\:office#Author" Type="String" Access="ReadWrite" Value="Jenny Brown"
    />
                    <Property Name="Document Created By" Type="Boolean" Access="ReadWrite" Value="Document Created By:BNE_AIR1\\jbrown" />
                    <Property Name="Created_x0020_By" Type="Boolean" Access="ReadWrite" Value="Created_x0020_By:BNE_AIR1\\jbrown" />
                    <Property Name="vti_cachedtitle" Type="String" Access="ReadOnly" Value="BAC employees providing first aid" />
                    <Property Name="Modified_x0020_By" Type="Boolean" Access="ReadWrite" Value="Modified_x0020_By:BNE_AIR1\\jbrown" />
                    <Property Name="ContentType" Type="String" Access="ReadWrite" Value="Legal Document" />
                    <Property Name="Attach_x0020_Count" Type="String" Access="ReadWrite" Value="Attach_x0020_Count:0" />
                    <Property Name="display_urn\:schemas-microsoft-com\:office\:office#Editor" Type="String" Access="ReadWrite" Value="Jenny Brown"
    />
                    <Property Name="vti_parserversion" Type="String" Access="ReadOnly" Value="15.0.0.4535" />
                    <Property Name="To" Type="Boolean" Access="ReadWrite" Value="To:Barry Peach" />
    <Property Name="From" Type="Time" Access="ReadWrite" Value="From:Tom Heading" />
                    <Property Name="Document Modified By" Type="Boolean" Access="ReadWrite" Value="Document Modified By:BNE_AIR1\\jbrown"
    />
                </Properties>
            </File>
        </SPObject>
    Now, looking at the source document library, this document has the field in question set to String, so why has it been marked as a Time filed type in the expiort file?
    Is anyone aware of any issues with the Export-SPWeb commandlet?
    SharePoint 2013 + March PU + AUG 2013 CU.
    Any help appreciated.

    Hi Richard,
    According to your description, the error occurred when you ran the Export-SPWeb command.
    I recommend to verify the things below for troubleshooting:
    Save the document library as an template(include content) and create a new document library based on the template, then run the Export-SPWeb command to export the new document library to see if the issue still occurs.
    Did this issue occur with other document library? If not, you can delete the string field with error, then run the Export-SPWeb command to narrow the issue scope.
    As a workaround, you can save the library as a template and deploy it to the site collection where you want to move the library, then create the new library in the site collection.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • OWHS table not getting any value in PLD

    I am trying to make a pld in which i want to pull the database table owhs and place the warehouse address i am not getting any value in the PLD however there is adress in the ware house field still its not getting me any result
    Please help
    Regards,
    manish

    Hi Manish....
    Even if you get the OWHS table you wont get the address format as you desire. That is complete concatenated address. It will be like city, street, country like that.....
    Regards,
    Rahul

  • SQL 2012 - SSIS Error -The step did not generate any output. The return value was unknown. The process exit code was -1073741819. The step failed.

    Hi guys 
     Trying to run this package on SQL 2012 agent  and getting below error . No more details I could find so far.
    The step did not generate any output.  The return value was unknown.  The process exit code was -1073741819.  The step failed.
    About Package - Its connecting to different version (2000,2005,2008,2008R2,2012) servers and putting Jobs information into one Database table.  
    Any workaround or fix ?
    Thanks
    Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach

    New package or one that used to work? Connecting how? How does it poll?
    On the surface it is an error from a memory space of the binary/non-managed code, so nothing can be really concluded based on what you decided to share with us.
    Arthur My Blog
    So Same package is working fine from my local machine which has SQL 2008 R2 and SQL 2012 installed. I am trying to push the package on server which has sql server 2012 Installed . 
    I don't see any error .
    I ran package manually from server using SQL Data tools and ran successfully...
    Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach

  • Error:The node does not contain any elements

    Hi Experts,
    I am getting this error.
      The following error text was processed in the system SR6 :  The node does not contain any elements. COMPONENTCONTROLLER.1.ROADMAP
    The error occurred on the application server server6_SR6_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
          Method: RAISEELEMENT_NOT_FOUND of program CL_WDR_CONTEXT_NODE===========CP
          Method: IF_WD_CONTEXT_NODE~SET_STATIC_ATTRIBUTES of program CL_WDR_CONTEXT_NODE_VAL=======CP
          Method: WDDOINIT of program /1BCWDY/G25NECI0LTPP66VI3KOI==CP
          Method: IF_WDR_COMPONENT_DELEGATE~WD_DO_INIT of program /1BCWDY/G25NECI0LTPP66VI3KOI==CP
          Method: DO_INIT of program CL_WDR_DELEGATING_COMPONENT===CP
          Method: INIT_CONTROLLER of program CL_WDR_CONTROLLER=============CP
          Method: INIT_CONTROLLER of program CL_WDR_COMPONENT==============CP
          Method: INIT of program CL_WDR_CONTROLLER=============CP
          Method: INIT of program CL_WDR_CLIENT_COMPONENT=======CP
          Method: INIT of program CL_WDR_CLIENT_APPLICATION=====CP
    What is the problem here?
    Thank you.
    Lalitha.

    (Assuming you have created elements for node...)
    Definitely it is cardinality problem, please check that... Try to understand below points to avoid such error.
    When a node is created in the context of a Web Dynpro component, the cardinality of the node is specified. The cardinality defines how often a node is to be instantiated at runtime u2013 that is, how many elements of this node are available at runtime.
    u2022        1u20261          Only one element is instantiated.
    u2022        0u20261          At runtime, no more than one element is instantiated, but it is also possible that no element is instantiated.
    u2022        1u2026n          n elements can be instantiated, but at least one element must be instantiated.
    u2022        0u2026n          The number of instantiated elements of the context node can vary.
    The cardinalities 0..n and 1..n correspond to the declaration of an internal table. The cardinality 1..1 corresponds to the declaration of a structure.
    Thanks,
    Swanand.

  • Oracle error: The listener could not find any available service handlers...?

    I'm running Coldfusion 8 and Oracle XE 10, both on IIS 7.
    Every so often, I get this message:
    [Macromedia][Oracle JDBC Driver][Oracle]ORA-12519 The
    listener could not find any available service handlers that are
    appropriate for the client connection. One possible cause for this
    error is that the server was not configured for the specified
    server type (shared/dedicated).
    I can restart the OracleServiceXE service and it works fine.
    However, I have no clue what is causing this. I believe it all
    began once I started using CFSCRIPTS and running queries using that
    instead of CFML. Would anyone know what COULD cause this error to
    happen and what I should look out for? I am new to Oracle and CF
    btw.
    Also, I can access it fine through the oracle homepage, but
    when I attempt to connect to it from the coldfusion administrator,
    it cannot establish a connection to that data source. It is only
    after I restart the service that things go back to normal. Thanks.
    Ryan

    Hello,
    Can you provide output of the following? Any other errors along with this error in alert.log file? Also your listener.ora and tnsnames.ora?
    lsnrctl>set displaymode verbose 
    lsnrctl>services your_listener_name 
    lsnrctl>status
    $> sqlplus '/as sysdba'
    sql> select * from v$resource_limit;Regards
    Edited by: OrionNet on Jan 14, 2009 10:17 PM
    Edited by: OrionNet on Jan 14, 2009 10:22 PM

  • CF error: The listener could not find any available service handlers...?

    I'm running Coldfusion 8 and Oracle XE 10, both on IIS 7. Every so often, I get this message:
    [Macromedia][Oracle JDBC Driver][Oracle]ORA-12519 The listener could not find any available service handlers that are appropriate for the client connection. One possible cause for this error is that the server was not configured for the specified server type (shared/dedicated).
    I can restart the OracleServiceXE service and it works fine. However, I have no clue what is causing this. I believe it all began once I started using CFSCRIPTS and running queries using that instead of CFML. I know this isn't a coldfusion forum, but would anyone know what COULD cause this error to happen and what I should look out for? I am new to Oracle and CF btw. Thanks.
    Ryan

    Hi rpeters83 and 396167,
    Did you find a solution for this?
    We have ColdFusion 7.0.2 connecting to an Oracle Database 10 R2 and we just got this error when executing a ColdFusion component.
    This is the first time we see this error and this CF/Oracle setup has been working fine for a long time.
    Thanks.

  • Not getting any value in my method

    Hi,
            I wnat to use  attributes value Company code in my custom method in the BUS ZZBUS2081 . company code is key field of another BUS  BUS0002. For that I am using  swc_get_element CONTAINER 'CompanyCode' COMPANYCODE. but when I am executing BUS zzbus2081,attributes value is populated but i am not getting this value in my custom method. please help.

    You can try to do some thing like this
    1. First if you want to access the key element of the BOR then first import the instantiated BOR from which you want to access the attributes.
      In your case it is BUS0002
    DATA:    lv_obj    type swc_object.
    swc_get_element container '<name of the instantiated BOR>' lv_obj.
    2.once you have the instantited bor element in the Mehtod then make use of the macro
    SWC_GET_PROPERTY
    please check the below snippet
    swc_get_element  container     '_Workitem'          lv_wi_object.
    swc_get_property lv_wi_object  'Workitemid'         lv_wiid.

  • HT4356 When I try to set up my itouch I get an error message itunes store unknown error 310. I don't have wieless so I hooked the ipod touch up to the computer with the USB port when instructed. But then get the error message and can not get any further.

    Error message 310 is happening on my mac book and I am unable to set up my new itouch.

    If you are running Tiger, you don't have time machine. 
    You need to get something like SuperDuper! or Carbon Copy Cloner (sorry, I don't have a handy link for CCC but you can Google it to get their site) to make a clone of your drive on the external and then do incremental backups.  The free versions do a lot and you can upgrade to the full-service versions for small change if you need more.  The one time I used SuperDuper! for cloning a volume it worked just fine. 
    (My backup application is the last PPC capable version of Retrospect, which does a credible job, or has over the past ten-twelve years.)

  • I don't get VI errors but I am not getting any display.

    This is the problem that I am having, nothing seems to come into the Image Pixels (U8) on the Front panel. I don't get an image, the image box just stays white and nothing at all comes up for the pixels. What do you think is going on? I was wondering where I could probe the VI so that I could figure out if anything from the image is getting through. Where would I do that? I want to make sure the VI is getting something from the IMAQ board. Also what kind of probe would be the best to use? (I know it depends on what I am probing).
    Attachments:
    Acquire_Image_and_Save_Pixels_Without_Vision.vi ‏83 KB

    Try changing the input to the For Loop iteration terminal from 4 to 256, as done in the following example program.
    HL Grab in Picture Control:
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3EB3756A4E034080020E74861&p_node=DZ52505&p_source=External
    Hope this helps-
    Julie

  • New SP Custom List results in Power Query Error: Expression.Error: The key did not match any rows in the table.

    Hi,
    I'm running into something that seems to be a bug in Power Query. I've got my Power Query tables from SharePoint lists into Excel and Power Pivot data model. (Making sure the SharePoint site is in English and I replace MMD columns with normal columns). 
    But then, when I close down Excel, add another custom list to SharePoint, open the Excel workbook and want to add that new custom list using the same connection (via recent data sources).
    It shows the newly added custom list in the explorer but with an error:
    Nothing I can do to fix this; restarting Excel or PC; nothing. 
    The only way I got around this was by removing all my existing data sources and re-create them.. 
    after that, the same SharePoint custom list WAS read with Power Query without an issue.
    Thanks,
    Jeroen

    Its because of recent updates to Power Query.
    In recent updates internally their is some change in syntax for reading particular table from list (I faced this issue while reading data from Excel file, i.e After applying recent update of Power Query my Queries which were working fine before starting
    throwing same error that yo are facing).
    As solution their is small tweak to be done in existing queries, instead of recreating all queries. If you can provide me your complete old query from Advanced editor then I can point to tweak that need to be done.
    Thanks,
    Sagar K

  • Error: The structure must not be a value class. parameter name structure

     public struct Alert_Cue_Type
                public short Test_Mode;
                public short WXR_Aural_Alert_Requests;
    public struct AURAL_TYPE
                public Alert_Cue_Type Alert_Cue;
                public ushort Checkword;
                public ushort PacketId;
                public short pad;
                public ushort Payload_Size;
                public ushort WordId;
    char[] Buffer = new char[3200];
    Buffer=ReceiveData();
    AURAL_TYPE Alerts = new AURAL_TYPE();
    int AURAL_TYPE_Size = Marshal.SizeOf(Alerts);
    IntPtr ptr = Marshal.AllocHGlobal(AURAL_TYPE_Size);
    Marshal.Copy(Buffer, 6, ptr, AURAL_TYPE_Size);
    Marshal.PtrToStructure(ptr, Alerts);//Error as mentioned in title
     How to fix it?

    take a look at this solution please:
    http://stackoverflow.com/questions/1195685/argument-exception-error-type-question
    I think you need this modification based on the solution suggestion in the link:
    (AURAL_TYPE)Marshal.PtrToStructure(ptr, typeof(AURAL_TYPE));

  • TS4425 I tried this on my iPad.  The but did not get any terms and conditions.  Photo stream works fine on the iPad but not on Apple TV.  What do I do?

    Followed the instructions but they don't work.  On the iPad I got no new T&Cs and it works fine.  So I have no means to agree the new T&Cs and because of that it does not work on Apple TV. 

    Personally I think the iOS devices are poor at reconnecting  - Airplay establishes that a link is available but when the iPhone/iPad has been away from the house and rejoins the network i think AppleTV already thinks it's connected with a different IP address and fails to recognise it has joined the network again with new credentials.
    Something along those lines anyway.
    I find that a combination of restarting AppleTV, router and iOS device tends to fix it, but not for everyone.
    AC

  • BI Publisher Word Template The report does not contain any data fields.

    I have OBIEE BI Publisher report (10.3.4) working fine using BIP but using MS Word 2003 I want to create new template and want to add charts etc.
    Step 1. In MS Word I successfully login Oracle BI Publisher as Administrator
    2. Oracle BI Publisher -> Open (I open the report)
    3. Go to Insert -> Table Wizard
    I get this error:
    The report does not contain any data fields. Please make sure that the reports generates data with the default settings or provide a valid XML file.
    Please help

    Hi
    How do I load XML data? Also why XML data load is required? Do I have to export XML data from BIP View screen and load from the same file from the word?
    Please clarify
    Thanks

  • Standar ws ProjectByPartyQueryResponse_In is not returning any values

    Hi gurus,
      I'm trying to use the standar webservice ProjectByPartyQueryResponse_In in our landscape in order to get all the projects related to the person responsible for the project but the web service is not returning any values.
    When I execute the service -using soapui- with the following values (or any other value for that matters):
    <PartyID>20000143</PartyID>
    <PartyRoleCode>ZA</PartyRoleCode>
    The web service always returns :
           <Log>
                <BusinessDocumentProcessingResultCode>5</BusinessDocumentProcessingResultCode>
                <MaximumLogItemSeverityCode>3</MaximumLogItemSeverityCode>
                <Item>
                   <TypeID>002(ECC_SE_COMMON)</TypeID>
                   <SeverityCode>3</SeverityCode>
                   <Note>No records returned for ZA 0020000143</Note>
                </Item>
             </Log>
    The party Id exists and also de party role code and there is at least one project that has that party with that role. I'm sure because I use other web service to find a project by id and in the result the project has the <Party> section with those values.
    I was looking for solutions, notes, threads in forums with no success, then i decided to debug the webservice and I did find the following line in the webservice code.
      SELECT objnr INTO TABLE it_data FROM ihpa
      WHERE  parvw = role_code AND
             parnr = party_id AND
             obtyp = 'PDN'.
    when that line executes the select always returns 0 values, then I look in the table IHPA using the SE16 without any filter and I found that my records exists!! but the select does not get it. I was wondering why the select is not working and then I filter the data in the SE16 using the same values that the query does
    for example:
    PARVW= ZA
    PARNR = 20000143
    OBTYP = PDN
    And I was surprised when the SE16 did not found any value even I was seeing in the previous screen with no filters!!!! And I supouse thats why the webservice is not working. I started making filters one by one, for example firts filtering just de PARVW = ZA and works, but when I filter just the PARNR =  20000143 the SE16 can't find any value, just when I put an * at the end of the number the SE16 returns all the values expected, Im guessing that the fields in the database has blanks at the end but this is a standar table and a standar program.
    Have any of you had the same problem? is there anything that I can do? does anyone knows if this is an unkown bug? becaus I could'n find any note on the marketplace.
    Any help would be appreciated.
    Gustavo Balboa

    Hi!
      The problem were solved but not using the Badi, because the badi only let you change the value of the var party_id and that var is declared as PARNR (of type numeric with length 10), and no mater wat you do the two 00 can´t be removed.
      We solved the problem with an enhancement point in the code at the method "party_get_data", look at the beginin and at the end. We just change the type of var used for party_id.. now we use a CHAR one insted the numeric used by the original code.
    And we repeat the select...
    Thank you very much for the help.
    METHOD party_get_data.
    """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$SE:(1) Class CL_PRS_PROJECTPRJPARTYQR, Method PARTY_GET_DATA, Start                                                                                A
    $$-Start: (1)----
    $$
    ENHANCEMENT 1  ZPARTY_GET_DATA.    "active version
    DATA : WA_PARNR TYPE I_PARNR.
    DATA : WA_CHPAR(10) TYPE C.
    ENDENHANCEMENT.
    $$-End:   (1)----
    $$
      DATA :  temp_object_number TYPE ihpa-objnr,
              field1 TYPE char50,
              field2 TYPE char50,
              field_role TYPE char50,
              field_party TYPE char50,
              st_object_number TYPE TABLE OF bapiprexp.
      DATA : it_data TYPE TABLE OF st_data,
             wa_data LIKE LINE OF it_data,
             itab TYPE TABLE OF st_data,
             wa LIKE LINE OF itab,
             wa_project_details LIKE LINE OF project_details,
             null.
    Select Object number based on input Party and Role
      SELECT objnr INTO TABLE it_data FROM ihpa
      WHERE  parvw = role_code AND
             parnr = party_id AND
             obtyp = 'PDN'.
    Select Project ID based on input Object number
      LOOP AT it_data INTO wa_data.
        SELECT pspid post1 FROM proj INTO CORRESPONDING FIELDS OF wa_data
        WHERE  objnr = wa_data-pspid.                         "#EC CI_NOFIELD
        ENDSELECT.
        MOVE-CORRESPONDING wa_data TO wa.
        APPEND wa TO itab.
      ENDLOOP.
      IF sy-subrc <> 0.
        field_role = cl_wd_utilities=>get_otr_text_by_alias( 'PLM-SE_PRS_XI_PROXY/ROLE_CODE' ) .
        field_party = cl_wd_utilities=>get_otr_text_by_alias( 'PLM-SE_PRS_XI_PROXY/PARTY_ID' ) .
        CONCATENATE  field_role role_code_external INTO field1.
        CONCATENATE  field_party party_id INTO field2.
        MESSAGE e002(ecc_se_common) WITH field1 field2 INTO null.
        CALL FUNCTION 'PS_BAPI_MESSAGE_APPEND'
          TABLES
            return = party_return.
      ELSE.
        MESSAGE s082(ops_se_prs) INTO null.
        CALL FUNCTION 'PS_BAPI_MESSAGE_APPEND'
          TABLES
            return = party_return.
      ENDIF.
      LOOP AT itab INTO wa.
        MOVE-CORRESPONDING wa TO wa_project_details.
        APPEND wa_project_details TO project_details.
      ENDLOOP.
    """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$SE:(2) Class CL_PRS_PROJECTPRJPARTYQR, Method PARTY_GET_DATA, End                                                                                A
    $$-Start: (2)----
    $$
    ENHANCEMENT 2  ZPARTY_GET_DATA.    "active version
      WA_CHPAR = party_id.
      SHIFT WA_CHPAR BY 2 PLACES.
      CLEAR party_return.
      REFRESH party_return.
      SELECT objnr INTO TABLE it_data FROM ihpa
      WHERE  parvw = role_code AND
             parnr = WA_CHPAR AND
             obtyp = 'PDN'.
    Select Project ID based on input Object number
      LOOP AT it_data INTO wa_data.
        SELECT pspid post1 FROM proj INTO CORRESPONDING FIELDS OF wa_data
        WHERE  objnr = wa_data-pspid.                         "#EC CI_NOFIELD
        ENDSELECT.
        MOVE-CORRESPONDING wa_data TO wa.
        APPEND wa TO itab.
      ENDLOOP.
      IF sy-subrc <> 0.
        field_role = cl_wd_utilities=>get_otr_text_by_alias( 'PLM-SE_PRS_XI_PROXY/ROLE_CODE' ) .
        field_party = cl_wd_utilities=>get_otr_text_by_alias( 'PLM-SE_PRS_XI_PROXY/PARTY_ID' ) .
        CONCATENATE  field_role role_code_external INTO field1.
        CONCATENATE  field_party party_id INTO field2.
        MESSAGE e002(ecc_se_common) WITH field1 field2 INTO null.
        CALL FUNCTION 'PS_BAPI_MESSAGE_APPEND'
          TABLES
            return = party_return.
      ELSE.
        MESSAGE s082(ops_se_prs) INTO null.
        CALL FUNCTION 'PS_BAPI_MESSAGE_APPEND'
          TABLES
            return = party_return.
      ENDIF.
      LOOP AT itab INTO wa.
        MOVE-CORRESPONDING wa TO wa_project_details.
        APPEND wa_project_details TO project_details.
      ENDLOOP.
    ENDENHANCEMENT.
    $$-End:   (2)----
    $$
    ENDMETHOD.

Maybe you are looking for

  • Help:FileWriter gives no output

    Hi: The following code gives no errors but also no output. I know that the encrypt method works because I am able to print the output to screen but I cannot get FileWriter to work. Can someone help me with this problem? Thanks. import java.io.*; clas

  • Error when creating a BSSV (Database Vaue Object Class) in E1 Demo

    Hi All, I am getting the following error while creating BSSV Can not load Table/View records - [DATABASE_CONNECT_FAILED] Database Connection failed for DataSource Object Librarian Local.class com.jdedwards.database.base.JDBException any solution Edit

  • Assignment Field is Blank only on Direct AR/AP Posting Scenario

    HI Experts, I have an issue regarding Manual Direct Posting on AP/AR FI Transactions. Our Users currently cannot post continuously the FI Documents because the Assignment Field is left Blank and is not automatically populated. We already check some s

  • Nokia C7 Display Defect

    Hi,  I have a Nokia C7-00 that was purchased SIM free and unbranded in Germany, with which I'm experiencing distinct colour banding / gradient problems. It is also common on Nokia N8 displays. I'll try to describe my problem: The first tell tale sign

  • Bank chains /  Intermediary banks

    All, I have setup intermediary bank and tested to see if it's working.  I'm expecting see DME file generated for Intermediary bank and update the REGUH table when I do the payments.  But, neither of them seems to be working.  The DME is genereted for