Using Webservice through RFC Func Mod Can I able to fill dropdown field
Hi,
I am going to develop offline interactive form using Webservice through RFC Function module.
There are dropdown list fields in my adobe form. Then how can I able to fill these dropdown fields in my form, I mean how to bind the values to dropdown fields.
Thanks & Regards,
nspkumar.
Hi,
Option 1:
If the form is designed in transaction SFP, which has a form interface (transaction SFI), then below solution will work:
For example consider the data node name as 'COUNTRY' . Select drop down UI element and go to 'Object' properties tab. Select 'Binding' tab, on the top right hand side of this tab there is small icon, select the icon and enable the option 'Show Dynamic Properties'. Once this option is enabled in the 'Binding' tab you can click on the link 'Specify Item Values'. A popup will open, here specify the binding value as
$record.sap-vhlist.COUNTRY.item[*]
Refer to link:
[Drop down list binding|http://help.sap.com/erp2005_ehp_06/helpdata/en/43/7a667df4ad6fc9e10000000a1553f6/frameset.htm]
Option 2:
If the data connection is directly to the webservice then binding needs to be done similar to option 1 except one change. While binding the value in dynamic properties based on XML schema binding needs to be changed.
As you can see in option 1, for dynamic property binding
$record.sap-vhlist.COUNTRY.item[*]
, there is a value called sap-vhlist. This 'sap-vhlist' gets generated when form is designed in transaction SFP with form interface. So in your case if data connection is from webservice value sap-vhlist needs to changed to the value as per XML schema definition.
Regards
Srikanth KV
Similar Messages
-
I am using 3GS in my iPhone I can't able to see the wallpaper
I am using 3GS in my iPhone I can't able to see the wallpaper
Could you please edit your question and include more details about your problem as I do not complelty understand your problem.
Thanks,
- Tim -
Changes don't reflect using BAPI_PROJECT_MAINTAIN through RFC adapter
Hi,
I am working on a Integration Scenario in XI. In this I am executing BAPIs through RFC adapter. I am using BAPI_PROJECT_MAINTAIN to create WBS Elements in Project System. After creating WBS Elements when I try to define the hierarchy, the BAPI calls executes successfully but the hierarchy is not visible when viewed in the SAP WEB GUI.
I am using following parameters to define WBS hierarchy:
*IMethodProject
OBJECTTYPE = WBS-HIERARCHY
METHOD = CREATE
OBJECTKEY =
REFNUMBER =
OBJECTTYPE =
METHOD = SAVE
OBJECTKEY =
REFNUMBER =
*IProjectDefinition
PROJECT_DEFINITION = P-0300-00-04
*IWbsHierarchieTable
WBS_ELEMENT = WBS-001
PROJECT_DEFINITION = P-0300-00-04
UP =
DOWN = WBS-002
LEFT =
RIGHT =
WBS_ELEMENT = WBS-002
PROJECT_DEFINITION = P-0300-00-04
UP = WBS-001
DOWN =
LEFT =
RIGHT =
In normal case the WBS element 'WBS-002' should move below 'WBS-001', but when I execute BAPI with above parameters, the Hierarchy is not visible in the GUI the both WBS Elements remain at root level, even I get '000' as response with no errors.
When I run the BAPI through transaction SE37 with same parameters as above, the changes are visible in the GUI.
Can anyone please tell what am I missing here.
Thanks & Regards,
AjayHi Ajay,
I understand the problem this way, when u do something thru XI you dont see the effect (even if the the transaction is successful), whereas when it done is directly in the R/3 you can see the output.
look into the below
- check if your XI user is having necessary authorisations (you can do this by enabling the trace in ur R/3 - back end system)
- check if you are passing the input properly in the XI. (like field formats, padding characters, prefixes etc)
Hope this helps to fix ur issue
Regards
Vishnu -
Error using Webservices through ESB
Hi Folks...
I have deployed web services on some machine and Now I am tryting to contact those web services from from UI through ESB.
When I create UI and run the app, Iam getting this error.. Please let me know whats the problem.
I know Oracle ESB very new and I request the Oracle Gurus of ESB to help me...
The error I am getting is
JBO-29000: Unexpected exception caught: oracle.adf.model.adapter.AdapterException, msg=DCA-40010: Operation invocation failed with error "HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect".
DCA-40010: Operation invocation failed with error "HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect".
Regards,
SreeI am pointing to Spring XFire WS application endpoint ... it works fine when invoked from application but same service when called from ESB gives me the following error:
An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeOperation(WSIFOperation_JaxRpc.java:1717) at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeRequestResponseOperation(WSIFOperation_JaxRpc.java:1463) at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.executeRequestResponseOperation(WSIFOperation_JaxRpc.java:1185) at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:507) at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:430) at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:447) at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(OutboundAdapterService.java:184) at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(OutboundAdapterService.java:112) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:106) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:85) at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1416) at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:105) at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:273) at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:212) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions
Can any body look into this issue -
To connect SAP B1 DI server using Webservice through PHP
Hi Experts,
I want PHP to connect to SAP Business One using the DI server. using B1WS
My configuration is:
- SAP Business One on SQL Server
- Apache 2
- PHP 5
Help will be Highly Appreciated...!
Thanks
Mritunjay KumarHi,
Have a look at ,
http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/a0915b47-ef89-2a10-91a5-b22649e5cfab
Thank you,
Hari -
Upload a value in read-only field using Webservices or Workflow
Can you please let me know if is feasible to upload a value into a read-only field using webservices or workflow
If so, can you please provide an example?
ThanksUsing WS, you cant update the field value, if it is set as "Read-Only" @ the object - Field definition level, but you can update that using WS if it is set as "Read-Only" @ the layout level. Same applicable to Workflows too
-- Venky CRMIT -
Publish report remotely onto Enterprise system using webservice...
Hi,
I was planning to publish report remotely onto Enterprise system using webservice. In this regard can I get some sample code.
Thanks,
ShashiSee if the samples here help:
https://wiki.sdn.sap.com/wiki/display/BOBJ/NETWebServicesSDKSamples
Also see:
Web Services SDK secLDAP
https://wiki.sdn.sap.com/wiki/display/BOBJ/GettingStartedwiththeWebServicesSDK
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup -
Can not see the new appending fields in RSA6
Hi,
I add one appending structure to existing datasource, after that I can not see the new field in RSA6, RSO2. However I can see it from RSA2 and SE11 (for extract structure).
Any idea?
Thanks
VictorVictor,
can you tell me how u have done this. you have a DS in RSA6 created from RSO2. then you created a append structure right? then click on your DS on the RSA6 screen. click on change icon on the application tool bar or function key CTRL + SHIFT +F1, maintain the datasource.
can you able to see the fields here or not (i'm asking for change mode)?
Nagesh. -
When start to enter username ("un")for an account that I use firefox suggests previously typed ones in drop down box. Accidentally typed a password next to my un, now everytime i begin to type un this presents as option i can click on to fill un field. If someone else wanted to login to own account on my comp firefox would show this. not secure. suggestions?
Remove saved Password(s): [http://kb.mozillazine.org/Menu_differences Firefox > Preferences] > Security: Passwords: "Saved Passwords" > "Show Passwords"
* http://kb.mozillazine.org/Deleting_autocomplete_entries -
I have searched and cannot find a solution for this. The NORMAL mode for the Clone tool (at the top in options) has disappeared. The top two are dissorve and behind. I cannot find out how to reset and don't know what I did to make the "normal mode" option disappear from menu. Please help! Thanks, Jeanne
Sounds like the scroll bar is missing. I've seen a few posts about this happening with the brush tool. Bug?
It can be worked around by using the blend mode shortcuts.
Shortcut key combos to rotate through blend modes
Select the tool (clone tool) then press alt + shift + N to get normal blend mode if on Windows. If on a Mac change that shortcut to opt + shift + N.
Dissolve is probably also missing. The window's shortcut for that if needed is alt + shift + I. On Mac, use opt + shift + I.
Alternately, you can rotate through the blend modes by using the shortcut key combo alt + shift + + on Windows. On Mac, that shortcut will be opt + shift + +. You can also substitute - for the + in that combo to rotate up through the blend mode list instead of down through the blend mode list.
The above shortcut combos work smoothest if you hold in the alt + shift (opt + shift) keys together before you press the letter or + or - key.
These shortcut work combos with any tool that uses a blend mode settings... -
hi, out of no where my computer is not working properly, i have to use the computer in safe mode, and the sound does not work either, and everything was fine before ? I did get rid of some viruses , don't know what else to do , please help
Hello,
Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
'''Note:''' You might want to print these steps or view them in another browser.
#Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
#After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
#Delete the Firefox installation folder, which is located in one of these locations, by default:
#*'''Windows:'''
#**C:\Program Files\Mozilla Firefox
#**C:\Program Files (x86)\Mozilla Firefox
#*'''Mac:''' Delete Firefox from the Applications folder.
#*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
#Now, go ahead and reinstall Firefox:
##Double-click the downloaded installation file and go through the steps of the installation wizard.
##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
Please report back to see if this helped you!
Thank you. -
Can you read Reports and Tables through RFCs and BAPIS?
Is there any way to read established reports and tables through RFC or BAPI function calls? We have a middleware that can execute various BAPIs and RFCs. I see a few promising ones: RFC_READ_REPORT, but no examples anywhere what the parameters needed are for the inputs.
Hello Scott,
Check below FMs for reading tables and programs.
Tables : RFC_READ_TABLE
Program : RFC_READ_DEVELOPMENT_OBJECT
Please note that for reading program using RFC_READ_DEVELOPMENT_OBJECT , lines in program should not exceed 72 chars else FM will throw dump(READ_REPORT_LINE_TOO_LONG).
Program code will appear in table QTAB which is 72 chars wide. -
How to create widget webservice Enabled RFC using SAP WidgetDevelopmentTool
Hi,
I have Exposed one RFC as webservice. How to execute that RFC using webservice using SAP Widget development tool.
Regards
Vijayhi vijay,
this blog will be useful for your furthur development :
/people/anton.wenzelhuemer/blog/2007/03/04/kpi-speedometer-widget
aslo you check the services available in the widget foundation.
try with this service ;
/ewcs/service/rfct POST Executes specified RFC through JCO or WS and allows XSL transformation of results
link : http://localhost:7531/SapMiddleTier/REST/ewcs/service/rfct
thanks
Jaideep Srinivasan -
How to upload a file in R/3 system through RFC using WebDynpro Java
Hi There,
we need to pass a file(mostly xml) using file upload feature in Webdynpro and then need to pass the file in R/3 system using RFC. What should be importing parameters for RFC and how should i implement the fileUploadUi in this case.
I have already seen example of how to add this in a table input form.
Any pointers will be great help.
Regards,
SudhirUse this code to convert the file content to bytes in WDJ:
Apart from the resource context attribute create a context attribute of type binary.
get the data from resource & convert it to binary & pass that to RFC. U can use this code for conversion
byte fileData[] = null;
try{
InputStream fileIs = wdContext.currentAttachCVElement().getFileData().read(false);
ByteArrayOutputStream bOut = new ByteArrayOutputStream();
int length;
byte[] part = new byte10 * 1024;
while ((length = fileIs.read(part)) != -1) {
bOut.write(part, 0, length);
fileIs.close();
fileData = bOut.toByteArray();
bOut.close();
} catch (Exception e) {
wdComponentAPI.getMessageManager().reportSuccess(e.toString());
Here getFileData reffers to the attribute of type resource. rest of the code u can use directly.
Use this code in your R/3 function module to convert the data.
*" VALUE(XCONTENT) TYPE XSTRING OPTIONAL
OUTSTRING TYPE STRING,
CONV TYPE REF TO CL_ABAP_CONV_IN_CE.
Convert data passed from WD Application.
CONV = CL_ABAP_CONV_IN_CE=>CREATE( INPUT = XCONTENT ).
CONV->READ( IMPORTING DATA = OUTSTRING ).
SPLIT OUTSTRING AT CL_ABAP_CHAR_UTILITIES=>CR_LF INTO TABLE IT_DATA.
DELETE ADJACENT DUPLICATES FROM IT_DATA.
Let me know if you run into issues, please award points accordingly. -
Hi Everybody,
I use an Epson Stylus Office BX320FW printer with my IMac. Since upgrading OSX, I have lost the ability to print and scan. I have downloaded printer drivers from both Epson and Apple. I am using the printer in wifi mode but can not get it print or scan. How do I uninstall the Epson software and start all over again?
nickel_man_65Not using any mouse pad, I have a very smooth desktop. But I just tried to use a sheet of A4 printing paper, but no result, the problem persisted.
Someone on this forum suggested, that USB3 may interfere with the magic mouse.
I have 2 LaCie HDD's about 70 cm away from the mouse, I use them on Thunderbolt. But in operation or not - the result is the same, the mouse plays up! Just now I was clicking the desktop and the mouse created a new folder!!
Thanks for the advice, Bee
Cheers, Gerd
Maybe you are looking for
-
(Big) iPhoto Library opening empty from external drive
I need help! I have a new 2014 MacBook running Yosemite, as well as an older MacBookPro. I copied my large iPhoto Library from old laptop (labeled old library "iPhoto Pics 2008-2014", or similar) onto an external drive so that I could access all my p
-
Please tell me how can I put Bookmarks for all pages opened in Firefox.There was an option ("bookmark all pages") which vanished.
-
Httpunit and simulating multiple browsers
Hi! I need to simulate two browsers with different users. When one of them changes a value, i have to measure the time it takes to get the changed price to appear in the other browser. The problem is to simulate the two different browsers. Does anyon
-
Default Employee group using user exist ZXPADU01
Hello, I would like to know if it is possible to change the field PSPAR-PERSG in infotype "action" -0000 via user exit ZXPADU01/2 ? When I get p0000-MASSN = 10 ,i need to move 0 to PSPAR-PERSG but via the user exits it is not possible. I have coded t
-
Hi, I followed below Thread for configuring Write Back. WriteBack in OBIEE I am confused in update query..How to give column values in Query like@{c0},@{c1}...which one we treat as @{c0} and @{c1}..what is the order.. I had taken..EMP_ID,TEST_ID,Scor