Retreive Data from Field Management WSDL
Hi Everyone,
I am not unable to query for Field Management. I want to use the ReadAll method which accepts no input, it only returns the output object containing ListOfField object.
Can anyone please help me out with this ?
Thanks,
Roshan
Hi Abhilash,
I am looking for help on how to extract the employee's name from this field.
I have also posted more pictures with details as requested.
Thank you
Joe
Similar Messages
-
"Failed to retrieve data from OVM Manager"
I'm trying to setup Cloud Control 12c Private Cloud environment. My machines in OVM pool have local disks so there is a repository per physical machine, plus one shared repository on NFS (OVM lists all those repositories in its UI)
When I try to navigate to VM Manager->Administration->Storage Repository page here is an error dialog I get:
"Failed to retrieve data from OVM Manager. Please check log file for details"
I've tried performing VM Manager->Synchronize, but that didn't help.
Let me note that I can go to other pages like Administration->Network without any problem.
What is a log file to look into? I tried looking under /u01/app/oracle/Middleware/oms/sysman/log but found nothing useful.Hi Diptesh,
What is your crystal reports version ? CRXI or higher?
And does your filter bject consists of apostrophie s fields?
If this is the case then this is a known issue try installing the latest service packs or fix packs to see if it resolves the issue?
Regards,
Vinay -
How to retreive data from a maintainence view?
Hi all,
I have used select query to retreive data from a maintainence view. But it gave me a syntactical error that XYZ is not in abap dictionary , it's a database / projection view?
So can't we get data from a view using select query?
Please share if u have answers.
Thanks & regards,
ChandruHi,
Maintenance view will be created for database tables only.
Just display the maintainence from SE11 and click Tables tab in the screen
Here you can find the list of tables used to created for Maintainence view.
YOu can use these tables to write SELECT.
If you give us the maintainence table, we will help you.
Thanks,
Ramakrishna -
Error while retreiving data from oracle using EJB.
HII All,
I m getting this error while trying to retreive data from oracle DB using EJB.
An error has occurred. Maybe the request is not accepted by the server:
Exception in method empName.
HTTP/1.1 500 Internal Server Error
Connection: close
Server: SAP J2EE Engine/6.40
Content-Type: text/xml; charset=UTF-8
Set-Cookie: <value is hidden>
Date: Mon, 24 Jul 2006 10:50:11 GMT
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>Exception in method empName.</faultstring><detail><ns1:com.sap.engine.services.ejb.exceptions.BaseEJBException xmlns:ns1='http://sap-j2ee-engine/client-runtime-error'>Exception in method empName.</ns1:com.sap.engine.services.ejb.exceptions.BaseEJBException></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
Thanks in advance
Devendra Phate.Hi Devendra,
this error message does not tell me much. Pleas either start debugging or watch your logs for more detailed messages.
Regards,
Benny -
How to Copy data from field symbol to Dynamic Internal Table
Hi,
I want to copy the data between two dynamic Internal tables . Following is the code were I have data in the field symbol wanted to transfer it to the other Internal table :
REPORT ztest.
DATA:
gd_dref TYPE REF TO data,
gd_dref1 TYPE REF TO data.
FIELD-SYMBOLS: <fs1> TYPE any,
<fs_wa> TYPE any,
<field> TYPE any,
<fs_wa1> TYPE ANY TABLE. * Contains data from p_src
*Copy data from p_src to p_dest*
PARAMETERS: p_src LIKE dd02l-tabname . * Name of Dynamic Internal table *
p_dest LIKE dd02l-tabname . * Name of Dynamic Internal table*
*DATA : lt_csks LIKE p_dest WITH HEADER LINE.
START-OF-SELECTION.
CREATE DATA gd_dref TYPE (p_src).
CREATE DATA gd_dref1 TYPE TABLE OF (p_src).
ASSIGN gd_dref->* TO <fs_wa>.
ASSIGN gd_dref1->* TO <fs_wa1>.
SELECT * FROM (p_src) INTO TABLE <fs_wa1>.
*Write out data from FIELD SYMBOLS TO Table.
loop at <fs_wa1> into <fs_wa>.
do.
assign component sy-index
of structure <fs_wa> to <field>.
if sy-subrc <> 0.
exit.
endif.
if sy-index = 1.
write:/ <field>.
else.
write: / <field>.
endif.
enddo.
endloop.
*Need Logic To Copy the Data to p_dest table from <fs_wa1>.
*p_dest is a table having a similar structure to table p_src .
*Need Logic To Copy the Data to p_dest table from <fs_wa1>.
EXIT.
Thanks in Advance.try this...
I have extended your source code and just used vbak/vbap as an example as they have some common fields like vbeln/erdat etc which corresponds with your requirement of 'similar structure' i.e. shared/common fields in both.
Cheers...
report ztest.
data:
gd_dref type ref to data,
gd_dref1 type ref to data,
gd_dref_str type ref to data,
gd_dref_tab type ref to data.
field-symbols:
<fs1> type any,
<fs_wa> type any,
<fs1_dest_str> type any,
<fs_dest_tab> type any table,
<field> type any,
<fs_wa1> type any table.
* contains data from p_src
*Copy data from p_src to p_dest*
parameters: p_src like dd02l-tabname default 'vbak',
* name of dynamic internal table *
p_dest like dd02l-tabname default 'vbap'.
* name of dynamic internal table*
*data : lt_csks like p_dest with header line.
start-of-selection.
create data gd_dref type (p_src).
create data gd_dref1 type table of (p_src).
assign gd_dref->* to <fs_wa>.
assign gd_dref1->* to <fs_wa1>.
select * from (p_src) into corresponding fields of table <fs_wa1>
up to 3 rows
where vbeln ne space.
create data gd_dref_str type (p_dest).
create data gd_dref_tab type standard table of (p_dest).
assign gd_dref_str->* to <fs1_dest_str>.
assign gd_dref_tab->* to <fs_dest_tab>.
*write out data from field symbols to table.
loop at <fs_wa1> into <fs_wa>.
" break-point here - can see vbeln/waers/create date/ etc move over to new structure
" the 'common' fields of your structures - the same will happen. if they not the same name you will have to do an
" explicit move i.e. if fieldname = xyz ....move fieldxyz to new field123....after the move-corre
break-point.
move-corresponding <fs_wa> to <fs1_dest_str>.
insert <fs1_dest_str> into table <fs_dest_tab>.
** do.
** assign component sy-index
** of structure <fs_wa> to <field>.
** if sy-subrc <> 0.
** exit.
** endif.
** if sy-index = 1.
** write:/ <field>.
** else.
** write: / <field>.
** endif.
** enddo.
endloop.
" write out some dest data from the dest table build from previous loop
loop at <fs_dest_tab> assigning <fs1_dest_str>.
do.
assign component sy-index of structure <fs_wa> to <field>.
if sy-subrc <> 0.
exit.
endif.
if sy-index = 1.
write:/ <field>.
else.
write: / <field>.
endif.
enddo.
endloop. -
Require data from field: STATUS belonging to structure: MEREQ3330
Gurus,
I am MM consultant, so please excuse me if its a simple question,
I need to pull data from field: STATUS belonging to structure: MEREQ3330.
Data element: MMPUR_PR_EXTSOURCE_STATUS_TY
This field belongs to Purchase Requisition.
Can you please explain in simple english, how can I extract data of the
above mentioned field from structure.
I read the forum threads, but most of them are talking for programming or pulling
data of FM. I dont understand, what to do there.
Edited by: Afshad Irani on Jun 4, 2010 7:44 PMThank you Vaas, your answer was very close, I could not find my DATA Element, but I was getting closer results through this
Data Element: MEREQ_PROC_STATUS.
Can anyone, Please tell me whether to find field data belonging to any other structure, I can view the table the same way as mentioned by Vaas e.g. for structure of PO, I can check EKKO_tech or EKPO_TECH.
Your answers are appreciated.
Edited by: Afshad Irani on Jun 13, 2010 9:36 AM -
Retreive data from wa structure into fields.
Hi friends,
I am having a query regarding classical report.I want to retreive data for vendor billwise realisation report.I am getting few fields into my list screen(fields from bsis table).Remaining fields i want to retreive from table bseg(augdt,augbl....)with the condition that the belnr of both the tables should be same and Account type = 'k'(vendors).
I tried it using select queries for the bsis and bseg..but data is retreived only from one table bsis and not from bseg.so for data from bseg i used workarea(wa).data is retreived for only single doc no. and not for other documents.
If any problem in understanding this pls give me the mail id i will send in detail.
Thanks and regards,
Anand.Hi Anand,
You should not use Workarea, if you are exepecting N number of records. Please use internal table.
SELECT * FROM BSIS
into table i_bsis
where ....
if not i_bsis[] is initial.
sort i_bsis by belnr.
SELECT * FROM BSEG
into table i_bseg
for all entries in i_bsis
where belnr = i_bsis-belnr.
endif.
Best regards,
Prashant -
How to retreive data from a table and a structure
Hi experts,
I have a requirement to create an ALV report. I have to include fields from two tables 'PA0001' and 'CATSDB' and from one structure 'CATSAPPR'. I am able to retrieve data from tables using INNERJOIN. But i have no idea how to deal with Structure.
I know that structure does not contain any data.
But i am not able to find any transparent table which has field 'ORDERTEXT' . I found field 'ORDERTEXT' only in structure 'CATSAPPR'.
So please anyone tell me, either any transparent table which has field 'ORDERTEXT' or please tell me how to deal with structure, in this case.
Please help me,
Thanks in advance
Anucheck this
Table-Fields Short descriptn
AUFK- KTEXT Order master data
COCH- KTXT Process Management: Control Recipe Header
COCHP- KTXT PI sheet: Control Recipe Header
COMPHDR- KTEXT OCM: Comparison results, indiv. records for order headers
HIKO- KTEXT Order master data history
MAAVC_MDO- KTEXT MPO: Individual Master Data for Orders
MCHPVS- AUFTEXT Batch Record: Shadow Table for Link to Archive
OCMHOMO_ARCH- KFELD Backup Table of Homogeneity List in Case of Archiving
PSJHIEDATA- KTEXT Hierarchy data to test LDB PSJ
TEWOCODEST- DESCRIPTION Order Codes (Texts)
TEWOCODET- KTEXT Allocation of Message Codes to Order
VLCSMORDER- KTEXT VELO : Service Order
VSAUFK_CN- KTEXT Version: Order master data
Yogesh N -
Unable to retreive data from Lotus Notes Database
Hi there,
I have problems to connect to a view in Lotus notes via Lotus Notes SQL Driver. The following message appear when trying to retreive data via WebI
Database error: [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_DBC failed. Contact your Business Objects administrator or database supplier for more information. (Error: WIS 10901)
I also tried via Desktop Intelligence and I got this error:
Exception: DBD, [Lotus][ODBC Lotus Notes]Column not found - ActualApproverState: S0022
Environment:
- Lotus Notes Client 8.5
- Lotus Notes SQL Driver 8.50.2009.317
- BOE Professional XI R2 SP2
I test connection in the Universe and it's working fine.
thanks,
RicardoHi,
If you are trying to access the tables from a different user other than the user who created the table, then you have to enable the "Require fully qualified table names " check box. This check box will be available when you right click the "Datasource name".
Here is an example:
Lets assume Table1 is created by user1. If u try to access the Table1 using user2, you cannot access directly. Instead you need to access like "user1.table1".
Hope this resolves ur issue.
Regards,
Arul -
Reading the data from field symbol internal table //
Hi,
There are 2 internal tables defined as Fieldsymbols (type any) and I need to retrive data from second internal table based on a field value in first internal table.
Let's assue the name internal table 1 is <it_itab1>, 2nd internal table name is <it_itab2> and the work areas are <wa_itab1> and <wa_itab2>.
The existing logic :
LOOP at <it_itab1> ASSIGNING <wa_itab1>.
ASSIGN COMPONENT 'XYZ' OF STRUCTURE <wa_itab1> TO l_field6.
LOOP AT <it_itab2> ASSIGNING <wa_itab2>.
ASSIGN COMPONENT 'XYZ' OF STRUCTURE <wa_itab2> TO <p_field7>.
IF <p_field7> = l_field6.
do the required business.
ELSE.
* do the required business.
ENDIF.
ENDLOOP.
ENDLOOP.
The requirement of reading second internal table was achieved by putting loop on the internal table but its giving considerable effect on performance !!
Is there any way to use READ statement in my case OR any way of putting WHERE condition on loop statement of second internal table ??
Thank you !!Use the below Logic.
Loop at Itab1 into wa_itab1.
Loop at itab2 into wa_itab2 where p_field7 = wa_itab1-xyz or I_field6.
do the required business.
endloop.
Loop at itab2 into wa_itab2 where p_field7 <> wa_itab1-xyz or I_field6.
do the required business.
endloop.
endloop.
Hope it is useful... -
How to retreive data from structure MDEZ in T.code CO09
As per our requirement 2 new columns are needed in a customize report .i.e
- u201Cinc. lot dateu201D
- u201Cavailable inc. lotu201D
u201Cinc. lot dateu201D:to get the values for inc.lot.date
From second screen of CO09(program: SAPLATP4 and screen number: 400) pick first date where MRP element is u201CPOitemu201D, u201CShpgNtu201D or u201CPrdOrdu201D.
u201Cavailable inc. lotu201D: to get the values for available inc.lot
Pick u201CCum. ATP QTyu201D from the same row.
These data are stored in structure MDEZ. Actually I want dat00 and MNG04 based on field DELB0. If DELB0 filed is POitem or Prdord or ShpgNt then only I should retrieve the dat00 and MNG04. IF there are more than one POitem in MRP element then we should pick the first POitems' mrp date and *** ATP qty .Can you please help me out how to get these data from the structure MDEZ.
input parameters to get the values are material number and plant.Hi,
First of all data is never stored in structure so there is no way you can retrive data from structure.
you are looking into the screen field and it is not mandatory that it will always point to a table.
Now the qestion remains how to get the data ? you need to find database table for that field there are many ways like SE84 or SE11 where used etc.
Try to find the table if you still have the problem feel free to get back.
Regards
Bikas -
Using DBLINK in ABAP to retreive data from externam system
Hi All,
Please help me, if anyone knows the answer.
The basis team has created a dblink 'DBL_TEST.YY.XXX.COM'.
Now I have to fetch data from another non-sap external system using this dblink only. Cannot have any entry in DBCON.
I know the procedure of retreiving data using DBCON entry. But since DBCON will not be used here, so I have to use the DBLINK to get data from an external oracle table (say, ZTEST).
I need the procedure to implement the logic in abap program.
Thanks in advance,
IpsitaMy problem is now solved. We created views @the database level, and fetched data using the database view in Native SQL.
In case anybody needs to do, I am giving a short code dump;
TRY.
EXEC SQL PERFORMING f_loop_output.
select alias_type_id,
name,
molecule_id
into :w_tab
from ext.V_XXXX
where molecule_id in
(Select mh.MOLECULE_ID
from ext.V_YYYY mh, ext.V_XXXX al
where mh.molecule_id = al.molecule_id
and mh.IS_CURRENT = 'Y'
and al.ALIAS_TYPE_ID = :c_type_id
and al.NAME = :l_number
and ALIAS_TYPE_ID in ('AAA','B','CCCC')
ENDEXEC.
CATCH cx_sy_native_sql_error INTO l_check_rs.
l_text = l_check_rs->get_text( ).
MESSAGE i005 WITH l_text.
LEAVE LIST-PROCESSING.
ENDTRY. -
Retreiving data from 2 tables using a sender JDBC Channel
Hi all,
We got anew requirement where we have to select data from 2 tables and update fields in 2 tables at the sametime.
I have a few queries regarding this.
Can we retrieve data from 2 tables using select query in sender JDBC channel?
If yes, how we can achieve this?
Can we use inner/outer joins in the select query?
Can we update field of 2 tables using the Update query in Sender JDBC channel?
Your help is greatly rewarded.
With Regards
Sudha.Hi,
Even i have the same requirement where data has to be read from 2 tables and later update the falg once done .
SELECT query :
SELECT t1.KUNNR,t1.SETT_KEY,t1.QUART_START,t1.QUART_END,t2.PAY_METH,t2.MAT_NDC,t2.AMOUNT FROM TSAP_REBATE_MEDI t1 INNER JOIN TSAP_REBATE_LINE t2 ON t1.KUNNR=t2.KUNNR AND t1.SETT_KEY=t2.SETT_KEY WHERE t1.PROCESSING_STATUS = 'N' AND t2.PROCESSING_STATUS = 'N'
This is working fine.
Can somebody help me with update query with this. where flag PROCESSING_STATUS has to be updated with 'P'.
I tried a lot but couldnt get the answer
Br,
Manoj -
URGENT! Getting the correct data from field BET01 in Infotype 0008
Hello,
I am trying to read the logs (Long-term PCL4) for the field BET01, BET02...in infotype 8. When I get the data from the logs, the value that appears in BET01 seems to be different from the value present in PA0008.
Does this value depend on the wage types valuation? How is this value in the logs calculated? For the same amount present in pa0008-bet01 and for same wage type, i am seeing a different amount coming up from logs. Could anyone please help me with this to understand how the value in logs is being calculated?
Thank you very much !If two users run the same select at the same time, they will ALWAYS come up with a duplicate doc code.
The standard way to insure a unique code is to use an Oracle sequence.
Otherwise, you could build your pl/sql into a stored procedure or package that inserts the new document code into the table before it passes it back to the user. This would prevent the second user from getting a duplicate, but would also stop user 2 from even getting a document code until user 1 did a commit. -
Extract data from Solution Manager database
Hi,
I am investigating the possibility of using SQL to extract alert data
from the Oracle database directly.
I have looked in the database to find the tables which would provide
such information, and I have found some promising tables.
But I need to understand how the data is stored in the Solution Manager
system, I see that once the solution manager application is started it
pulls the data from the CCMS alerts on the remote systems. But that
data needs to be stored somewhere. Can you tell me if it is buffered in
an internal table or a structure.
Is it possible to use the SAP tables to produce such a report, or which
BAPI's can I use to extract the data.
Thanks
Chris aka BoobBooHi Chris:
If you want to interact with the Alerting data, you should use the XAL External Interface for Alert Management.
You can find the additional information and also the XAL BAPI guide in SAP Service Marketplace under System Monitoring.
Hope this helps!
Federico G. Babelis
NetWeaver Certified Consultant
GAZUM Technologies S.A.
Consulting Services and Software Solutions
http://www.gazum.com
...download FREE Marketplace Manager at: http://www.gazum.com/products
Maybe you are looking for
-
WD4J -- XI -- R/3 Scenario
Hello All Currently I am working on a scenario which requires accessing of data from R/3 4.6C through BAPI with XI as middle ware from a webdynpro application in Java. My query is that: is it possible to perform RFC lookups directly from webdynpro us
-
Error with dbms_redefinition package?
Hi everybody! I have a table 'object_log'(it is partioned) . I used dbms_redefinition to change its partion , and evrythink was ok. When I tried to redefine this table for the second time it failed! I run this script BEGIN DBMS_REDEFINITION.start_red
-
Firewire 800 Readers non-existent except on ebay for $169?
Did someone stockpile them to sell them to mac users who don't have an express card slot in there mac seems crazy. Any comparisons on speed difference when reading from firewire 400/800 on high speed cards
-
FSCM - Credit - Documented Credit Decision not linking to Sales Document
When a Sales Order is created/changes a credit check occurs and a Documented Credit Decision is created. The issue is that the Documented Credit Decision case does not seem to have a link to the Sales Order from which it was created. When selecting t
-
TS1702 song i bought don't go to ipod
I bought 2 songs but my ipod don't update.