BAPI table input parameters for Visual Composer not working?
I am using a BAPI with table input parameters (2 input fields for the table). I tested the BAPI in ecc function builder (it works as planned). However, it doesn't work in Visual Composer using the same input values (not getting any error messages). Is this a bug in VC 7.0? Any help would be greatly appreciated.
Edited by: Brent Crabb on Aug 29, 2008 8:12 PM
Hi,
The data service at a time can execute only one input data.
it will not handle too many inputs at time otherwise all the input ports should have same submit action then it is possible to Execute multiple input forms data .
When you are mapping the input form and the dataservice ,give the same event like this *submit for both Inputforms
Thanks,
Govindu
Similar Messages
-
Zero Fill and Upper Case in Visual Composer not working
Hello,
I am building my first VC application and hit a small wall from get go. When I create input fields and set text formats for one to have "Zero Fill" and for the other one "Upper Case" they do not seem to work properly.
Zero Fill does not work at all. I set this format and also set max length as 10 to be used as input for customer account #. But it does not perform conversion. When I call a BAPI to get customer list, if I enter 0000000100 it works. When I enter 100 it does not work. Thus "Zero Fill" does not take effect.
"Upper case" works but only after refresh. If I enter ac10 as company code and then click submit it does not work. However if after entering ac10 I press enter and then submit, it work.
Does anyone have any info on how to deal with this? We are using VC 7.0
Thanks,
AlexHi ALex,
Now I got your problem. I suggest a solution for it.
Go to the design board of VC.
I think you have an Input Form that contains the input fields and the Submit button. There will be a link named "submit"between the Input Form & the Data Service(say BAPI). Click on the submit link, you will get the Input Fields & Assigned values of the Input Form at the bottom right side. Go to the Assigned Value of the particular field & apply a formula like UPPER(@inputfield). So now whatever case you give in the inputfield, it is converted to UPPER case before Submiting the values.Keep the Upper Case option checked at the formatting tab of the Input field properties, this will help to display the value in Upper case.
For eg, BAPI_BANK_GETLIST, the input fields are BANK_CTRY & MAX_ROWS.
Make the assigned value of bank_ctry as UPPER(@BANK_CTRY), you can get this with the help of formula.
This will solve your problem.
Regards,
Shemim -
MySQL 5.5, Crystal Report for Visual Studio not working when hosted IIS
Software and Component detail
Microsoft visual studio 2010
MS .NET Framework
Version 4.0.30319 RTMRel
MYSQL SERVER Database
Version 5.5
MySQL Connector 6.6.4 64 Bit
MySQL ODBC Driver Version 5.2.a
Crystal Report for Visusl Studio 64 Bit 13.0.5
(CRforVS_redist_install_64bit_13_0_5)
Current Setup
1. I have WebSite in ASP.NET Visual Basic which works fine and is connected to MySQL Database, using MySQl Connector 6.6.4 64 bit
and is using a connection string,defined in web.confg.
2. I am using a Crystal report( It is very complex report, so cannot dare to redo it). Data Source for the report is set using a connection string
DRIVER={MySQL ODBC 5.2a Driver};SERVER=Licensedb;DATABASE=License;pwd=root;PORT=3306;OPTION=3 and this report is called from website using the below code
Dim crystalReport As ReportDocument = New ReportDocument()
Dim repPath As String = Server.MapPath("~/Reports/") + "LicenseReport.rpt"
crystalReport.Load(repPath)
CrystalReportViewer1.ReportSource = crystalReport
crystalReport.SetParameterValue("InstanceID", CInt(Session("sessionInstanceID")))
crystalReport.Refresh()
crystalReport.SetParameterValue("InstanceID", CInt(Session("sessionInstanceID")))
CrystalReportViewer1.Visible = True
3. The above setup works fine, when I run the website from Visual studio 2010. But when i use IIS 7, the aspx page having crystal report viewer control load and its blank.
However it work very well from studio it self.
4. So I changed the setup in point 2, by having a ODBC Data source defined. And changed the report accordingly. It work fine in Visual studio , but from IIS
it gives error "Failed to Open Connection, Failed to Open Connection <Crystal Report File name.rpt>"
5. I tried creating a System DSN and same connection string in IIS Application Connection string. But nothing changed.
Please can anyone point in correct direction. I must admit this is my first website development work, so I might have overlooked some minor details.
Any help would be much appreciated.
Thanks
Dilpreet ([email protected])hello again. I fear that what is said in that article does not apply to my particular case.
First of all i am using the Crystal Report Basic 2008, which I think is not the same product as Crystal Reports 2008.
In addition, printing fails always, on my PC and on the web server.
On the other hand I can not find anywhere printcontrol.cab file or printcontrol.dll, just do not exist either in my PC or on the web server.
The folder where the report viewer is located is not CrystalReportViewers12, is CrystalReportWebFormViewer4, and is located at wwwroot\aspnet_client\system_web\2_0_50727\
Investigating I found something, but has not helped me:
[http://social.msdn.microsoft.com/forums/en-US/vscrystalreports/thread/0af08d25-dd71-41ce-92fa-ca374f933eaa/]
This problem is what always happens to me when on my local PC I access my web server by its public IP.
I think I must resign myself to use only the PDF print
thanks anyway -
Connection to "Central" Services Registry from Visual composer not working
Hi Folks,
We are having issues connecting to the Services registry from the Visual Composer. The search on services in the services registry does not yield any results.
We have configured the NWA page as mentioned on the "Configuring the Services Registry" http://help.sap.com/saphelp_nwce10/helpdata/en/46/94dd02c7b915ebe10000000a114a6b/frameset.htm
Any ideas to help will be highly appreciated.
Thanks
Z.Hi ZM
I had the same problem with my service registry. In Web Visual Composer, i didn't find any service in SR.
I resolve in two ways.
Configure the service registry in NWDS, there works fine, but i have problem with DC in VC in NWDS.
I use destination WSIL, with this destination i have found all the services
Regards
Marcos -
Adding a parameter for Visual Composer
i want to add a parameter called vc.bi.sqleditorenabled for Visual Composer
i read that use this parameter in visual Administrator.
Pls tell me how can i do it
Message was edited by:
Balaji RajendranHi Balaji
SQL and MDX Editor functionality is available in Visual Composer in the following ways:
● On the BI → SQL Editor and BI → MDX Editor menus.
● In the workspace, from the context menu of a relational or OLAP query from a data
service defined using one of the BI Java Connectors mentioned above.
● In the MDX Statement and SQL Statement fields on the input ports of corresponding
data services, which allow you to send query statements to the databases.
For security purposes, the SQL and MDX Editor functionality is turned off by default in Visual
Composer. Therefore, if you try to access it, the following message is displayed: You are not
authorized to use this functionality.
To enable SQL and MDX Editor functionality, use the following parameters in the Visual
Administrator:
● vc.bi.sqlEditorEnabled - SQL Editor and SQL Statement from input port are visible
● vc.bi.mdxEditorEnabled - MDX Editor and MDX Statement from input port are visible
Change document logging is not available with the SQL or MDX Editors; only
database logging (SQL Editor) or OLAP server logging (MDX Editor) is
available.
Warning:
Significant caution should be taken when using the SQL and MDX Editor
functionality, to avoid the potential for corrupting data and to prevent users from
viewing data that they are not authorized to see.
To prevent potential security risks, we urge the database administrator to restrict
user authorization on any data source defined on the portal using the BI JDBC
Connector, BI ODBO Connector, or BI XMLA Connector. We recommend that
you set the proper authorizations for your users on the database level, and that
you use dialog users (individual database user names) for user mapping on the
portal.
Note that if you enable this functionality and save models that expose SQL and
MDX statement fields on the input ports of data services, these fields, and hence
the potential security risks, will persist in the models even if you later disable this
functionality. In addition, the fields persist in models that you export and import
into a Visual Composer system in which the functionality is disabled. We therefore
recommend you carefully consider security risks before enabling this functionality.
Cheers,
Shaym -
How to log input parameters for Function Modules?
Hi,
I need to create a Logging system to trace input parameters for function modules.
The log functionality could be done by developing a class method or a function module (For example 'write_log'), and calling it within each function module that I want to log. The 'write_log' code should be independent from the interface of the Function Module that I want to log.
For example, I'd like to write a function/class method that can log both these functions modules:
Function DummyA
Input parameters: A1 type char10, A2 type char10.
Function DummyB
Input parameters: B1 type char20, B2 type char20, B3 type char20, B4 type Z_MYSTRUCTURE
Now the questions...
- Is there a "standard SAP" function that provide this functionality?
- If not, is there a system variable in which I can access runtime all parameters name, type and value for a particular function module?
- If not, how can I loop at Input parameters in a way that is independent from the function module interface?
Thank you in advance for helping!check this sample code. here i am capturing only parameters (import) values. you can extend this to capture tables, changin, etc.
FUNCTION y_test_fm.
*"*"Local Interface:
*" IMPORTING
*" REFERENCE(PARAM1) TYPE CHAR10
*" REFERENCE(PARAM2) TYPE CHAR10
*" REFERENCE(PARAM3) TYPE CHAR10
DATA: ep TYPE STANDARD TABLE OF rsexp ,
ip TYPE STANDARD TABLE OF rsimp ,
tp TYPE STANDARD TABLE OF rstbl ,
el TYPE STANDARD TABLE OF rsexc ,
vals TYPE tihttpnvp ,
wa_vals TYPE ihttpnvp ,
wa_ip TYPE rsimp .
FIELD-SYMBOLS: <temp> TYPE ANY .
CALL FUNCTION 'FUNCTION_IMPORT_INTERFACE'
EXPORTING
funcname = 'Y_TEST_FM'
* INACTIVE_VERSION = ' '
* WITH_ENHANCEMENTS = 'X'
* IGNORE_SWITCHES = ' '
* IMPORTING
* GLOBAL_FLAG =
* REMOTE_CALL =
* UPDATE_TASK =
* EXCEPTION_CLASSES =
TABLES
exception_list = el
export_parameter = ep
import_parameter = ip
* CHANGING_PARAMETER =
tables_parameter = tp
* P_DOCU =
* ENHA_EXP_PARAMETER =
* ENHA_IMP_PARAMETER =
* ENHA_CHA_PARAMETER =
* ENHA_TBL_PARAMETER =
* ENHA_DOCU =
EXCEPTIONS
error_message = 1
function_not_found = 2
invalid_name = 3
OTHERS = 4
IF sy-subrc = 0.
LOOP AT ip INTO wa_ip .
MOVE: wa_ip-parameter TO wa_vals-name .
ASSIGN (wa_vals-name) TO <temp> .
IF <temp> IS ASSIGNED .
wa_vals-value = <temp> .
ENDIF .
APPEND wa_vals TO vals .
ENDLOOP .
ENDIF.
ENDFUNCTION. -
What are the input parameters for Function Module
Dear Experts,
I want to generate a Sales Tax returns report,those fields are not available in my existing Datasources.
For that i want to write a Generic Datasource with Function Module.
audat
bukrs
vkorg
vtweg
spart
aurat
auart
netwr
mwsbp
kschl zedp(consition type)
kschl zvat(condition type)
ksch zcst(condition type)
matkl material group
Here what are the Input parameters for Function Module.
Thanks in Advance.
Srinivasan.Srinivasan-
For creating a Generic extractor based on a FM, you first of all need to know what is going to be your structure.. i.e. what all fields you need to pull from what all tables. A functional consultant may help you identify the exact DB tables.
Once you know them, hand over the requirement and the pdf mentioned by Krishna to the ABAP guy, he would be able to take this up further.
Also decide 1st whether you would be using a full load or delta. There is a slight difference in the way they are built.
Let me know how it goes.
-Bhushan. -
A consultant told our department manager that SAP was not going to enhanse Visual Composer; that it would only get bug fixes. I think he may have confused 7.0 with 7.1/7.2. Is there a future for Visual Composer or is it a waste of time.
Hi John,
I found this presentation from TechEd 2010 that says that VC lives on in CE.
http://www.sdn.sap.com/irj/scn/index?rid=/media/uuid/602910e7-40ac-2d10-65bd-8e4f4abb9c79
Thank you for providing input.
Leo -
Hi Gurus,
I am trying to mask the secured column from the table for one specified user, Here is the detail of DB and code which I am using to apply the security:
DB Version: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0
Security Function:
create or replace function kr_sec_function_papf(p_object_schema IN VARCHAR2,
p_object_name VARCHAR2)
return varchar2
as
p_nid varchar2(200);
whoami varchar2(100);
begin
if SYS_CONTEXT('USERENV', 'SESSION_USER') = 'VPDTEST'
then
p_nid := 'national_identifier = national_identifier';
return (p_nid);
else
p_nid := '1=2';
return (p_nid);
end if;
end kr_sec_function_papf;
Code to Add Policy:
BEGIN
DBMS_RLS.ADD_POLICY(
object_schema => 'APPS',
object_name => 'PER_ALL_PEOPLE_F',
policy_name => 'secure_emp',
policy_function => 'kr_sec_function_papf',
statement_types => 'SELECT',
sec_relevant_cols=>'NATIONAL_IDENTIFIER',
sec_relevant_cols_opt=>DBMS_RLS.ALL_ROWS);
END;
I am getting error while executing the above plsql block, Error is:
ORA-28104: input value for sec_relevant_cols is not valid
ORA-06512: at "SYS.DBMS_RLS", line 20
ORA-06512: at line 2
Any one please help me to resolve the issue.
Thanks in Advance.
~Krishna Nand SinghHi Every one,
I got this issue resolved.
The issue is with parameter object_schema => 'APPS' , the object schema name is 'HR' and APPS has synonym with the same name.
The Correct code should be:
BEGIN
DBMS_RLS.ADD_POLICY(
object_schema => 'HR',
object_name => 'PER_ALL_PEOPLE_F',
policy_name => 'secure_emp',
policy_function => 'kr_sec_function_papf',
statement_types => 'SELECT',
sec_relevant_cols=>'NATIONAL_IDENTIFIER',
sec_relevant_cols_opt=>DBMS_RLS.ALL_ROWS);
END;
Thanks,
Krishna Nand Singh -
Creating web service system for Visual Composer
Hello,
I seem to have made some changes that made my unable to create web service systems for Visual Composer.
The change I made is in NetWeaver Administration > Configuration > Application Resources > WebServicesFactory, I added the Configuration Property "UseCacheByDefault" with Boolean value = true.
After this, if I create a web service system in Enterprise Portal, the Connection Tests fail. In Visual Composer when I define a web service system, the error I am getting is: "Connector Factory not found for value WebServicesFactory".
I have tried to delete the UseCacheByDefault property I added as well as restart the server but I am still getting the error.
However when I test my web service using the Web Services Navigator, I am not getting any problems. So my guess is the problem lies with the connection factory.
Can anyone help me with this issue?
Thanks.Hello,
Since creating WS system in the portal resulted with failed connection test, the issue has nothing to do with VC.
I'm just guessing, but try to configure proxy in the J2EE engine.
If that doesn't help I suggest you raise this question in the portal forum.
Best regards,
Shay -
Can i have trial version for visual composer 7.0 or sapnetweaver 2004?
hi all,
Can anyone help me out where can i get trial version for visual composer 7.0 or sap netweaver 2004.
And what is the system requirement to install the visual composer.
thanks
PoojaHi Pooja,
Have you checked this? https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0576c7e-e306-2a10-37b8-a25d82e6f9d8
Also, please check if you have Adobe SVG Viewer 3.0 and MSXML 4.0. These are reqd for VC
Let me know if it helps
Regards,
Vani -
Numerical Input for Sliders does not work!!
Hi,
I am using Logic Pro 7.1.1. For some reason the numerical input of the sliders does not work for me.
According to Page 15 of the Logic Pro 7 Reference Manual, double-clicking on the value of a fader should bring up a little text entry box that I can enter a number into, for the value in dB that I want that fader to be set at. For some reason this does not work with the faders but does work for pan knobs.
I know this is something that used to work in Logic 4.8 (the last version of Logic I used). Does anyone else have this problem? Does anyone have a solution?
Thanks,
John
Dual 2.3 GHz G5 Mac OS X (10.4.2) Logic Pro 7.1.1Cookie,
Mine is acting like yours.
Mitch -
BATCH-INPUT On transaction VT02 does not work.
Greetings, colleagues!!!
I have written BATCH-INPUT on transaction VT02. I try to remove delivery from transportation. But for me does not work BATCH-INPUT because function of "Positioning" does not work in BATCH-INPUT. Prompt please. How I can remove delivery from transportation in my program using functionality of transaction VT02?
Thanks for the help.
Sergey Kozymaev.I used this in a program a while ago, worked like a charm.
s_header-shipment_num = <shipment #>.
i_item-delivery = <delivery #>.
APPEND i_item.
i_itemaction-delivery = 'D'.
i_itemaction-itenerary = 'D'.
APPEND i_itemaction.
CALL FUNCTION 'BAPI_SHIPMENT_CHANGE'
EXPORTING
headerdata = s_header
headerdataaction = s_headeraction
TABLES
itemdata = i_item
itemdataaction = i_itemaction
return = i_return. -
Does visual composer 7 work with NW 04?
Hi people!!
does visual composer 7 work with NW 04?
anybody can answer the question?
I actually use the visual composer for analytics but i have problems with the jdbc standard systems( can´t use store procedures),
thanks in advance.Thanks Mario,
I actually use the visual composer for analytics but i have problems with the jdbc standard systems, (not with bi jdbc) , i can see de store procedures but can´t use)
anybody knows why??
thanks in advance. -
Hi all,
BDC for KE51 is not working.I did recording with my Func Consultant and I created the program,all the data is coming correctly in th structure RECORD.But when Iam running the transaction,in foreground mode(Display all screens) the data is not getting entered into the fields of the screen,few got entred and few are blank.When I tried to reprocess the recording,then also data is not getting entered into the fields.Data is there in the recording.
What might be the problem?Hello Techies,
i m having the same problem but in my program i have to extract the data from SAP server and again have to upload in other table on SAP so please help me how would i extract the data and after that upload it using BDC.
Thanks
Maybe you are looking for
-
How to get a gmail style thread / conversation view
Does anyone know of a plugin or hack to allow viewing of threads or conversations in Apple Mail the same way the gmail does? Mail's "Organize by Thread" only goes halfway and lacks three critical aspects of gmail's "conversation" method: 1 suppressio
-
Offline mode problem nokia N73
Hello, I have a problem with my Nokia N73, after having passed in Offline mode, it is impossible to change it. I carried out a hard reset by *#7370#, the phone posts general mode, but when i wants to connect to the network it posts phone in Offilne m
-
Concurrent requests failing with - emsg:was terminated by signal 11
Hi All, we have cloned a test instance form production. Most of our concurrent requests are failing with the following error: APPLLCSP Environment Variable set to : Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are : American_Amer
-
When clicking o/the partitionmenu in EAC the essbase.exe rizes up to 60%CPU
When we click on the partitionmenu in EAC client the Essbase.exe climbs to 60% and this takes about 3 to 8 minutes. The EAC sessions is frozen, you can not click on any menu item during 3 to 8 minutes. When the user session on the particular essbase
-
my printer won't print from computer but will from an sd card