Output node of RFC not populated in WebDynpro
Hi ,
I m using RFC model in WebDynpro Applicaiton. Its having 2 inputs and two subnodes(each for one input) under output node of RFC. After executing model values are getting populated only in one of the node.what can be problem??
Regards
Kavita
Hi,
Check st22 transcation in R/3 as well, whether RFC is throwing dump?
If not the case, the only way is to debug,
1) Go to rfc by using se37
2) in Menu, settings, set external break point for user against whose id jco conncetions are set up.
3)and debug
Similar Messages
-
Re: output node of RFC not populated in WebDynpro
Hi ,
I m using RFC model in WebDynpro Applicaiton. Its having 2 inputs and two subnodes(each for one input) under output node of RFC. After executing model values are getting populated only in one of the node.what can be problem??
Regards
KavitaHi Kavita,
are you using bind table to bind values to the node from itab. if its so.. the type (or name) of the attributes of the node and fileds of the itab should be same, else it wont get binded. Attributes of your first node might be same as that of the itab you are trying to bind.
it it doest solve your proble. loop the iteb and try binding to the node element by element.
Regards
Sarath
Edited by: Sarath Satheesan on Jan 18, 2008 11:29 AM -
Hi Experts,
I created a web dynpro program and i've verified that the data i'm passing as input to the RFC is correct. however, no matter what input to the RFC though, the output node is always empty. What could I be missing that would cause the output node to be empty?
Cheers,
Alfonsohi
have you checked in the backend by passing same input to the RFC and is the RFC
giving you the data in the output node. , check the mandatory parameters in the RFC
and you can even ask your ABAPer to give the TEST data to pass to the RFC from the
webdynpro .
try to hard code the data with data taken from abaper and check whether RFC is giving you the
data , even try to debug the application , provide a external debugging in the RFC and
and perform external debugging and check the data getting passed to all the mandatory parameter
and the output node . -
Pl/sql report not populating output
SQL> CREATE OR REPLACE PROCEDURE GET_RECORDS(v_action IN VARCHAR2) IS
2 v_thing VARCHAR2(10);
3 get_records SYS_REFCURSOR;
4 BEGIN
5 IF (v_action = 'DO THIS') THEN
6 OPEN get_records FOR
7 SELECT 1 FROM dual;
8 ELSE
9 OPEN get_records FOR
10 SELECT 2 FROM dual;
11 END IF;
12
13 LOOP
14 FETCH get_records INTO v_thing;
15 EXIT WHEN get_records%NOTFOUND;
16 /* do things */
17 dbms_output.put_line(v_thing);
18 END LOOP;
19 CLOSE get_records;
20 END;
21 /
Procedure created
SQL> exec get_records ('DO THIS');
1
If I call this procedure it is populating data but , if I register it in oracle apps I am not getting data can any one help
also I replaced dbms_output.put_line with fnd_file.put_line , still it is not populating dataThis seems to be like a SQL*Plus report. Please port this query in SQL*Plus community.
-
Virtual Characteristic value not populating in the query output
Hi Experts,
I am new to BAPI and I am using this to populate the values of virtual characteristics.
I wrote the below code to populate if an order status got some status value then i need to populate the flag y if not n.
I got the order value in the reprot. I need to go to order master data and should get the status and then i have to do the comparision and populate the flag zww_teco in the report.
The below is the compute method of my implementation class.
FIELD-SYMBOLS :
<fs_0cs_order> TYPE ANY,
<fs_zww_teco> TYPE ANY,
<fs_status> TYPE ANY.
if p_cha_0cs_order > 0.
ASSIGN COMPONENT p_cha_0cs_order OF STRUCTURE C_S_DATA to <fs_0cs_order>.
endif.
if p_cha_zww_teco > 0.
ASSIGN COMPONENT p_cha_zww_teco OF STRUCTURE C_S_DATA to <fs_zww_teco>.
endif.
Select single /BIC/ZSYSTATUS
from /BI0/PCS_ORDER into <fs_status>
where CS_ORDER = <fs_cs_order>.
if <fs_status> CP 'TECO'.
<fs_zww_teco> = 'Y'.
else.
<fs_zww_teco> = 'N'.
endif.
But I am not sure why the values are not populated. But when i debug , i could see the values for
P_cha_0cs_order = 35
p_cha_zww_teco = 54
But i could get the values of <fs_0cs_order>, <fs_zww_teco> after assign component statement.
And it is firing me a dump in select statement. Also when I click c_s_data i am getting S____274, S____505 fields like that in the structure but i could see p_cha_0cs_order
Can you please guide where i am missing ...
Thanks
Vamsi
Edited by: vamsi talluri on Nov 9, 2011 6:14 PMHi Sushant,
RSRT --> Enter Query Name
Click on Technical Information --> If " Virtual Char./Key Figures " = Y
In my case , even then i clciked generate report,
even after that P_CHA_0CS_ORDER = 35
and after assign component P_CHA_0CS_ORDER of structure c_s_data to <FS_0CS_ORDER>.
the <FS_0CS_ORDER> is nothing , here i should get the value of cs_order value of that record but it is coming empty which i am not able to rectify. How should i change or i need to put any other setting to get the value populated into my <FS_0CS_ORDER>.
Can you please guide me .
Thanks
Vamsi -
Invoice output Condition type not populated for many invoice documents
Hi Guru's
Invoice Out put Condition type for printing not populated in the invoice document. Now We need to insert condition type for many documents to print at a time. We can manually place condition type at document header level individually for every document. But we have many documents to print.
plz advice me how to print all these documents
Thanks in advance.
Regards,
RavikanthHi Ravi
Just take help from your ABAP team. Record the event in SHDB ask then to get invoice number from excel file and loop the program.
This will be more faster then LSMW.
I am giving you BDC code
report ZBILVF02
no standard page heading line-size 255.
include bdcrecx1.
start-of-selection.
perform open_group.
perform bdc_dynpro using 'SAPMV60A' '0101'.
perform bdc_field using 'BDC_CURSOR'
'VBRK-VBELN'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'VBRK-VBELN'
'90010310'.
perform bdc_dynpro using 'SAPMV60A' '0104'.
perform bdc_field using 'BDC_CURSOR'
'VBRK-FKART'.
perform bdc_field using 'BDC_OKCODE'
'=SICH'.
perform bdc_transaction using 'VF02'.
perform close_group.
Regards
Vijay -
Hi,
Soon after I execute the model in RFC, my Output nodes should get populated with values returned from RFC. What would happen if I issue an Invalidate command on this Output model node right after the execute command.
Will I still be able to access this Output model node ?
Gandolf.Hi
If you do not want to access the output model node
inavalidate the context node of table first view table in the on action back of the second view
something like this
wdcontext.node<name of table node>().invalidate().
so that it will refresh the table and get the current data.
Or you can also Close all RFC connections using the Method - disconnectIfAlive of the Model Object.
Or check the follwing URL may give you some information
Error using Adaptive RFC model.
Regards
Abhijith YS -
Issue in invalidating the model output node
Hi All,
I have a problem in invalidating the model output node. Below is the description of my approach and problem statement.
REQUIREMENT: We have had the requirement to develop a custom WD java application in MSS which will fetch the appraisal data for each employee selection.
APPROACH: To acheive the same, I have developed the custom WD java application and have associated it with the Standard Employee Search application. I have established the eventing between both the applications, such that on each employee selection in Employee Search, I get the PERNR for the selected employee.
I have mapped a local valude node to the UI elements of my custom application. I am having TWO RFCs; one to Read data based on PERNR and the other to Update/Save to R/3.
I read the RFC based on PERNR and save it to local value node which is binded to the UI elements. If the end user is editing the read data, I am passing the entire local value node to the Save RFC import parameter on click of Save button in my application.
Every thing is working as expected. I am able to Read and Save the data and its also updating the backend. But, in the same session, if I go back to the previously selected employee for whom the updation has happened, i am not able to see the new data.
Only when I refresh the session, I see the new data on employee selection. When I try to invalidate the Read Output Model node, on Save button, I do not see anything happening. The Read Output Model node always holds the old value.
I have currently binded the Read model output node to a table in the view to see what it holds in runtime. And what I see is , its always having the old record for the same employee, in the same session even after invalidating the same on Save button.
I request you all to pleae try to understand the issue and let me know as how to get the new values in the same session.
Regards
DKHi,
When you are executing the read rfc ?? At the time of executing the read rfc try to bind the new object every time you execute and see what happens.
Like..
wdContext.node<READ_RFC_NODE>().bind(OBJECT of READ RFC);
then execute it.
Is there some kind of table which shows the employees and on selection you are showing the data? Can you give some more input on how you are reading the data?
Best Wishes
Idhaya R -
Output node empty for all new wdj apps
Hi experts!!
I am facing a weird problem.
For some time now i 've been working on a project entirely made of WDJ apps with RFCs.
Suddenly all of my new RFC output nodes come empty. The apps already uploaded to the portal with iviews work just fine.
What could be the problem??
Any ideas??
I ve checked all my context mappings, redid my JCos tested them and re-ran them.
Thank u in advance!!!Could be many things,
Maybe you didn´t bind the model to the node when executing the RFC
Maybe the nodes aren´t linked through to the view.
Are the RFCs working correctly in backend?
And lastly: Are you sure the user has the correct authorizations? Check with SAP R/3 transaction ST01 (Run ST01, set the things you want to check (authorizations, RFC calls), turn on trace, run the webdynpro, end the trace, and to review) ==> Best to ask the help of someone knowledgeable in authorizations)
Jeschael
Edited by: J.V. Lebbink on Nov 16, 2008 10:27 AM -
How to create a node with attributes at runtime in webdynpro for ABAP?
Hi Experts,
How to create a node with attributes at runtime in webdynpro for ABAP? What classes or interfaces I should use? Please provide some sample code.
I have checked IF_WD_CONTEXT_NODE_INFO and there is ADD_NEW_CHILD_NODE method. But this is not creating any node. I this this creates only a "node info" object.
I even check IF_WD_CONTEXT_NODE but i could not find any method that creates a node with attribute.
Please help!
Thanks
GopalHi
I am getting the following error while creating a dynamic context node with 2 attributes. Please help me resolve this problem.
Note
The following error text was processed in the system PET : Line types of an internal table and a work area not compatible.
The error occurred on the application server FMSAP995_PET_02 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP
Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP
Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP
Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP
Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMPONENT~VIEW_MODIFY of program CL_SALV_WD_A_COMPONENT========CP
My code is like the following:
TYPES: BEGIN OF t_type,
CARRID TYPE sflight-carrid,
CONNID TYPE sflight-connid,
END OF t_type.
Data: i_struc type table of t_type,
dyn_node type ref to if_wd_context_node,
rootnode_info type ref to if_wd_context_node_info,
i_node_att type wdr_context_attr_info_map,
wa_node_att type line of wdr_context_attr_info_map.
wa_node_att-name = 'CARRID'.
wa_node_att-TYPE_NAME = 'SFLIGHT-CARRID'.
insert wa_node_att into table i_node_att.
wa_node_att-name = 'CONNID'.
wa_node_att-TYPE_NAME = 'SFLIGHT-CONNID'.
insert wa_node_att into table i_node_att.
clear i_struc. refresh i_struc.
select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
rootnode_info = wd_context->get_node_info( ).
rootnode_info->add_new_child_node( name = 'DYNFLIGHT'
attributes = i_node_att
is_multiple = abap_true ).
dyn_node = wd_context->get_child_node( 'DYNFLIGHT' ).
dyn_node->bind_table( i_struc ).
l_ref_interfacecontroller->set_data( dyn_node ).
I am trying to create a new node. That is
CONTEXT
- DYNFLIGHT
CARRID
CONNID
As you see above I am trying to create 'DYNFLIGHT' along with the 2 attributes which are inside this node. The structure of the node that is, no.of attributes may vary based on some condition. Thats why I am trying to create a node dynamically.
Also I cannot define the structure in the ABAP dictionary because it changes based on condition
Message was edited by: gopalkrishna baliga -
Value not populating in the print out (sales order) for the 1st time
Hi friends,
While saving a sales order, the order confirmation going to the user is not populating the LDC field. LDC is Last date of change. This field can be found in the Additonal data 2 tab of the material in the sales order. When I enter a date in this field and save, the print preview of the output has this value, but the print out does not carry this value.
Another weird thing about this issue is that, the second time i trigger the output, the print out has the value.
Please give me some clue on where to check and how to go about fixing this problem.
Regards,
Shanu.Dear Shanu,
This issue may be related bug in the output program so take help of ABAPer to fix the issue.
I hope this will help you,
Regards,
Murali. -
EDI header segment E1EDK04 not populating
Hello,
We are currently using the intercompany EDI process to create vendor invoices based on an EDI output from a billing document.
This worked well for us, until we wanted to change our pricing procedure for tax condition type MWST print i.d. for condition line from "S" to "a".
Now when the iDoc is created it contains the correct tax values at the line item level in E1EDP04 but no segment is created for the header tax in E1EDK04.
Therefore, the iDoc fails with message 51.
SAP note 398414 (from 2001) suggets setting "S" in the print i.d.
It seems our options are to have a correct idoc output or a correct printed form for EU tax, but not both. This seems a limitation.
We are currently exploring a custom exit but I would like to know if anyone has a std SAP solution as being able to automate intercompany clearing does not seem a unique problem.
Generous points awarded.Dear Roger,
would you please be more specific on how you resolved this? when use new pricing IDs for item-level relevancy E1EDP04 is not getting populated.
My requirement for printing is to show tax at item level, any header-relevant pricing ID incurres inconsistent processing of billing output.
I'm not seing any standard way to meet both requirements, please advice.
Dear All, any assistance on this topic would be highly appreciated.
Kind Regards,
Anastasia -
Process scheduler server list is not populating in SERVER LIST page.
Need urgent help.
We have PeopleSoft Campus Solution 8.52,9.0 application. We had two Process Scheduler server one in Linux and one in NT. There was one issue that all the jobs which processed were getting into success and reports were also posted,however it was not updating the database with data. In order to solve it I created a new Process Scheduler server at onther NT machine. This time when I navigated to Process Monitor --> Server List pages it has no data there. I ran COBOL job but it went to successful and report posetd but nothing was updated into the database.
Please help me out of this situation.
Thanks
VikrantThanks a lot RCC for your response.
There is actually three issues
1)Process Monitor Server List page has no data.
2)As I go to run a process in the system process request I see that the Server Name,Reccurence,Type and Format are not workin or they are disabled.
3)Cobol jobs which I am running through PSNT is not updating database,however the Process is getting successful and reports are having posted status,but when I go to see Reports it is not having any output file its blank.I tried to check the reports at webserver,there were also no reports were published,However it works properly for all other Process.
For the first problem it has got resolved the solution is in this "Process Monitor Server List Not Populating With Data (Doc ID 615323.1)"( for those who face this problem in future :)).
For your query RCC, I have named same name of PSNT which was earlier in the different machine.
Please help
Thanks
Vikrant. -
ESS Bsns pkg Bnfts &Pymnt - Overview Drop down and table not populated
Hi All,
We have configured ESS business package. Payslips in form of PDF are available in Benefits and payment.
Overview dropdown and table are not getting populated.
I checked context node rem, vcdata and attribute overview_sel in VcRem2Selection comp.
They are not populated at any place as well. How does this work?
Please guide
Regards,
GangaHi Gangadharayya,
There are 2 ways of populating the dropdown.
Either u can create a simple type and bind the attribute to the SimpleType, or use the class ISimpleTypeModifiable and IModifiableValueSet to populate the values at run-time.
Hope this helps u
Regards,
Poojith M V -
Node id does not exist for the current application server id
Hi gurus,
when i start application services (adstrtal.sh) i encounter the following error: Node id does not exist for the current application server id.
i executed the command select server_id from fnd_nodes and had the following output
SERVER_ID
991D192B1CFC10F2E043C0A8645210F226563381082071204628231314463687
i also checked the .dbc files under $FND_TOP/secure, there were two HOSTNAME_SID.dbc files (IPPDDVP_VIS.dbc and ippddvp_vis.dbc) with different APPL_SERVER_ID
ippddvp_vis.dbc == 9827D18C8C2E8816E043C0A86452881611641850934523625093287478849136
IPPDDVP_VIS.dbc == 991D192B1CFC10F2E043C0A8645210F226563381082071204628231314463687
Please help me out.
thanks.i cleaned the FND_NODES TABLE as per metalink note 260887.1. i run autoconfig on db/apps tier. Now when i start the application, i encounter the following error:
applmgr >./adstrtal.sh apps/apps
You are running adstrtal.sh version 115.19
Executing service control script:
/dvp2/product/viscomn/admin/scripts/VIS_ippddvp/adapcctl.sh start
script returned:
adapcctl.sh version 115.55
Cannot reconnect to gateway
Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
Action: Check that your gateway environment variable is set correctly.
Apache Web Server Listener is not running.
Starting Apache Web Server Listener (dedicated HTTP) ...
Cannot reconnect to gateway
Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
Action: Check that your gateway environment variable is set correctly.
Cannot reconnect to gateway
Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
Action: Check that your gateway environment variable is set correctly.
Apache Web Server Listener (PLSQL) is not running.
Starting Apache Web Server Listener (dedicated PLSQL) ...
Cannot reconnect to gateway
Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
Action: Check that your gateway environment variable is set correctly.
adapcctl.sh: exiting with status 0
.end std out.
.end err out.
please what should i do next to resolve this problem.
thanks
Maybe you are looking for
-
How to set up a Java Plug-in Download page in case of netscape?
hai all of you, i have a problem regarding downloading plugin. i am using <object > and <embed> tags to download the plugins inorder to run the applets. but it is taking long time to download the plugin form sun.com. so what i have done is, i downloa
-
ITunes library on external HD no longer can be selected
I moved from old macbook pro with Snow Leopard & iTunes 9 or 10 something to new(er) macbook pro with Lion and iTunes 10.7. I keep a different music library from my internal one on external HD. When I option-click on iTunes startup to choose the exte
-
I bought linksys EA3500 router. Its still in the box and before I open it I want to learn more about the apple airport router, is the apple going to work with my online games with ps3? I have iPad, 2 iPhones, apple tv and Mac mini. If the airport ex
-
Flash Player 9 Won't Install on MacOS X (Intel)
I received an alert trying to open a video on MSN that I didn't have the Flash plugin installed (which I, in fact, did). I clicked the link to download the new Flash 9 and was re-directed to the Adobe Flash Player download page. I installed the playe
-
Play audio/video/swf/flv in jsp
Hi All, I am working on education site. I have a following requirement. 1>User will search the educational resource 2>Application will provide available resource list . Resource will be any of the following. a>video b>audio c>pdf/doc e>flv/swf 3>User