Problem in creating hierarchy

Hi,
I have created the hierarchy according to the steps mentioned in the in 3.5
/people/prakash.bagali/blog/2006/02/07/hierarchy-upload-from-flat-files
But when i schedule it through the info package it says "Select valid info-object"
So what should i do ?
Thanks,
Ashwin

Hi Ashwin,
In infoobject level check the hierarchy tab and insert your external characteristics for your hierarchy.
Create your infosource....transfer rules ...activate....name your hierarchy.....get your hierarchy structure....( make your flat file with all the node and sub node as "uppercase" if you want to display the lower case your have to load using text=short description).....
Load your master data attributes ....
load your hierarchy...
hope this helps
NR

Similar Messages

  • Problem while creating hierarchy

    I have 3 zones viz., East, Midwest and West.  Under each zone I have few cities like Atlanta and New York in East zone. 
    Now my goal is to create sales representatives for each city. 
    I've two ways one is I can right click on a city and select Sales rep ID Insert.  But when I am doing so I am getting the following screen:
    Create Sales representative: Multiple selection.
    with 2 columns Sales repr and short description
    Under Sales repr there is # and under Short description column there are the words Not assigned.
    However the fact is I've entered all the sales representatives’ names by right clicking on the characteristic Sales Representative name and selecting "maintain master data". 
    Now my question is why am I not able to view the names of the sales representatives when right click on a city and select Sales rep ID Insert.
    However I am able to find the names of all the sales reps when I do it manually i.e.
    1. Rt click on a city name and select Insert Characteristic node.
    2. Select the info object IO_SREPNM
    3. Here I am able to see the list of all the sales reps and also put the sales reps under their respective cities.
    But the next problem is arising when I proceed to the next step which is
    <b>To save the screen "Maintain Hierarchy 'IO_SREP hierarchy': 'Modified Version'. 
    I am getting a dump error when I save the screen. The dump error says “Error in ABAP application program AND
    If I perform a check on the screen i.e. click on the button Hierarchy Consistency Check (Ctrl+F10) then I am getting the error</b>
    <b>Screen name: Error log for consistency check of the hierarchy for InfoObject IO_SREP
    Node SAM already exists.  </b>
    The reason why it’s giving this error is because there is a rep SAM whose name occurs twice.  Now in my data I've Denver city in Midwest region and also in West region.  So sales rep SAM's name also comes once in Midwest and West region. 
    What I want is
    <b>How to avoid the dump error when I save the screen?  AND1
    What should I do to avoid the error Node SAM already exists.  </b>
    Please advice.
    Thank you.
    TR.

    Hi San,
    Thank you for your suggestion.  As per your advice this is what I've done.  please go through this and let me know if I am doing it right or where I am going wrong? 
    Thank you. 
    As per your suggestion I clicked on
    1.      InfoObjects under modeling tab.
    2.     Right clicked on IO_SREP and selected CHANGE option.
    3.     Clicked on the Hierarchy tab.
    4.     Selected the check box with hierarchies.
    5.     Selected the radio button Time-Dependent Hierarchy Structure [Please note that on my screen it appears as Time-Dependent Hierarchy Structure and not as "Hierarcy structure time-dependent".
    6.     Now I clicked on the “Maintain Hierarchies” button. 
    7.     A screen called “Initial Screen Hierarchy Maintenance” has opened. 
    should I click on the button “Maintain Hierarchies” because there is also another button called “External Chars. In hierarchies”. 
    Because when I clicked on the “Maintain Hierarchies” button in the screen “Initial Screen Hierarchy Maintenance” I found a text box called Restriction on hierarchy basic char. With IO_SREP in the box and with an option to select other InfoObjects. 
    I didn’t find any characteristics on the right panel as the screen was not divided into two panels. 
    But when I clicked on the button External Chars. In Hierearchies a screen called “External Characteristics in Hierarchies” opened with 2 pannels the left one  is Characteristics Template and the right one being External charactereistics. I think this is what you were referring to.  So I selected IO_SOFF and IO_SREP from the Characterisitics Template and put it in the External Characteristics window. 
    8. I hit the continue button and I was back to the screen “Change Characteristic IO_SREP: Detail”. 
    9. When I hit the Check All button I got the message Characteristics o.k. and when I hit the Activate button I got the message InfoObject IO_SREP is active. 
    10.     Now I am back to the Administrator Workbench: Modelling screen.
    11.     I selected IO_SREP and hit the Hierarchies icon.  The screen Initial Screen HierarchyMaintenanc”  opened. 
    12.     I selected IO_SREP and hit the “Create Hierarchy” button.  The “Create Hierarchy” screen opened. 
    13.     Now I entered the Hierarchy Name as IO_SREP_HIER and short description as IO_SREP hierarchy
    14.     Now I am in the screen “Maintain Hierarchy ‘IO_SREP_HIER’: ‘Modified Version’.
    15.     I right clicked on the IO_SREP hierarchy and selected the option “Insert Characteristic Node…”
    16.     Create Char. Node: Char. Selection” Screen opened.  I selected the InfoObject IO_SREG and hit the continue button. 
    17.     From the Create Sales region: Multiple selection screen I selected all the three regions East, Midwest and West and hit the continue button. 
    18.     I right clicked on each region and repeated steps 15 and 16 but selected IO_SOFF and entered the appropriate offices for each region. 
    19.     Now I had entered Denver in both Midwest and West region as it was in Midwest before 1.1.2000 and in West from 1.1.2000. 
    20.     Similarly I have also entered the employees in each city office by right clicking on each city and selecting the option “Sales representative Insert…”. 
    21.     Finally when I save it I am getting the dump error.  I’ve tried so many times till now and always I am getting the same dump error.  Is there something wrong with my system or am I going wrong somewhere?  Kindly advice. 
    While creating the hierarchies, I have noted that all the names of the cities and the regions are in yellow triangle whereas the names of the sales reps under each city are in green color triangle.  Is it something that yellow color means the hierarchy is not activated and green color means the hierarchy is activated?  Please advice. 
    In the dump error notes under How to correct the error its given as:
    The work area used to hold values passed for the work area operation must be at least as wide as the database table you are accessing.
    Now can you please explain me how to create this hierarchy without getting a dump error?

  • Problem creating hierarchy in BMM layer

    Hi,
    We are trying to create hierarchy for one of the dimension which contains 10 LTSs, each LTS represents Bridge-->Dimension join in physical layer. So, each LTS contains inner join between Bridge and Dimension tables.
    We performed the following.
    Right click on Dimension and select Create logical dimension--> Dimension with Level-Based hierarchy.
    The error is "Admintool is unable to create the structure for the dimension <<Dim name>> "
    Can anybody help..
    Thanks,
    Anilesh

    Hi,
    Here we have created 10 LTSs for supporting 10 bridge tables. We are joining same dimension table with multiple bridge tables in physical layer. And each bridge is joined with corresponding fact table. when id comes to BMM layer, we created single dimension which contain LTSs for each bridge table, and we joined the dimension to fact.
    Thanks,
    Anilesh

  • Problem with create universe on Business Objects XI 3.1 base on SAP Query

    Hello,
    I have a problem with create universe on Business Objects XI 3.1 base on SAP Query.
    The problem is hierarchy. Massage on Busines Objects is :
       OWBS_ELEMT__ISTKOSZT(cube ICPC01/BEX_ICOC01):Exception condition  "HIERARCHY NOT FOUND" raised.(WIS 10901) 
    Query in BEX run OK.
    Best regards.
    Ela.

    Hello,
    Thanks for response.
    When I run BEX QUERY, all works OK.
    All hierarchies was created and activated  on system BW.
    This situation appears after upgrade BW to SAP NetWeaver 7.3.
    Before upgrade I created universe without any problems.
    Regards Ela

  • Problem in Customer Hierarchy

    Hi all,
      I have a problem in creating customer hierarchy in CRM.
    According to SAP HELP:
    Before you create a CRM account hierarchy from an ERP customer hierarchy, you first have to:
    ●      Perform an initial load of the necessary Customizing settings from SAP ECC to SAP CRM.
    Use the initial load in CRM (transaction R3AS) in CRM Middleware and the Customizing object DNL_CUST_THIT.
    ●      Map the ERP customer hierarchy categories to the CRM account hierarchies.
    For more information about mapping, see in the Implementation Guide (IMG) Customer Relationship Management ® Master Data ® Business Partner ® Account Hierarchy ® Data Exchange of ERP Customer Hierarchies with SAP CRM ® Assign ERP Customer Hierarchy Type to CRM Hierarchy Category.
    My problem stuck here where in the R/3 Hierarchy Type, the F4 help value does not show any value. I checked in R3, there is a standard entry A for customer hierarchy. Could any one help me on this?
    ●      Download the ERP table KNVH (customer hierarchies) to SAP CRM.
    Use the initial load in SAP CRM (transaction R3AS) with the business object DNL_BUPA_KNVH. A copy of the ERP table KNVH is replicated to SAP CRM to create the account hierarchy from it.
    cheers,
    ginnie

    Hello Ginnie,
    Reason might be that initial download of DNL_CUST_THIT  was not complete.
    Check SM58 to see if there's an error, when the system was trying to download the hierarchy. Please go also to trx. st22 to see if there is a TIMEOUT dump related to this download. If so, you can try to increase the parameter rdisp/max_wprun_time and start again the download of the hierarchy.
    Also some of the attached OSS Note 522815 might help for more details. Check also Note 516725 it might be helpful.
    Thanks
    Raja Pamireddy
    CRM Marketing Forum Moderator

  • How to create hierarchy across more than one dimesion

    Hi experts,
     How to create hierarchy on more than one dimension in SSAS.please guide me.
    Thanks

    Hi ,
    This is not Possible without making changes in the cube design .i.e;
    Using Join for have to create one dimension with all attributes that you require in dimension .
    Lets say you have
    Dim1
     att1
     att2
     att3
    Dim2
      F1
      F2
    You need Hierarchy as below;
    Hier
     att1
     att3
     F2
    1. Add one Table in DSV using Join between both the tables.
    2.Create Dimension using this newly added table.
    3. Create hierarchy
    https://www.simple-talk.com/sql/reporting-services/implementing-user-defined-hierarchies-in-sql-server-analysis-services/
    Thanks
    Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem. http://techequation.com

  • Created "Hierarchy Field" not saved in Import Mapping File

    Hello experts,
    I want to save the mapping created after having imported categories via MDM Import Manager.
    Everything works fine as I execute an initial import (In "Map Field" tab, I create a "hierarchy field" based on the three fields "Categorie Name, Categorie Name 2, Category Parent" and mapp the Split Hierarchy field consequently ).
    My problem is as I save the Mapping and try to reuse it for a new Categories import, the former "hierarchy field" does not appear anymore. I assume Saving Mapping does not save created hierarchy fields...
    Can anyone help me on this?
    Thanks in Advance
    Stephane Naigeon

    From XML, with fields "Category Name, Category Parent".
    Then in MDM Map Tab, I clone the Field "Category Name" and create the Hierarchy Field with name "Categories", parent field "Category Parent", Child Field "Category Name", and Node name field "Category Name Clone".
    Then I map the Split Hierarchy field with the destination field "Category Name [DF]", and the source field "Category Name" with the Remote Key.
    The matching field in Match Record Tab is "Category Name [DF]".
    I save then the mapping file but am not able to reuse it : as I said, the Hierarchy field disappears !

  • Creating Hierarchy Report..

    Hi I am new to the ABAP Development and I am facing a problem. I want to create a hierarchy between tables ZSICM2 and Infostructure S961E. I have not Idea how to create a report of this. Could someone please help me in creating a report of creating hierarchy. This is the documentation provided to me by the client.
    <b>For each new record of ZSICM2, we must ensure hierarchies exist in S961E.
    1- Creation of hierarchy:
    Select * from ZSICM2 where ZNEW = ‘X’.
         Submit report RMCA961H (This program should automatically be created when creating infostructure) with all necessary parameters.
    Endselect.</b>
    Also The report RMCA961H, I have no idea where this report will come from because I am not finding it in Library and also It is not being created automatically while creating infostructure.
    Please help me in creating this report.
    Thanks and regards,
    Ravi

    Hi,
    This is the sample report for HIERARIHIAL SEQUENTIAL LIST   report.
    REPORT  YMS_HIERSEQLISTDISPLAY                      .
    Program with FM REUSE_ALV_HIERSEQ_LIST_DISPLAY                      *
    Author : Michel PIOUD                                               *
    Email : [email protected]  HomePage : http://www.geocities.com/mpioud *
    TYPE-POOLS: slis.                    " ALV Global types
    CONSTANTS :
      c_x VALUE 'X',
      c_gt_vbap TYPE SLIS_TABNAME VALUE 'GT_VBAP',
      c_gt_vbak TYPE SLIS_TABNAME VALUE 'GT_VBAK'.
    SELECTION-SCREEN :
      SKIP, BEGIN OF LINE,COMMENT 5(27) v_1 FOR FIELD p_max.    "#EC NEEDED
    PARAMETERS p_max(02) TYPE n DEFAULT '10' OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN :
      SKIP, BEGIN OF LINE,COMMENT 5(27) v_2 FOR FIELD p_expand. "#EC NEEDED
    PARAMETERS p_expand AS CHECKBOX DEFAULT c_x.
    SELECTION-SCREEN END OF LINE.
    TYPES :
    1st Table
      BEGIN OF ty_vbak,
        vbeln TYPE vbak-vbeln,             " Sales document
        kunnr TYPE vbak-kunnr,             " Sold-to party
        netwr TYPE vbak-netwr,             " Net Value of the Sales Order
        erdat TYPE vbak-erdat,             " Creation date
        waerk TYPE vbak-waerk,             " SD document currency
        expand TYPE xfeld,
      END OF ty_vbak,
    2nd Table
      BEGIN OF ty_vbap,
        vbeln TYPE vbap-vbeln,             " Sales document
        posnr TYPE vbap-posnr,             " Sales document
        matnr TYPE vbap-matnr,             " Material number
        netwr TYPE vbap-netwr,             " Net Value of the Sales Order
        waerk TYPE vbap-waerk,             " SD document currency
      END OF ty_vbap.
    DATA :
    1st Table
      gt_vbak TYPE TABLE OF ty_vbak,
    2nd Table
      gt_vbap TYPE TABLE OF ty_vbap.
    INITIALIZATION.
      v_1 = 'Maximum of records to read'.
      v_2 = 'With ''EXPAND'' field'.
    START-OF-SELECTION.
    Read Sales Document: Header Data
      SELECT vbeln kunnr netwr waerk erdat
        FROM vbak
          UP TO p_max ROWS
        INTO CORRESPONDING FIELDS OF TABLE gt_vbak.
      IF NOT gt_vbak[] IS INITIAL.
      Read Sales Document: Item Data
        SELECT vbeln posnr matnr netwr waerk
          FROM vbap
          INTO CORRESPONDING FIELDS OF TABLE gt_vbap
           FOR ALL ENTRIES IN gt_vbak
         WHERE vbeln = gt_vbak-vbeln.
      ENDIF.
      PERFORM f_display.
          Form  F_DISPLAY
    FORM f_display.
    Macro definition
      DEFINE m_fieldcat.
        ls_fieldcat-tabname = &1.
        ls_fieldcat-fieldname = &2.
        ls_fieldcat-ref_tabname = &3.
        ls_fieldcat-cfieldname = &4.       " Field with currency unit
        append ls_fieldcat to lt_fieldcat.
      END-OF-DEFINITION.
      DEFINE m_sort.
        ls_sort-tabname = &1.
        ls_sort-fieldname = &2.
        ls_sort-up        = c_x.
        append ls_sort to lt_sort.
      END-OF-DEFINITION.
      DATA:
        ls_layout   TYPE slis_layout_alv,
        ls_keyinfo  TYPE slis_keyinfo_alv,
        ls_sort     TYPE slis_sortinfo_alv,
        lt_sort     TYPE slis_t_sortinfo_alv," Sort table
        ls_fieldcat TYPE slis_fieldcat_alv,
        lt_fieldcat TYPE slis_t_fieldcat_alv." Field catalog
      ls_layout-group_change_edit = c_x.
      ls_layout-colwidth_optimize = c_x.
      ls_layout-zebra             = c_x.
      ls_layout-detail_popup      = c_x.
      ls_layout-get_selinfos      = c_x.
      IF p_expand = c_x.
        ls_layout-expand_fieldname  = 'EXPAND'.
      ENDIF.
    Build field catalog and sort table
      m_fieldcat c_gt_vbak 'VBELN' 'VBAK' ''.
      m_fieldcat c_gt_vbak 'KUNNR' 'VBAK' ''.
      m_fieldcat c_gt_vbak 'NETWR' 'VBAK' 'WAERK'.
      m_fieldcat c_gt_vbak 'WAERK' 'VBAK' ''.
      m_fieldcat c_gt_vbak 'ERDAT' 'VBAK' ''.
      m_fieldcat c_gt_vbap 'POSNR' 'VBAP' ''.
      m_fieldcat c_gt_vbap 'MATNR' 'VBAP' ''.
      m_fieldcat c_gt_vbap 'NETWR' 'VBAP' 'WAERK'.
      m_fieldcat c_gt_vbap 'WAERK' 'VBAP' ''.
      m_sort c_gt_vbak 'KUNNR'.
      m_sort c_gt_vbap 'NETWR'.
      ls_keyinfo-header01 = 'VBELN'.
      ls_keyinfo-item01 = 'VBELN'.
      ls_keyinfo-item02 = 'POSNR'.
    Dipslay Hierarchical list
      CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
        EXPORTING
          i_callback_program      = sy-cprog
          i_callback_user_command = 'USER_COMMAND'
          is_layout               = ls_layout
          it_fieldcat             = lt_fieldcat
          it_sort                 = lt_sort
          i_tabname_header        = c_gt_vbak
          i_tabname_item          = c_gt_vbap
          is_keyinfo              = ls_keyinfo
        TABLES
          t_outtab_header         = gt_vbak
          t_outtab_item           = gt_vbap
        EXCEPTIONS
          program_error           = 1
          OTHERS                  = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                               " F_LIST_DISPLAY
          Form USER_COMMAND                                             *
    FORM user_command USING i_ucomm     TYPE sy-ucomm
                            is_selfield TYPE slis_selfield.     "#EC CALLED
      DATA ls_vbak TYPE ty_vbak.
      CASE i_ucomm.
        WHEN '&IC1'.                       " Pick
          CASE is_selfield-tabname.
            WHEN c_gt_vbap.
            WHEN c_gt_vbak.
              READ TABLE gt_vbak INDEX is_selfield-tabindex INTO ls_vbak.
              IF sy-subrc EQ 0.
              Sales order number
                SET PARAMETER ID 'AUN' FIELD ls_vbak-vbeln.
              Display Sales Order
                CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
              ENDIF.
          ENDCASE.
      ENDCASE.
    ENDFORM.                               " USER_COMMAND
    END OF PROGRAM Z_ALV_HIERSEQ_LIST ******************
    Thanks,
    Sankar M

  • I am having problems with creating my apple id. On the phone it is advising me that the ID is not created and then when i do it online it says that it has been created. Can you advise me on what to do please?

    I am having problems with creating my apple id. On the phone it is advising me that the ID is not created and then when i do it online it says that it has been created. Can you advise me on what to do please?

    Apple ID FAQ   http://support.apple.com/kb/HE37

  • Facing some problems in creating a custom tabs in CRMD_ORDER Transaction

    Hi Friends,
    I am facing some problems in creating a custom tabs in CRMD_ORDER Transaction code in Solution Manager of SAP.
    Actually my requirement is adding of two tabs(one is header & another is item tab) in the above Transaction, i was able to put one tab i.e header tab but i was not able to keep item tab. i found a badi CRM_CUSTOMER_I_BADI in which documentation was given & i processed in the same way.
    For information i used the Badi CRM_CUSTOMER_H_BADI for header tab which i was able to add the tab & all functions like change, save working Good.
    But i want how to add custom tab in which item details were to be attached.
    i was done with the necessary SPRO settings(or Tcode CRMV_SSV) & able to see the 2 tabs thats it, but the functionality save is not working for the second tab & not saving in table CRMD_CUSTOMER_I (in this table there is one CI include where we added our item fields).
    And also i had a doubt whether to use ALV or Table Control. And if possible can any one can sent me the screen design & the code for the above requirement in detail.
    can any one who have knoweldge in Solution Manager & in the above Badi implementation can give me a right solution which will help me a lot.
    Thanks a lot in advance.
    Thanks
    Ravi.
    can any one give the solution regarding to the above one.
    Edited by: ravikanth on Jul 23, 2008 8:13 AM

    Hello Priyanka,
    I have the same problem by using Service Ticket in SAP CRM 5.0.
    Did you already solved this issue? If so, can you please provide the solution!?
    How can I activate and check the transfer log?
    Thanks and regards
    Alex

  • Problem with the hierarchial fields in a Purchase order xml report

    Hi,
    I am having a problem with the hierarchy problem. We are populating attribute 15 of a PO header. some times it can be null. FYI, we are using 11.5.10 instance where oracle supports direct PO template rather than having a rdf file.
    And now in the xml report, if attribute15 of po header is not null then it is fine.
    But if attribute15 is null, then the template is picking from the next available attribute15 that is from the po lines. As the line level group of "LINES" is between the "PO_DATA" (header group), hence the template is checking for next available attribute15.
    Can any one please suggest how to design the template where we can make the template to check only for that tag at the header level group rather than the line level group tag?
    Thank You in advance.
    Regards,
    Srinivas.

    Hi
    Incase you want to transfer attachements from SRM to R/3, then you try implementing the BADI in SRM side. The BADI which will help in this case is
    <b>BBP_CREATE_PO_BACK</b> BADI.
    <b>Please read the standard SAP documentation of this BADI using SE18 Transaction, before making any code changes.</b>
    <u>Few Important SAP OSS notes to refer in this case -></u>
    Note 989184 - Transferred shopping cart with internal attachments
    Note 550071 - FAQ: EBP - Shopping Cart
    Note 916347 - Transfer shopping cart with internal attachments
    Note 1001130 - FAQ - Attachment questions (Buyside)
    <u>Few useful links -></u>
    <b>http://help.sap.com/saphelp_srm50/helpdata/en/49/b32640632cea01e10000000a155106/frameset.htm
    Re: Attachments to backend
    Re: Document Attachments in Shopping Cart
    Re: Attachment in SRM
    Re: SRM Documents and Attachments
    Re: Limit in Attachments of an item in Shopping Cart
    Re: return delivery text from material document is not passed to SUS
    </b>
    Do let me know, incase you face any problems.
    Regards
    - Atul

  • Facing problem in creating socket in a method from an already deployed application exe while same method is working from another exe from same environment from same location.

    Dll Created In: - MFC VC
    6.0
    Application Exe Developed In:
    - VC 6.0, C# and VB.net (Applications which are using dll)
    OS: - Windows XP sp2 32bit
    / Windows Server 2008 64 bit
    Problem: - Facing problem in creating socket
    in a method from an already deployed application exe while same method is working from another exe from same environment from same location.
    Description: - We have product component which
    has an exe component and from exe we invoke a method, which is defining in dll, and that dll is developed in MFC VC6.0. In the dll we have a method which downloads images from another system after making socket connection. But every time we are getting Error
    code 7, it is not giving desire result while same method is working from another exe from same environment from same location. And also me dll is deployed on many systems and giving proper output from same application.
    Already Attempt: - Because error is coming on
    client side so what we did, we created a driver in C# which invokes same method from same environment(on client machine) using same dll and we are astonished because it worked fine there.
    Kindly Suggest: -
    We are not able to figure out root cause because nothing is coming in windows event logs but what I did, for finding the problem line, I wrote logs on each line and found the exact line in application exe which is not working,
    actually  it is not executing Create () method,
    I will give snippet of the code for understanding the problem because we are not finding any kind solution for it.
    Kindly assist us in understanding and fixing this problem.
    Code Snippet: -
    Int Initialize (LPTSTR SiteAddress, short PortId)
    try
    CClientTSSocket *m_pJtsSockto;
    m_pJtsSockto = new CClientTSSocket;
    LONG lErr = m_pJtsSockto->ConnectTS(csIPAddress,PortId);
    ErrorLog (0, 0, "--------ConnectTS has been called ------------","" );
    catch(...)
    DWORD errorCode = GetLastError();
    CString errorMessage ;
    errorMessage.Format("%lu",errorCode);
    ErrorLog (0, 0, "Image System", (LPTSTR)(LPCTSTR)errorMessage);
    return  IS_ERR_WINDOWS;
    Note: -
    CClientTSSocket extends CAsyncSocket
     IS_ERR_WINDOWS is a macro error code which value I found 7.
    LONG ConnectTS(CString strIP, UINT n_Port)
    ErrorLog(0,0,"ConnectTS is calling Create [is going to call]","");
    if(!Create())
    ErrorLog(0,0,"ConnectTS is calling [Create not called successfully] ","");
     n_Err = GetLastError();
     ErrorLog(n_Err,0,"ConnectTS is calling1111111111111111Erorrrrrrrrrrrrr","");
    return NET_INIT;
    ErrorLog(0,0,"ConnectTS is calling2222222222222222222","");
    if(!AsyncSelect(0))
    n_Err = GetLastError();
    return NET_INIT;
    if(!Connect(strIP,n_Port))
    n_Err = GetLastError();
    ErrorLog(n_Err,0,"ConnectTS","");
    return SERVER_NOT_CONNECTED;
    Code description: -
    From
    int GETImage_MT() method we call Initialize() method and pass client machine IP and Port and there we call
    ConnectTS() method, In this method we Create() method and finally it returns the error code as mention in macro 7.
    Logs after running the program: -
    --------ConnectTS has been called ------------
    ConnectTS is calling Create [is going to call]
    Image System 
    0
    Note: - According to logs, problem is coming in Create method().
    Here 0 is errorMessage received in catch block. And from catch block it returns macro value 7. And when we run same method individually from same machine, same environment through same dll
    from different exe, it is working fine and we are facing any kind of problem. While same problem application was working properly earlier but now continuously it showing problem.
     Kindly assist us to resolve the issue.

    Pointer variable was already initialized; I have mention in code; kindly assist us.
    Dll Created In: - MFC VC 6.0
    Application Exe Developed In: - VC 6.0, C# and VB.net (Applications which are using dll)
    OS: - Windows XP sp2 32bit / Windows Server 2008 64 bit
    Problem: - Facing problem in creating socket
    in a method from an already deployed application exe while same method is working from another exe from same environment from same location.
    Description: - We have product component
    which has an exe component and from exe we invoke a method, which is defining in dll, and that dll is developed in MFC VC6.0. In the dll we have a method which downloads images from another system after making socket connection. But every time we are getting
    Error code 7, it is not giving desire result while same method is working from another exe from same environment from same location. And also me dll is deployed on many systems and giving proper output from same application.
    Already Attempt: - Because error is coming
    on client side so what we did, we created a driver in C# which invokes same method from same environment (on client machine) using same dll and we are astonished because it worked fine there.
    Kindly Suggest:
    - We are not able to figure out root cause because nothing is coming in windows event logs but what I did, for finding the problem line, I wrote logs on each line and found the exact line in application exe which is not
    working, actually it is not executing Create () method, I will give snippet of the code for understanding
    the problem because we are not finding any kind solution for it. Kindly assist us in understanding and fixing this problem.
    Code Snippet: -
    Int Initialize (LPTSTR SiteAddress, short PortId)
    try
    CClientTSSocket *m_pJtsSockto;
    m_pJtsSockto = new CClientTSSocket;
    LONG lErr = m_pJtsSockto->ConnectTS(csIPAddress,PortId);
    ErrorLog (0, 0, "--------ConnectTS has been called ------------","" );
    catch(...)
                       DWORD errorCode = GetLastError();
                       CString errorMessage ;
                       errorMessage.Format("%lu",errorCode);
                       ErrorLog (0, 0, "Image System", (LPTSTR)(LPCTSTR)errorMessage);
                       return  IS_ERR_WINDOWS;
    Note: - CClientTSSocket extends CAsyncSocket
     IS_ERR_WINDOWS is a macro error code which value I found 7.
    LONG ConnectTS(CString strIP, UINT n_Port)
              ErrorLog(0,0,"ConnectTS is calling Create [is going to call]","");
              if(!Create())
                       ErrorLog(0,0,"ConnectTS is calling [Create not called successfully] ","");
              n_Err = GetLastError();
              ErrorLog(n_Err,0,"ConnectTS is calling1111111111111111Erorrrrrrrrrrrrr","");
                      return NET_INIT;
              ErrorLog(0,0,"ConnectTS is calling2222222222222222222","");
              if(!AsyncSelect(0))
                       n_Err = GetLastError();
                       return NET_INIT;
              if(!Connect(strIP,n_Port))
                       n_Err = GetLastError();
                       ErrorLog(n_Err,0,"ConnectTS","");
                       return SERVER_NOT_CONNECTED;
    Code description: - From int GETImage_MT() method
    we call Initialize() method and pass client machine IP and Port and there we call ConnectTS() method, In
    this method we Create() method and finally it returns the error code as mention in macro 7.
    Logs after running the program: -
    --------ConnectTS has been called ------------
    ConnectTS is calling Create [is going to call]
    Image System  0
    Note: - According to logs, problem is coming in Create method(). Here
    0 is errorMessage received in catch block. And from catch block it returns macro value 7. And when we run same method individually from same machine, same environment through same dll from different exe, it is working fine and we are facing any kind of problem.
    While same problem application was working properly earlier but now continuously it showing problem.
     Kindly assist us to resolve the issue.

  • Problem in creating a WebService

    hi ... i am having a problem in creating a web service using netbeans .. i am using net beans 6 and glass fish v2 ... when i run the clinet appllication an exception comes that is
    javax.xml.ws.WebServiceException: Provider com.sun.xml.ws.spi.ProviderImpl not found
    but i have followed right steps ... why this exception is coming ..? plz help.....

    Hi
    please try recreating the EJB , just check whether the home and remote interfaces and the business methods in the home and bean classes are defined properly  .Also check whether the ejb editor is showing all the business methods
    hope this helps ,please do ot forget to reward points
    regards
    rajeshkr

  • Problem in creating a JDBC System on VC7.1 portal ( CE7.1 SP3)

    I have a problem in creating a JDBC System on VC7.1 portal (CE7.1 SP3)
    I get the following error:
    Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the back-end application using the connector defined in this system object
    Results
    Default alias retrieved successfully
    Connection failed. Make sure user mapping is set correctly and all connection properties are correct.
    Could you please let me know if there are any guides on SAP Library; I was not able to find any documentation nor any threads discussing this on VC7.1
    Although, I saw this thread Can Visual Composer talk to/connect to any Database?..
    which says that VC7.1 can connect to SAP backend
    and web services only, and there is no direct connection to the db.
    Help needed please.

    Hi Dharmi
    Here is a quote of Dafna's post in [another thread in this forum|Re: Copy VC controls]
    CE7.1.1 will be released at September 2008 for ramp-up customers.
    There are many improvements and new capabilities in the new release of Visual Composer for CE7.1.1. Among the new features you can find:
    The missing features from Visual Composer 7.0 (Html view, portal Eventing support (EPCM), JDBC, Undo/Redo, and more..)
    Many layout & modeling improvements
    Additional ALV table functionality - export to Excel, switch to chart, configure ALV behavior at design time
    Integration of Visual Composer in Eclipse - additional entry point to the Visual Composer models from the NWDS. This integration provides the option to add a WD component (in case of missing functionality in Visual Composer), as a black box component to the Visual Composer model. Right-clicking the component will open the Web Dynpro perspective for creating/modifying the component.
    Regards,
       Shai

  • Problem in creating a build.xml for weblogic portal application

    Team ,
    I am facing problem in creating the build.xml using weblogic.BuildXMLGEN tool .
    a) Below is the structure of my portal application
    SrcCode
    --- .metadata (eclipse plugins folder)
    --- B2BApp ( Ear Content)
    --- b2bPortal ( portal related file(controllers,jsp)
    --- b2bsrc     (java src)
    b) Now I executed below utility to generate the build.xml "
    java weblogic.BuildXMLGen -projectName B2BApp -username weblogic -file build.xml -password welcome1 F:\srcCode"
    c) Based on the above step , build.xml got generated .
    d) when I execute "ant compile" target from the command prompt , I see the below exception
    ant compile
    Buildfile: build.xml
    compile:
    +[wlcompile] [JAM] Warning: failed to resolve class AbstractJspBacking+
    +[wlcompile] [JAM] Error: unexpected exception thrown:+
    +[wlcompile] com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\b2b\dmr\Picker\PickerController.java at line 58.+
    e) I suspect , the problem is bcoz of classpath issues , as I generated build.xml donot have the references to dependent lib's.As build.xml looks like below :
    +<target name="compile" description="Only compiles B2BApp application, no appc">+
    +<wlcompile srcdir="${src.dir}" destdir="${dest.dir}">+
    +<!-- These referenced libraries were not found -->+
    +<!-- <library file="p13n-core-web-lib" /> -->+
    +<!-- <library file="jersey-web-lib" /> -->+
    +.....+
    +....+
    Please help me to reslove these issues .
    PS: I able to deploy the application using 10.3.2 weblogic workshop ( i.e inbuilt eclipse )

    i JaySen ,
    thanks for your response. As mentioned we added all the necessary library within the -librarydir but still we see the same error :
    +[JAM] Error: unexpected exception thrown:+
    com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\typeAhead\TypeAheadController.java at line 70.  Most likely, an annotation is declared whose type has not been imported.
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.getAnnotationTypeFor(JavadocTigerDelegateImpl_150.java:410)
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:176)
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:152)
    at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.addAnnotations(JavadocClassBuilder.java:404)
    at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.populate(JavadocClassBuilder.java:359)
    ===================
    a) this is a upgrade project [ upgrading from wlp 8.1.4 to 10.3.2 ]
    i.e we are using weblogic portal 10.3.2 version.
    b) Searched some sites/forums regarding the above error, and it says something related to "jwsc" ant task [ i.e while compiling a webservice(JWS) ], but we see this error while compiling a normal controller(jpf) class :(
    c) we are using "ant compile" target which internally calls wlcompile task , while executing wlcompile this error is thrown .
    Help Appreciated
    Thx,
    Sarat

Maybe you are looking for

  • Can't add files to iTunes library - nothing happens

    I used a tool to remove embedded artwork from MP3s (since you can't do this for more than 1 MP3 at a time with iTunes). When this tool was running, it crashed. I've found 3 albums that won't work in iTunes anymore. iTunes acts like it's adding it but

  • Layer Comps to Files v2.0 - Error

    I used to have an extension for Photoshop where, similar to the Layer Comps to Files, would export not only layer comps in a file but of an entire folder from your finder. Once I got creative cloud, that extension disappeared - when I try to install

  • I want to be a N guy

    I have MBP 15" Intel Core Duo 2GHz. The airport card is : AirPort Extreme (0x168C, 0x86). I installed the N enabler but Network Utility still shows me I am in a/b/g and my connection to my Airport Extreme 802.11n is at 54M. His my hardware supposed t

  • Ipad 5.1.1 safari crash

    My ipad software is up to date (5.1.1), but Safari is constantly crashing. How do I address this issue for now and when will it be fixed with an update?

  • MacBook 2009 Slow with Mavericks - Help Needed with EtreCheck Report

    I just completed my upgrade from Snow Leopard to Mavericks last week. I  finished applying all of the software updates after the initial install of Mavericks. The only problem is that my computer is running a lot slower than before. This seems to be