SAPStructure.GetSAPFieldsSchema
Hi,
I use the SAP.Connector 2.0 in a Windows 2003 SP1 environment and SAP R/3 6.20.
In this case I want executing the same RFC in two different SAP environments from WebService ASP.Net.
The client is a ASP application and communicate with the WebService through SOAP Toolkit 3.0.
The problem happens when the first RFC failed, the following request it fails again, this problem only it solves when recicle the app pool of Webservice.
The error happens when my code execute SAPStructure.GetSAPFieldsSchema(type)
Where "type": Is the type structure of specific table.
When analyzing the problem I believe that this function implement some type of caché.
What is the function of this cache?
They know like disabled that cache?
If is disabled, it affect the request performance?
Thanks in advance.
Sergio.
E.g
proxy.Z_Hrpfpa00105("XX", "45", out sts, ref tIVAEmp);
Type structureType = tIVAEmp.GetElementType();
SAPField[] fields = SAPStructure.GetSAPFieldsSchema(structureType);
foreach (ZHRRESNOM row in tIVAEmp)
foreach (SAPField field in fields)
Console.WriteLine("{0}: {1}", field .FieldName, row[field.FieldName]);
Accessing fields by name may be a little bit slow. Alternatively you can access it by index, which is faster:
for (int i=0; i<fields.Length; i++)
Console.WriteLine("{0}: {1}", fields<i>.FieldName, row<i>);
Similar Messages
-
Acces to data of every field in a table using a loop
Hello:
I have the next code:
// Calling remote function
proxy.Z_Hrpfpa00105("XX", "45", out sts, ref tIVAEmp);
foreach (ZHRRESNOM row in tIVAEmp)
{ Console.WriteLine("{0} ", row.Desc2, row.Betrg, ); }
Assuming that tIVAEmp has 100 fields I need to build some loops during Console.WriteLine process, so I asked for your help for one part of the solution:
// Getting the field names and lengths of an RFC Table
Type structureType = tIVAEmp.GetElementType();
SAPField[] fields = SAPStructure.GetSAPFieldsSchema(structureType);
// Verifying
foreach (SAPField row in fields)
Console.WriteLine(" - ", row.FieldName, row.FieldLength);
It worked, but now I can´t find the connection between SAPField and the content of every RFC Table field for every record, my mind is in blank and a I need help how can I do in C# something similar to:
foreach (ZHRRESNOM row in tIVAEmp)
+// The next is pseudo-code
for every field F in fields
{ stri += contents of row, column F }
Console.WriteLine(, stri);+</i></i>
Thanks againE.g
proxy.Z_Hrpfpa00105("XX", "45", out sts, ref tIVAEmp);
Type structureType = tIVAEmp.GetElementType();
SAPField[] fields = SAPStructure.GetSAPFieldsSchema(structureType);
foreach (ZHRRESNOM row in tIVAEmp)
foreach (SAPField field in fields)
Console.WriteLine("{0}: {1}", field .FieldName, row[field.FieldName]);
Accessing fields by name may be a little bit slow. Alternatively you can access it by index, which is faster:
for (int i=0; i<fields.Length; i++)
Console.WriteLine("{0}: {1}", fields<i>.FieldName, row<i>); -
Acces to component of a module loaded
Hi,
I have a problem while accessing components inside a module
freshly loaded.
I handle the
ModuleEvent.Ready of a IModuleInfo and I retrieve the module
with this code :
var module:Module = iModuleInfo.factory.create() as Module.
(module is not null and seems correct)
After doing that I would like to access to the component
inside this module but the module has 0 child.
I have tried to add an event FlexEvent.CREATION_COMPLETE to
the module, because I thought after handle this event, all the
components inside the module were created but it doesn't work.
How can I do to access to those components ?
Thanks in advance for your answers.
XavixxxxE.g
proxy.Z_Hrpfpa00105("XX", "45", out sts, ref tIVAEmp);
Type structureType = tIVAEmp.GetElementType();
SAPField[] fields = SAPStructure.GetSAPFieldsSchema(structureType);
foreach (ZHRRESNOM row in tIVAEmp)
foreach (SAPField field in fields)
Console.WriteLine("{0}: {1}", field .FieldName, row[field.FieldName]);
Accessing fields by name may be a little bit slow. Alternatively you can access it by index, which is faster:
for (int i=0; i<fields.Length; i++)
Console.WriteLine("{0}: {1}", fields<i>.FieldName, row<i>); -
HI Genius,
I have designed on MDX Query. That Query is working in Crystal Report.
I have successfully exported universe from this query.
Now I want to use this universe in Query As A Web Service. I found universe of this query in QaawS.
I am able to see their fields in Build your Qurey Screen. While I am trying to give next step I am getting below error:
getDocumentInformation exception(Error: WIS 10901)
A database error occured. The database error text is: The MDX query SELECT { D5272819TYMKSLULVBEJECDFM.D56FMXBBON4I2150PKSHY65TU} ON COLUMNS, NON EMPTY D5271SCO6VP1B3P598D4OMO2. MEMBERS ON ROWS FROM OFIGL_C10/ZIDHA_pnl_REP1 failed to execute with the error See RFC trace file or SAP system log for more details. (WIS 10901)
Please help me ASAP.
Note: There is No Hyperlink in this document.
Warm Regards,
Rishit KamdarHi Ingo,
As per your intstruction, i have merged that registry.
Content of SOFA File (Part-1):
Mon Jun 15 10:41:08.455 ThreadID<5936> ASSERTION : OLAP Intelligence Assertion failure: Assert(! "VectoredHandler: caught access violation") failed in file .\source\mda_support.cpp line 105
Mon Jun 15 10:41:29.019 ThreadID<6004> SAPMODULE : module CreateServer : Retrieve valid license key.
Mon Jun 15 10:41:29.019 ThreadID<6004> SAPMODULE : SAPFactory::createBrowseObject
Mon Jun 15 10:41:29.019 ThreadID<6004> SAPMODULE : SAPFactory::createCube
Mon Jun 15 10:41:29.019 ThreadID<6004> SAPMODULE : SAPConnection::connect
Mon Jun 15 10:41:29.035 ThreadID<6004> SAPMODULE : Authentication model for SAP connectivity is username and password
Mon Jun 15 10:41:29.035 ThreadID<6004> SAPMODULE : Trying to connect to SAP using this URI : occa:sap://;PROVIDER=sapbw_bapi,ASHOST=10.10.200.27,SYSNR=00,R3NAME=PI1,AUTHTYPE=CREDENTIALS,USER="kshah",CLIENT=600,LANG=EN,CATALOG="0FIGL_C10",CUBE="0FIGL_C10/ZIDHA_PNL_REP1",PASSWD=******
Mon Jun 15 10:41:29.035 ThreadID<6004> SAPMODULE : Calling m_pRfcWrapper->RfcOpenEx() ...
Mon Jun 15 10:41:30.754 ThreadID<6004> SAPMODULE : RfcOpenEx(...) returned 1
Mon Jun 15 10:41:30.754 ThreadID<6004> SAPMODULE : Call to m_pRfcWrapper->RfcOpenEx() took 1.719 seconds
Mon Jun 15 10:41:30.754 ThreadID<6004> SAPMODULE : There are currently 1 concurrent connections
Mon Jun 15 10:41:30.754 ThreadID<6004> SAPMODULE : Connection 1 successful
Mon Jun 15 10:41:30.754 ThreadID<6004> SAPMODULE : Connection to SAP BW server successful
Mon Jun 15 10:41:30.754 ThreadID<6004> SAPMODULE : SAPAuthenticationService::~SAPAuthenticationService
Mon Jun 15 10:41:30.754 ThreadID<6004> SAPMODULE : SAPClient::load_structure
Mon Jun 15 10:41:30.754 ThreadID<6004> SAPMODULE : Looking for cube 0FIGL_C10/ZIDHA_PNL_REP1 (catalog 0FIGL_C10)
Mon Jun 15 10:41:30.754 ThreadID<6004> SAPMODULE : Calling MDDataProviderBW.GetCubes ...
Mon Jun 15 10:41:32.082 ThreadID<6004> SAPMODULE : Call to MDDataProviderBW.GetCubes took 1.328 seconds
Mon Jun 15 10:41:32.082 ThreadID<6004> SAPMODULE : RFC function call MDDataProviderBW.GetCubes returned S
Mon Jun 15 10:41:32.082 ThreadID<6004> SAPMODULE : Found cube - creating structure ..
Mon Jun 15 10:41:32.082 ThreadID<6004> SAPMODULE : SAPStructure::init
Mon Jun 15 10:41:32.082 ThreadID<6004> SAPMODULE : Cube Information
Catalog 0FIGL_C10
Cube 0FIGL_C10/ZIDHA_PNL_REP1
Description IDHASOFT LIMITED P&L REPORT AS AT (&T_MONTH& )
Mon Jun 15 10:41:32.082 ThreadID<6004> SAPMODULE : Structure created for cube 0FIGL_C10/ZIDHA_PNL_REP1
Mon Jun 15 10:41:32.082 ThreadID<6004> SAPMODULE : Reserved Structure 0FIGL_C10/ZIDHA_PNL_REP1
Mon Jun 15 10:41:32.176 ThreadID<6004> SAPMODULE : SAPConnection::connect
Mon Jun 15 10:41:32.176 ThreadID<6004> SAPMODULE : SAPClient::load_structure
Mon Jun 15 10:41:32.176 ThreadID<6004> SAPMODULE : Looking for cube 0FIGL_C10/ZIDHA_PNL_REP1 (catalog 0FIGL_C10)
Mon Jun 15 10:41:32.176 ThreadID<6004> SAPMODULE : Calling MDDataProviderBW.GetCubes ...
Mon Jun 15 10:41:32.176 ThreadID<6004> SAPMODULE : Call to MDDataProviderBW.GetCubes took 0.000 seconds
Mon Jun 15 10:41:32.176 ThreadID<6004> SAPMODULE : RFC function call MDDataProviderBW.GetCubes returned S
Mon Jun 15 10:41:32.176 ThreadID<6004> SAPMODULE : Found cube - creating structure ..
Mon Jun 15 10:41:32.176 ThreadID<6004> SAPMODULE : SAPStructure::init
Mon Jun 15 10:41:32.176 ThreadID<6004> SAPMODULE : Cube Information
Catalog 0FIGL_C10
Cube 0FIGL_C10/ZIDHA_PNL_REP1
Description IDHASOFT LIMITED P&L REPORT AS AT (&T_MONTH& )
Mon Jun 15 10:41:32.176 ThreadID<6004> SAPMODULE : Structure created for cube 0FIGL_C10/ZIDHA_PNL_REP1
Mon Jun 15 10:41:32.176 ThreadID<6004> SAPMODULE : Reserved Structure 0FIGL_C10/ZIDHA_PNL_REP1
Mon Jun 15 10:41:32.176 ThreadID<6004> SAPMODULE : XML Query :
<DPCOMMANDS>
<DPCOMMAND>
<DP>
<QUERY>
<QUERYRESULT>
<QUERYOBJECT KEY="[D5271SCO6VP1B3P598D4OXMO2]" />
<QUERYOBJECT KEY="[D52728I9TYMKSLULVBEJECDFM].[D52VETQL87W67T8I1VX1VRC3M]" />
</QUERYRESULT>
<QUERYSCOPE />
<QUERYCONDITION>
<WHERE/>
</QUERYCONDITION>
</QUERY>
</DP>
</DPCOMMAND>
</DPCOMMANDS>
Mon Jun 15 10:41:32.269 ThreadID<6004> SAPMODULE : saputils::GetHierarchyByUName
Mon Jun 15 10:41:32.269 ThreadID<6004> SAPMODULE : Calling MDDataProviderBW.GetHierarchies ...
Mon Jun 15 10:41:34.363 ThreadID<6004> SAPMODULE : RFC function call MDDataProviderBW.GetHierarchies returned S
Mon Jun 15 10:41:34.363 ThreadID<6004> SAPMODULE : Call to MDDataProviderBW.GetHierarchies took 2.094 seconds
Mon Jun 15 10:41:34.363 ThreadID<6004> SAPMODULE : saputils::GetDimensionByUName
Mon Jun 15 10:41:34.363 ThreadID<6004> SAPMODULE : Calling MDDataProviderBW.GetDimensions ...
Mon Jun 15 10:41:34.363 ThreadID<6004> SAPMODULE : RFC function call MDDataProvderBW.GetDimensions returned S
Mon Jun 15 10:41:34.363 ThreadID<6004> SAPMODULE : Call to MDDataProviderBW.GetDimensions took 0.000 seconds
Mon Jun 15 10:41:34.363 ThreadID<6004> SAPMODULE : SAPDimension::init
Mon Jun 15 10:41:34.363 ThreadID<6004> SAPMODULE : Dimension information
Dimension D5271SCO6VP1B3P598D4OXMO2
Catalog 0FIGL_C10
Cube 0FIGL_C10/ZIDHA_PNL_REP1
Unique Name [D5271SCO6VP1B3P598D4OXMO2]
Unique ID D5271SCO6VP1B3P598D4OXMO2
Caption P&L Structure
Ordinal 1
Cardinality 50
Default Hierarchy [D5271SCO6VP1B3P598D4OXMO2]
Description P&L Structure
Mon Jun 15 10:41:34.363 ThreadID<6004> SAPMODULE : Loading dimension D5271SCO6VP1B3P598D4OXMO2 from cube 0FIGL_C10/ZIDHA_PNL_REP1
Mon Jun 15 10:41:34.363 ThreadID<6004> SAPMODULE : SAPDimension::load_hierarchies
Mon Jun 15 10:41:34.363 ThreadID<6004> SAPMODULE : Calling MDDataProviderBW.GetHierarchies ...
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : Call to MDDataProviderBW.GetHierarchies took 0.015 seconds
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : RFC function call MDDataProviderBW.GetHierarchies returned S
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : Dimension D5271SCO6VP1B3P598D4OXMO2 has 1 hierarchies
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : SAPConnection::getMaxRowsPerLoad
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : SAPServerConfiguration::getSAPServerLoadLimits
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : SAPServerConfiguration::load_sap_server_configuration
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : SAPServerLoadLimits::SAPServerLoadLimits
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : SAPServerLoadLimits::init
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : SAPServerLoadLimits::load_sap_server_limits
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : SAPConnection::get_server_name_from_uri
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : Found the servername 10.10.200.27 from the URI
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : SAPServerLoadLimits::doesSAPServerNameExist
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : SAPServerLoadLimits::find_sap_server_name_from_server_load_limits
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : Looking for 10.10.200.27 from the list of ServerLoadLimits...
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : Unable to locate the server name 10.10.200.27 from the list of ServerLoadLimits.
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : Enable to locate the MaxRowsPerLoad for the server(10.10.200.27) from the SAPServerLoadLimits. Using the default value 50000
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : SAPHierarchy::init
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : Hierarchy Information
Hierarchy
Catalog 0FIGL_C10
Cube 0FIGL_C10/ZIDHA_PNL_REP1
Dimension [D5271SCO6VP1B3P598D4OXMO2]
Unique Name [D5271SCO6VP1B3P598D4OXMO2]
Unique ID
Caption P&L Structure
Cardinality 50
Default Member [D5271SCO6VP1B3P598D4OXMO2].[D5271SCO6VPSZQ0WKRSQRD0XU]
All member
Description Default (flat list)
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : Loading hierarchy [D5271SCO6VP1B3P598D4OXMO2] from dimension [D5271SCO6VP1B3P598D4OXMO2]
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : FIS: Loading 'Inactive_Member_For_[D5271SCO6VP1B3P598D4OXMO2]' () as DFN 1 (parent -1)
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : SAPHierarchy::load_levels
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : Calling MDDataProviderBW.GetLevels ...
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : Call to MDDataProviderBW.GetLevels took 0.000 seconds
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : RFC function call MDDataProviderBW.GetLevels returned S
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : SAPLevel::init
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : Level Information
Level P&L Structure
Catalog 0FIGL_C10
Cube 0FIGL_C10/ZIDHA_PNL_REP1
Dimension [D5271SCO6VP1B3P598D4OXMO2]
Hierarchy [D5271SCO6VP1B3P598D4OXMO2]
Unique Name [D5271SCO6VP1B3P598D4OXMO2]
Unique ID
Caption P&L Structure
Level Number 0
Cardinality 50
Type 0
Description
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : Calling MDDataProviderBW.GetProperties ...
Mon Jun 15 10:41:34.379 ThreadID<6004> SAPMODULE : MDDataProviderBW.GetProperties(Cat=0FIGL_C10,Cube=0FIGL_C10/ZIDHA_PNL_REP1,Dim=[D5271SCO6VP1B3P598D4OXMO2],Hry=[D5271SCO6VP1B3P598D4OXMO2]
Mon Jun 15 10:41:34.410 ThreadID<6004> SAPMODULE : Call to MDDataProviderBW.GetProperties took 0.031 seconds
Mon Jun 15 10:41:34.410 ThreadID<6004> SAPMODULE : RFC function call MDDataProviderBW.GetProperties returned S
Mon Jun 15 10:41:34.410 ThreadID<6004> SAPMODULE : Got 0 properties
Mon Jun 15 10:41:34.410 ThreadID<6004> SAPMODULE : saputils::GetHierarchyByUName
Mon Jun 15 10:41:34.410 ThreadID<6004> SAPMODULE : Calling MDDataProviderBW.GetHierarchies ...
Mon Jun 15 10:41:34.473 ThreadID<6004> SAPMODULE : RFC function call MDDataProviderBW.GetHierarchies returned S
Mon Jun 15 10:41:34.473 ThreadID<6004> SAPMODULE : Call to MDDataProviderBW.GetHierarchies took 0.063 seconds
Mon Jun 15 10:41:34.473 ThreadID<6004> SAPMODULE : saputils::GetDimensionByUName
Mon Jun 15 10:41:34.473 ThreadID<6004> SAPMODULE : Calling MDDataProviderBW.GetDimensions ...
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : RFC function call MDDataProvderBW.GetDimensions returned S
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : Call to MDDataProviderBW.GetDimensions took 0.016 seconds
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : SAPDimension::init
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : Dimension information
Dimension D52728I9TYMKSLULVBEJECDFM
Catalog 0FIGL_C10
Cube 0FIGL_C10/ZIDHA_PNL_REP1
Unique Name [D52728I9TYMKSLULVBEJECDFM]
Unique ID D52728I9TYMKSLULVBEJECDFM
Caption Key Figures
Ordinal 2
Cardinality 3
Default Hierarchy [D52728I9TYMKSLULVBEJECDFM]
Description Key Figures
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : Loading dimension D52728I9TYMKSLULVBEJECDFM from cube 0FIGL_C10/ZIDHA_PNL_REP1
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : SAPDimension::load_hierarchies
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : Calling MDDataProviderBW.GetHierarchies ...
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : Call to MDDataProviderBW.GetHierarchies took 0.000 seconds
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : RFC function call MDDataProviderBW.GetHierarchies returned S
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : Dimension D52728I9TYMKSLULVBEJECDFM has 1 hierarchies
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : SAPHierarchy::init
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : Hierarchy Information
Hierarchy
Catalog 0FIGL_C10
Cube 0FIGL_C10/ZIDHA_PNL_REP1
Dimension [D52728I9TYMKSLULVBEJECDFM]
Unique Name [D52728I9TYMKSLULVBEJECDFM]
Unique ID
Caption Key Figures
Cardinality 3
Default Member [D52728I9TYMKSLULVBEJECDFM].[D52U79DRZ0STAR156PCDD2OEA]
All member
Description Default (flat list)
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : Loading hierarchy [D52728I9TYMKSLULVBEJECDFM] from dimension [D52728I9TYMKSLULVBEJECDFM]
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : SAPHierarchy::load_levels
Mon Jun 15 10:41:34.488 ThreadID<6004> SAPMODULE : Calling MDDataProviderBW.GetLevels ...
Mon Jun 15 10:41:34.504 ThreadID<6004> SAPMODULE : Call to MDDataProviderBW.GetLevels took 0.015 seconds
Mon Jun 15 10:41:34.504 ThreadID<6004> SAPMODULE : RFC function call MDDataProviderBW.GetLevels returned S
Mon Jun 15 10:41:34.504 ThreadID<6004> SAPMODULE : SAPLevel::init
Mon Jun 15 10:41:34.504 ThreadID<6004> SAPMODULE : Level Information
Level Key Figures
Catalog 0FIGL_C10
Cube 0FIGL_C10/ZIDHA_PNL_REP1
Dimension [D52728I9TYMKSLULVBEJECDFM]
Hierarchy [D52728I9TYMKSLULVBEJECDFM]
Unique Name [D52728I9TYMKSLULVBEJECDFM]
Unique ID
Caption Key Figures
Level Number 0
Cardinality 3
Type 0
Description
Mon Jun 15 10:41:34.504 ThreadID<6004> SAPMODULE : SAPHierarchy::_load_children
Mon Jun 15 10:41:34.504 ThreadID<6004> SAPMODULE : Getting children of RootMembers (hierarchy [D52728I9TYMKSLULVBEJECDFM]) (client DFN=0)
Mon Jun 15 10:41:34.504 ThreadID<6004> SAPMODULE : SAPHierarchy::load_members
Mon Jun 15 10:41:34.504 ThreadID<6004> SAPMODULE : Calling SAPHierarchy::load_members ...
Mon Jun 15 10:41:34.504 ThreadID<6004> SAPMODULE : Calling MDDataProviderBW.GetMembers ...
Mon Jun 15 10:41:34.504 ThreadID<6004> SAPMODULE : MDDataProviderBW.GetMembers(Cat=0FIGL_C10,Cube=0FIGL_C10/ZIDHA_PNL_REP1,Dim=[D52728I9TYMKSLULVBEJECDFM],Hry[D52728I9TYMKSLULVBEJECDFM],Lvl=,Mem=,OpCode=)
Mon Jun 15 10:41:34.551 ThreadID<6004> SAPMODULE : RFC function call MDDataProviderBW.GetMembers returned S
Mon Jun 15 10:41:34.551 ThreadID<6004> SAPMODULE : Got 3 members
Mon Jun 15 10:41:34.551 ThreadID<6004> SAPMODULE : Calling SAPHierarchy::load_members adding members to FIS ...
Mon Jun 15 10:41:34.551 ThreadID<6004> SAPMODULE : FIS: Loading '[D52728I9TYMKSLULVBEJECDFM].[D52U79DRZ0STAR156PCDD2OEA]' ([D52728I9TYMKSLULVBEJECDFM].[D52U79DRZ0STAR156PCDD2OEA]) as DFN 1 (parent 0)
Mon Jun 15 10:41:34.566 ThreadID<6004> SAPMODULE : The following member has been loaded into the FIS and assigned DFN 1
Hierarchy: [D52728I9TYMKSLULVBEJECDFM]
Unique Name: [D52728I9TYMKSLULVBEJECDFM].[D52U79DRZ0STAR156PCDD2OEA]
Name: [D52728I9TYMKSLULVBEJECDFM].[D52U79DRZ0STAR156PCDD2OEA]
Description: [D52U79DRZ0STAR156PCDD2OEA] -
Row size of Structure in CRM ISA
Hi Guys,
I want to iterate a Structure on Java side of CRM ISA but I don't know the row size of that structure. Could you please tell me how to get the row size or length of that structure so that I can iterate the structure. Or if there is any other method to iterate or get the multiple values from the structure please tell me.
Thanks & Regards,
Sunil PatidarAre you trying to iterate through the fields of the structure? If so there appears to be a .fields() method on the structure object that gives you a JCO.Iterator. You can try something like this:
JCO.FieldIterator fields = sapStructure.fields();
while (fields.hasNextFields()) {
JCO.Field fld = fields.nextField();
String fieldName = fld.getName();
String fieldVal = recordField.getValue();
I've never tried this before so I don't know if its what you need.
Maybe you are looking for
-
we have 3 co code. and for 2 co code when we do f-47 tax code and tax amt field is not activated. but while doing f-47 for 3rd co code we have these 2 fields activated. we have checked comp. code data(3rd comp) for the particular recon a/c there is
-
National Instruments releases LabVIEW Report Generation Toolkit for Microsoft Office.
The new LabVIEW Report Generation Toolkit for Microsoft Office is a library of flexible, easy-to-use tools for programmatically creating and editing Microsoft Word and Excel reports from LabVIEW. Whether you need to generate reports summarizing manuf
-
Internationalization for more than 2 countries
I created tiny application (http://01.sk/i18nP2.zip) with 4 locales (US, GERMANY, FRANCE, ITALY). It shows current session locale. I placed button in the view which changes the locale of current user to next locale (US->DE->FR->IT->US). However when
-
how can i update a z table created ( ZTEST ) using a BDC with the entries from a selection screen
-
A particular widget won't work for a particular user
I recently upgraded from 10.3.9 to 10.4.6. After trying out various widgets I have hit on a curious problem: the Unit Converter widget that is installed with the system will not work on my user account. It works on other user accounts. It works on a