RFC with CHANGING parameter
Hi All,
When creating an RFC, if i add a parameter in CHANGING tab, it is giving an Information message that `CHANGING is not allowed in RFC`. Is it true ?
If yes, that what is the alternative to pass a parameter which can be changed from SAP as well as the Other system using the RFC.
Thanks,
Best regards,
Prashant
Hi,
User enters MATNR on screen-other application, RFC is called. If field STATUS is blank(will be blank for 1st RFC call), then data would be validated and MATERIAL related data is sent back with value in STATUS as 01(success) else appropriate error message no. is sent.
Other application will check If STATUS NE 01, then error message description is fetched locally by the application and displayed on screen else the material related data is displayed on screen. User would click on confirm. Again the same BAPI would be called. If validations are fine, then COMMIT work would be done.
So the purpose is that, data is fetched in 1st RFC call and displayed on screen. Then user would click confirm and then same RFC would be called.
COMMIT WORK should not be executed for the 1st call to RFC but later it should be executed.
Best regards,
Prashant
Similar Messages
-
How to call rfc with byte[] parameter?
I am building a middleware using SAP.NET connector but Im having a problem with a particular rfc. I am using C# and my problem basically is abut PIDs( persistent instance id, call list id). PIDs are composed of 32 characters(hexstring), 16 bytes in hexadecimal format. (e.g. A42103E78DCAD54A9EB09D5921C76F06). The rfc crm_call_list_get_calls requires a PID input of byte[] datatype (byte[] Iv_Call_List_ID). I've tried converting the hexstring into an array of bytes (C# format) for the said rfc (A42103E78DCAD54A9EB09D5921C76F06----> byte[] PID={0xA4, 0x21, 0x03, 0xE7, 0x8D, 0xCA, 0xD5, 0x4A, 0x9E, 0xB0, 0x9D, 0x59, 0x21, 0xC7, 0x6F, 0x06} but ive been getting the following error:
System exception thrown while marshaling RFCTYPE_XMLDATAto .NET type.
Unhandled Exception: SAP.Connector.RfcMarshalException: System exception thrown while marshaling RFCTYPE_XMLDATAto .NET type. ---> System.Xml.Xsl.XsltException: 'Byte[]' is an invalid QName.
Also a part of the generated code for the same rfc returns an error for missing array initialization.
(public override object CreateNewRow()
return new byte[]();
Ive modified the code to: return new byte[]{}
and I dont know if it will work for all situations. Please advise.
Thanks in advance.
Message was edited by: Kenny MartinezSome Years later I have the same Problem.
As discripet in the post before - first I've got an error in the Method "CreateNewRow()" where the Method wants to return "return new byte[]()". Well I don't know why the .Net-Connector creates that code - but it looks strange to me.
The origin Code is:
/// <summary>
/// Creates an empty new row of type byte[].
/// </summary>
/// <returns>The newbyte[].</returns>
public override object CreateNewRow()
return new byte[]();;
With Changing that method I've got the same Error as in the post before:
System exception thrown while marshaling RFCTYPE_XMLDATAto .NET type.
Does someone has found a solution for that kind of Problem? -
Calling RFC with webdynpro java (in NetWaver Dev.Studio)
Hi,
I have a RFC like below
FUNCTION ZSAP_X.
*""Local interface:*
*" IMPORTING
*" VALUE(USNAM) TYPE USERNAME
*" EXPORTING
*" VALUE(PWD) TYPE CHAR8
1-I want to write webdynpro java application to call RFC
2-Call RFC with USNAM parameter
3-Get PWD output parameter and write it's value into View TextInput field.
I wrote application but I did not get PWD (output parameter) value. I checked RFC running poreperly.I did not achieve to get PWD.
How can I do that?
Thanks.Hi Bala,
I checked RFC, it is running properly and getting the output value.
And I used command below, but it produces error
String X = wdContext.currentPWDElement().getpwd().toString();
Error:
java.lang.ArrayIndexOutOfBoundsException: -1
Thanks. -
Passing changing parameter to RFC of ECC 6.0 from webdynpro java
Hi,
I need to use a simple ZRFC from ECC 6.0 for ESS customization in one of the ESS components (Portal 7.0). There is a changing parameter in the zRFC which should return a set of multiple values. I can see one single parameter under as input parameter (directly under the main node) and i can set a value for it. How to pass the values to changing parameter (it is a structure of multiple fields) while executing the model. Can any one please provide the code sample of executing the model.
Regards
RameshHi,
This is my Model Node. Ch_Ethnicity is supposed to hold a set of rows (table). It is at both Input and Output. Currently I am passing only Im_Raky which is a code and I should get the table of descriptions into Ch_Ethnicity parameter under the Output Node. But webdynpro Model is expecting some input to the Ch_Ethnicity parameter under the Input Node also. This is the problem and when I have contacted Ababp team, I am asked to send an empty table structure for Ch_Ethnicity parameter under Input Node also. Can you suggest me the code to send an empty table structure as input according to the below given context.
Z_Get_XXXXXX_Input
Ch_Ethnicity
---Zhr_Ethnicity
ethcode
ethdesc
AndSoOn Attrib N
Output
Z_Get_xxxxxx_Output
Ch_Ethnicity
Zhr_Ethnicity
ethcode
ethdesc
AndSoOn Attrib N
|----
Im_Raky
Regards
Ramesh -
Accessing "changing parametes " from JCo
Hi all,
I would like to access a RFC having "changing" parameters (eg EMPLOYEE_READ_APPLICANTNUMBER). How do I do it? How do I build a custom repository metadata for such a RFC??
when I check the RFC library there the new function RFCCallRecieveEx() seems to support changing parameters but not the older one RFCCallRecieve(), but when I see the trace I see that the RFCCallRecieve() is the one being and therefore I get a RFC_SYS_EXCEPTION error.
Can somebody tell me how to solve the problem? Has somebody tried building metadata for RFC/BAPI containing changing parameters
Thanks in Advance
DilipI'm new to JCO and java so I'm not sure how you would handle this on the java side but as a work around you could probably just create a custom ABAP function module that called the original function module.
Just specify all the parameters of the new function module as either IMPORTING or EXPORTING, then inside the new function module call the old one with the parameters as per the interface of the original function module.
On the java side just call the new function module and all your parameters should work ok with the JCO.
The "CHANGING" parameter is really more of an internal ABAP designation indicating the value may be changed during execution. You can change a parameter that is not designated as changing. The two behave a little differently if the program is terminated before execution is completed and it adds clarity to the interface, but other than that there really aren't many benefits. -
Issues with changing connection at run-time
Post Author: dmazourick
CA Forum: Data Connectivity and SQL
Weu2019ve tried a lot of different ways to resolve this issue, but are getting every time the different result.
Probably someone deal with that issue before and know how to correctly resolve it.
Weu2019re using Crystal Reports Runtime Components X+ (X, XI, XI R2) u2013 all of them has this issue.
We need client application to connect to multiple data sources u2013 user chooses report, chooses data source and we show the report for specified data source.
The data sources are tables or stored procedures stored in different databases on different servers.
For sure, every data source for a single report has the same structure, but that doesnu2019t matter.
The issue is: when the name of the database on one server is the same as the name of database on second server, the connection caching occurs.
How we can check that:
1. Weu2019re running report for Server1:<DBN> - report shows data from Server1.
2. Weu2019re opening second report for Server2:<DBN> - report shows data from Server1.
3. Weu2019re closing application and run 1-2 in opposite order, now both reports show data from Server2.
Weu2019ve tried different approaches u2013 below is a code sample that opens the report for specific connection.
Juts to be sure that no one will ask u2013 u201CAre you sure youu2019re passing the correct connection info etc.u201D. Yes! We are sure because weu2019re trying to fix this issue for a long time and tried a lot of different approaches and still cannot find the right solution.
The code looks like below. This is VB6 code, but also the same situation was tried on VC++ 6.0
Weu2019re not looking into CR.NET solution for now.
=================================================
Sub DisplayReport(Server as String, DB as String, UID as String, PWD as String, viewer as Object)
Dim app As New CRAXDRT.Application
Dim report As CRAXDRT.report
Dim database As CRAXDRT.database
Dim table As CRAXDRT.DatabaseTable
Dim par As CRAXDRT.ParameterFieldDefinition
Set report = app.OpenReport("D:\TestReport_X.rpt")
report.database.LogOnServer "pdssql.dll", Server, DB, UID, PWD
Set table = report.database.Tables(1)
table.SetLogOnInfo Server, DB, UID, PWD
table.Location = table.Name
report.database.Verify
viewer.ReportSource = report
viewer.ViewReport
end sub
=================================================
The result of above code is the following:
1. If we will pass the same viewer and will use different Server u2013 the report will be displayed correctly
2. If we will pass different viewers and will use different Server u2013 the reports will contain same data
The result of above code also depends from the version of Crystal Reports the report was designed in:
1. For Report designed in 8.5 u2013 passing of the same viewer with same connection info second time will refresh report
2. For Report designed in X, XI, XI R2 u2013 no refresh
Also, a slight modification of the above code helps for reports designed in XI to work properly, but not for reports designed in X and 8.5:
1. Before calling LogonServer, make the following: DB = DB & u201C;u201D & Int(rnd()*32767)
That makes report designed in XI to display properly in different viewers, but doesnu2019t have any impact to X and no any impact to 8.5
Weu2019re really looking for any help in this questionPost Author: fburch
CA Forum: Data Connectivity and SQL
I am having similar problems and some successes.
I have 70+ reports and now suddenly I want to point them at two different servers, but at databases with the same name like you talked about.
I first just tried the following:
#1. Load report:
Dim myReport As New ReportDocument
myReport.Load(filename)
#2. Pass in parameter values
''Get the collection of parameters from the report
Dim crParameterFieldDefinitions As ParameterFieldDefinitions = r.DataDefinition.ParameterFields
''Access the specified parameter from the collection
Dim crParameter1 As ParameterFieldDefinition = crParameterFieldDefinitions.Item(ParamName)
''Get the current values from the parameter field. At this point
''there are zero values set.
'crParameter1Values = crParameter1.CurrentValues
''Set the current values for the parameter field
Dim crDiscrete1Value As New ParameterDiscreteValue
If crParameter1.ValueType = FieldValueType.DateField Or crParameter1.ValueType = FieldValueType.DateTimeField Then
If ParamValue Is System.DBNull.Value Then
crDiscrete1Value.Value = CDate("1/1/1900")
ElseIf ParamValue Is Nothing Then
crDiscrete1Value.Value = CDate("1/1/1900")
Else
crDiscrete1Value.Value = ParamValue
End If
ElseIf crParameter1.ValueType = FieldValueType.StringField Then
If ParamValue Is Nothing Then
crDiscrete1Value.Value = ""
Else
crDiscrete1Value.Value = ParamValue
End If
ElseIf crParameter1.ValueType = FieldValueType.BooleanField Then
If ParamValue Is Nothing Then
crDiscrete1Value.Value = False
ElseIf ParamValue.ToString.ToUpper = "TRUE" Then
crDiscrete1Value.Value = True
Else
crDiscrete1Value.Value = False
End If
ElseIf crParameter1.ValueType = FieldValueType.NumberField Then
If ParamValue Is Nothing Then
crDiscrete1Value.Value = 0
Else
crDiscrete1Value.Value = ParamValue
End If
Else
If ParamValue Is System.DBNull.Value Then
crDiscrete1Value.Value = Nothing
ElseIf ParamValue Is Nothing Then
crDiscrete1Value.Value = Nothing
Else
crDiscrete1Value.Value = ParamValue
End If
End If
''Add the first current value for the parameter field
Dim crParameter1Values As New ParameterValues
crParameter1Values.Add(crDiscrete1Value)
''All current parameter values must be applied for the parameter field.
crParameter1.ApplyCurrentValues(crParameter1Values)
#3 Set "Table Log in info" (most of my reports using stored procedures, but I guess I still needed this step).
Dim CrTables As Tables = r.Database.Tables
Dim CrTable As Table
Dim crtableLogoninfos As New TableLogOnInfos()
Dim crtableLogoninfo As New TableLogOnInfo()
With crConnectionInfo
.ServerName = connectionParser.GetServerName(connectionString)
.DatabaseName = connectionParser.GetDatabaseName(connectionString)
If connectionParser.DoesUseIntegratedSecurity(connectionString) = True Then
.IntegratedSecurity = True
Else
.UserID = connectionParser.GetServerUserName(connectionString)
.Password = connectionParser.GetServerPassword(connectionString)
.IntegratedSecurity = False
End If
End With
For Each CrTable In CrTables
crtableLogoninfo = CrTable.LogOnInfo
crtableLogoninfo.ConnectionInfo = crConnectionInfo
CrTable.ApplyLogOnInfo(crtableLogoninfo)
If InStr(CrTable.Location, ".dbo.") = 0 Then
CrTable.Location = crConnectionInfo.DatabaseName + ".dbo." + CrTable.Location
End If
Next
If r.Subreports.Count > 0 Then
Dim crSections As Sections
Dim crSection As Section
Dim crReportObjects As ReportObjects
Dim crReportObject As ReportObject
Dim crSubreportObject As SubreportObject
Dim crDatabase As Database
Dim subRepDoc As New ReportDocument()
'SUBREPORTS
'Set the sections collection with report sections
crSections = r.ReportDefinition.Sections
'Loop through each section and find all the report objects
'Loop through all the report objects to find all subreport objects, then set the
'logoninfo to the subreport
For Each crSection In crSections
crReportObjects = crSection.ReportObjects
For Each crReportObject In crReportObjects
If crReportObject.Kind = ReportObjectKind.SubreportObject Then
'If you find a subreport, typecast the reportobject to a subreport object
crSubreportObject = CType(crReportObject, SubreportObject)
'Open the subreport
subRepDoc = crSubreportObject.OpenSubreport(crSubreportObject.SubreportName)
crDatabase = subRepDoc.Database
CrTables = crDatabase.Tables
'Loop through each table and set the connection info
'Pass the connection info to the logoninfo object then apply the
'logoninfo to the subreport
For Each CrTable In CrTables
crtableLogoninfo = CrTable.LogOnInfo
crtableLogoninfo.ConnectionInfo = crConnectionInfo
CrTable.ApplyLogOnInfo(crtableLogoninfo)
If InStr(CrTable.Location, ".dbo.") = 0 Then
CrTable.Location = crConnectionInfo.DatabaseName + ".dbo." + CrTable.Location
End If
Next
End If
Next
Next
#4 go get the data
crv.ReportSource = myReport
crv.Refresh()
#5 Call export to disk function.
This was not changing server - did not realize it was a caching problem as you suggested. That makes sense. So anyway, then of course I threw a verify database statement on there, before I get the data. Now looks like this:
#1 Load Report
#2. Pass in parameter values (dummy values that will generate schema of table without having to actually run long running procedures, i.e. select (cast 1 as int) as somefield1, cast(2.0 as numeric(10,0)) as somefield2
#3 Set "Table Log in info"
#3b Verify the database which seems to be a necessity:
myReport.VerifyDatabase()
#3c Re-populate the report with real parameter values, same as #2 but this time with the ones that will generate the real data
#4 go get the data
#5 Call export to disk function.
This does work, some of the time. When the datasource underlying report are tables, it works. I made a dummy crystal report with lots of different types of params (stored procedure underlying database) - this also worked!
Unfortunately, when I run this against the majority of my reports, I get this stupid "invalid mapping type value", for which I have not been able to resolve yet.
I also tried putting a myreport.SetDatabaseLogon("","") -- what would this do, clear it out? (saw this referenced somewhere).
Then I tried putting the real connection info in there as well ...
myReport.SetDatabaseLogon(uid, pwd, serverName, DBname)
I put this setdatabase thing before I called verifydatabase, which is where the process is bombing out and giving me invalid mapping type for the reports that do not run.
At this point I am still working on solution. I have tried creating dummy report that used same parameter types as a report that was failing and voila - the dummy report worked. Anyway, let me know if you get your problem fixed and I will do the same. Looks like you are using a different method that I didn't notice "LogOnServer" -
Call RFC with DLL created with DCOM CONNECTOR
I try to call a RFC with a DLL that i created with the SAP R/3 DCOM CONNECTOR (Release 4.5.B):
My external soft calls the DLL, which calls the RFC, which calls a transaction (Call Transaction Mode N, Update S)...
When i test the RFC in SAP (SE37), it's OK.
But when i call the RFC with my soft (and with the DLL), the Call Transaction returns sy-subrc = 1.001 (the methode "AdviseRfcGuiSink" included in the DLL allows me to launch the debugging with my external soft).
I found no SAP notes about this problem.
If you met the same problem, could you help me ?
Thanks.
Julien.Some Years later I have the same Problem.
As discripet in the post before - first I've got an error in the Method "CreateNewRow()" where the Method wants to return "return new byte[]()". Well I don't know why the .Net-Connector creates that code - but it looks strange to me.
The origin Code is:
/// <summary>
/// Creates an empty new row of type byte[].
/// </summary>
/// <returns>The newbyte[].</returns>
public override object CreateNewRow()
return new byte[]();;
With Changing that method I've got the same Error as in the post before:
System exception thrown while marshaling RFCTYPE_XMLDATAto .NET type.
Does someone has found a solution for that kind of Problem? -
Search Results web part - Custom Query using "Value with a parameter from URL" inconsistent
I have encountered what I think may be a bug, but I am hoping that there is something that I am missing.
Within my search site, I have created a new search results page where I want to customize the "Search Results" web part query. I can add in any number of property and keyword filters (using the "Build Your Query" dialog) without
issue... until I add a filter that uses the QueryString property (the builder dialog calls this "Value with a parameter from URL").
If I use {QueryString.MyParameterX} for filtering, it works beautifully in the query builder dialog. I see the expected results in the search results preview pane, but as soon as I apply the changes things become inconsistent.
If I close/reopen my browser and navigate to my page at http://myaddress/search/Pages/testresults.aspx?MyParameterX=test I see results. If I then refresh the page, I get a "Nothing here matches your search" message. I can then go to
the same address but change one character to an uppercase character and get results. Refreshing that same page again returns "Nothing here matches your search". I can only get search results one time per uniquely cased URL without having
to close/reopen my browser. This behavior was seen on both Firefox and IE.
Finally, I found that if I instead navigate to http://myaddress/search/testresults?MyParameterX=test, it always returns results. This, unfortunately isn't the best solution for me... but it is a solution.
Any insight that anyone can provide is greatly appreciated! I would really like to be able to depend on this working in all logical cases (especially since the search center of other sites is set using the path all the way down to /Pages).
Thanks!Hi, have you been able to solve this issue? I'm getting the same issue and I cant solve it (required CU is installed).
Fabio -
"Changing" parameter and "Tables" parameter defintions in function module
If one defines "Changing" or "tables" parameters, they are treated as reference parameters.
It becomes obvious for "tables" parameters where one does not have option to check box for "Pass by Value". But for "Changing" parameters, they provide the checkbox for "Pass by Value". Even when you select this option, the function module seems to handle the parameter as a reference parameter (whatever changes you make to it in the function module are retained when you return back to a calling program).
My question is why then SAP has provided the checkbox of "Pass by Value" for "Changing" parameter?
Thanks.
Jitendra MehtaHi Chaiphon:
Thanks for explanation but I know the theory of "Pass by reference" versus "Pass by Value".
Let me rephrase my question.
When I use the importing parameter (say as a table with a dictionary table type) with reference (not "passing by value"), and if I modify the value of the parameter, the calling program (which calls function module) receives the changed value after the call.
When I use the importing parameter with "Pass by Value" box checked, the modifications made to the table inside the function module is not retained after the code leaves function module and returns to the calling program.
My question is why not the same behaviour with the "Changing parameter" in function module definition?
And if Changing parameters are always reference parameters, then why SAP has provided the "Pass by Value" check box? -
Page is refreshing when changing parameter in sharepoint 2010 report viewer
Hi All,
I have uploaded a rdl file to sharepoint 2010 docuement library. When I click on this rdl file, it opens the report in a reportviewer.
I have 4 parameters year, month, country, location(its is dependent on country selection).
Now the issue is if I change year, month, and country it is refreshing entire page and displaying the following error message, but if I change location then no refresh is happening.
"Report parameter values must be specified before the report can be displayed. Choose parameter values in the parameters area and click the Apply button""
Any idea why it is refreshing the entire page when changing parameter value.
Thanks !
Soumya DasHi Soumya,
According to your description, my understanding is that you got an error when you used Report View.
Whether you used cascading parameter in the report. It seems to be by design if you used cascading parameter in the report.
As I am not an expert for reporting, I suggest you create a new thread on SSRS forum, more experts will assist you with this issue.
SSRS forum:
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlreportingservices
Or, you can open a ticket for this issue to confirm this issue.
Here are two similar threads, you can use as a reference:
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/0979b6c1-b110-4ab9-9685-8382c8efbe3b/report-parameter-values-must-be-specified-before-the-report-can-be-displayed-choose-parameter?forum=sqlreportingserviceshttps://social.msdn.microsoft.com/Forums/sqlserver/en-US/0979b6c1-b110-4ab9-9685-8382c8efbe3b/report-parameter-values-must-be-specified-before-the-report-can-be-displayed-choose-parameter?forum=sqlreportingservices
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/c161fab2-e573-41e5-bba6-dde4122a798f/report-refreshes-when-it-shouldnt?forum=sqlreportingservices
Best Regards
Lisa Chen -
Cannot Change Parameter Value in afterParameterFormTrigger
I am unable to change parameter values in the afterParameterFormTrigger. All of the parameters are defined as global variables in the default package.
What I am trying to do is this:
In RDFs, I would have place holder or formula columns at the top level of the data model (outside of any query group), and the values of these would appear one time just within the root element of the XML data.
I saw that, with data templates, the parameters appear one time within the root element, so I thought I could just populate these in the default package, but it does not seem to let me. Is this possible?
If this is not possible, how can I do the equivalent of the place holder column (outside of any query in the RDF) that will output one value within the root element?
Thanks,
KurzPlease find the URL which causes issue .
I am not able to invoke the dispatch action in struts.
/11/09 15:36:03 EFLBuilder: [instance=152748_BUILDERKIT_777946304, id=115210371784,4] ERROR: AbstractResourceRenderer.renderBody - Resource
"/seminarDetails.mcs;jsessionid=0ad16e5530d73bf00b218e744ea3b74adf8413a2ef58.e34RahmKa3mRay0Lc3aKbhiLbxaKe6fznA5Pp7ftolbGmkTy?Menu=customer&'amp;actionCmd=seminarDetails
Regards
Prem -
Revision: 4804
Author: [email protected]
Date: 2009-02-02 17:56:22 -0800 (Mon, 02 Feb 2009)
Log Message:
Bugs: LCDS-548: add code to deal with contentType="application/xml" with one parameter (avoid
name/value encoding in that case)
LCDS-405: baseURL on HTTPMultiService should accept URLs which start with "/"
Added convertParametersHandler and convertResultsHandler function hooks to RemoteObject
to support framework code which wants to modify the service behavior.
Moved "properties" from rpc/http/AbstractOperation to rpc/AbstractOperation so we can use
it for customizing the handling of remote object results
Couple of minor ASDoc fixes and one tab -> spaces change
Doc: minor asdoc edits
QE: LCDS QE will verify the bugs in this one
Reviewers: Mete, Pete, Seth, Ed reviewed different parts of this checkin
Ticket Links:
http://bugs.adobe.com/jira/browse/LCDS-548
http://bugs.adobe.com/jira/browse/LCDS-405
Modified Paths:
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractInvoker.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractOperation.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/Operation.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/RemoteObject.asHello,
How about this as an alternative:
Use a functional global which has 3 cases:
1. open config file - it opens the config file and reads the contents into a string (which is the functional global data), and you only do this one time at the beginning of the program.
2. edit config data - it edits the string, which are really the contents of the file, but doesn't worry about writing to the file. you could even get fancy here, and allow an array of tags and an array of values as input, and it would go update/edit all the tags to have the corresponding values.
3. close config file - it writes the current string data (the functional global data) to the file and closes it.
Using the functions in the string palette, I think you'll find most of the code for that module/functional global will be easy to write.
I hope this helps!
Best Regards,
JLS
Best,
JLS
Sixclear -
Calling RFC with webdynpro java (in NetWeaver Developer studio)
Calling RFC with webdynpro java (in NetWeaver Developer studio)
Hi,
I want to call only one parameter RFC with webdynpro.
Flight example is very complex.
I want to push a button and pass parameter to RFC input and call RFC.
After execution some message must appaer on the screen.
Is there a step by step .pdf?
Thanks.Hello Cemil,
There's a seperate Web Dynpro forum for such posts, you should take a look there.
Nonetheless, the classic tutorial is the FlightList. If I was you, I would make sure to do this tutorial step-by-step as it should give you the fundamentals for understanding aRFC. On top of that, it's most likely already available to you on your SAP system...
Here's the link:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a00f7103-6790-2a10-ac9c-fcac7c5b18a3
Cheers,
Hermann -
Entry was not processed because there is no changing parameter available
Hi,
I'm new to SCM area. Started a development to update the SNP Planner Codes to the Product Master with some code. For this purpose, I'm using the standard bapi - BAPI_PRDSRVAPS_SAVEMULTI2. To use this, according to the documentation of the BAPI, I've passed the Internal Product number (PRODUCT_INT), also, I'm passing Internal Location (LOCATION_INT).
The tables that I'm updating are: PRODUCT_HEAD, PRODUCT_TEXT, PRODUCT_LOCATION.
With the kind of error I saw, I thought of assigning the Model also to the Product. So I've also populated the table : PRODUCT_MODEL with model = '000'.
When I run this BAPI, I get the below mentioned error.
E APO_BAPI 051 Entry was not processed because there is no changing parameter available
There could be another post belonging to the same, but I could not find it so posting this thread.
Regards,
-Syed.Hi,
For each of these tables that you are trying to update PRODUCT_HEAD, PRODUCT_TEXT, PRODUCT_LOCATION, there will be corresponding X tables like PRODUCTHEAD_X, PRODUCT_TEXT_X, PRODUCT_LOCATION_X.
You will need to populate the particular fields in these X tables with value X so that the particular fields in tables PRODUCTHEAD, PRODUCT_TEXT, PRODUCT_LOCATION are processed.
thanks
Ehsan Ahmed -
Change parameter instance_name after standby database has been activated
Hello ,
our primary database is configured as follows:
SQL> show parameter db_name;
NAME TYPE VALUE
db_name string prod01
SQL> show parameter instance_name
NAME TYPE VALUE
instance_name string prod01
the corresponding standby database is configured as:
SQL> show parameter db_name;
NAME TYPE VALUE
db_name string prod01
SQL> show parameter instance_name
NAME TYPE VALUE
instance_name string stbyprod01
Now the standby database shall be activated. Afterwards I want to change the parameter INSTANCE_NAME from stbyprod01 to prod01.
The question now is: what needs to be done to change the parameter INSTANCE_NAME? As a matter of fact the standby database will
already be activated and be treated and handled as a standalone database. The former primary database will not be used anymore.
I would proceed as follows:
SQL> create pfile='initprod01.ora' from spfile;
SQL> shutdown immediate;
oracle #> edit the pfile and change the parameter INSTANCE_NAME from stbyprod01 to prod01
SQL> startup;
SQL> create spfile='spfileprod01.ora' from pfile;
SQL> shutdown immediate;
SQL> startup;
That should be all - from my point of view (I know that LISTENER.ORA and TNSNAMES.ORA should be modified, too).
If anybody has already experiences with changing the INSTANCE_NAME parameter but sees some further configurations: please just let me know!
Rgds
JanHi ,
only "alter system set instance_name='TEST' scope=spfile" will work since the parameter INSTANCE_NAME is static. After restarting the database/instance the statement "show parameter instance_name" will show the new instance name.
But when selecting the view V$INSTANCE the value of the column INSTANCE_NAME has still the old value. Any idea why this value remains unchanged in the view V$INSTANCE?
Rgds
Jan
Maybe you are looking for
-
Contract Account Receivables/Payables
Hi, While posting the receivable for a day (T Code FP25 / FP50), multiple receipts/payments can be posted with one reconciliation key. When the data is getting posted to GL, it is getting posted as summary entry per Reconciliation Key. If I activate
-
Need help in a SQL quick suggestion will highly appreciated
Hi I need to dynamically generate the following query ALTER TABLE AAA.TAB1 ADD SUPPLEMENTAL LOG GROUP t_l_g (COL1,COL2,COL3) ALWAYS; I have like 30 tables in 100 clients and I need to generate this query for all the columns that are in a unique index
-
PC wont recognize Iphone anymore after update failed . Stuck in recovery
Hello. I was trying to update my gf iphone 3g to the latest firmware and i guess during the updating process my pc stop recognizing the iphone (during phone restart maybe?) and it said could not update and it gave me an error. So now i got a usb and
-
How can I edit imported audio track? After selecting and deleting region, and joining remaining parts, it keeps playing the track with the deleted region! What am I doing wrong?
-
Can I use a 3TB HD in my g5?
Hey! I was recently on the crucial.com website looking for a price on memory upgrades for my g5 1.8 DP and thye also suggested a new hard drive. However, they said that my Mac could use a 3TB HD. I thought I had read long ago that the pre-PCIe G5 M