How to define this FORMAL parameters for a std. SAP itab?
Hello Experts,
Am writing a custom PERFORM in a standard SAP include-RVCOMFZZ by using modification assistant, like below,
RVCOMFZZ:
PERFORM my_routine IN PROGRAM my_report USING com_vbapvb.
(here com_vbapvb is a TABLES parameter with STRUCTURE of vbapvb in the std. sap FM).
my_report:
FORM my_routine USING here_I_want_to_know_the_data_object
ENDFORM.
Here pls. let me know How to define the FORMAL parameters of my_routine? I tried with different options, but did not worked out. Preferable let me know in OOPS concepts (not using TABLES)
Thank you
Hi,
here is example how to write you structure content regardless what com_vbap has field list.
PERFORM my_routine IN PROGRAM my_report USING com_vbapvb.
FORM my_routine USING here_I_want_to_know_the_data_object.
field-SYMBOLS: <field> type any.
do 100 times.
assign COMPONENT sy-index of structure ls_VBAPVB to <field>.
if sy-subrc = 0.
write:/ <field>.
else.
exit.
endif.
enddo.
ENDFORM.
Bye Jan
Similar Messages
-
File with variable structure how to define the FCC parameters for it?
Hi all,
I have a scenario which is File to IDOC
and file structure is in this way
Header:
HDR|ROSS-Daily-Inv|20111104
Data :
INV|01|059EMS|107128|20111104|USD|21703|IN|1| 0.00| 0.00|60-5B-30| 600.00|VIAL|0.00|0.00|EM||NETDUE|CLINIC|Y||490000
TOT|01|059EMS|107128||USD||||0|0
INV|01|EXB001|107130|20111104|USD|02420|IN|1| 823600.00| 823600.00|| 580.00|VIAL|0.00|0.00|||NET30|COMM|N||
TOT|01|EXB001|107130||USD||||823600|823600
Trailer:
TLR| 6| 1382679.00
can any help me defining the Datatype for this structure and FCC parameters
Thanks
SaiHi,
In Sender CC, use content conversion and especially these options:
¤ RecordSet Structure = Header , 1 , Data1 , * , Data2 , * , Footer , 1
¤ Key Field Name = MyKey
¤ Namea.keyFieldValue, to distinguish your different structures (records).
for instance, like that:
Header.keyFieldValue = HDR
Header.fieldName = MyKey , xxxxx, yyyy
Data1.keyFieldValue = INV
Data1.fieldName = MyKey , xxxxx, yyyy
Data2.keyFieldValue = TOT
Data2.fieldName = MyKey , xxxxx, yyyy
Footer.keyFieldValue = TLR
Footer.fieldName = MyKey , xxxxx, yyyy
Otherwise, in SDN with term "recordset" you will find some blogs...
Regards.
Mickael -
How to complain to Apple about this company and how to get a formally answer for problem with Apple agent in Kuwait??
You did not buy your iphone from an Apple store. No Apple employee sold you anything.
Your complaint is not with Apple. You bought from an unauthorized seller. Your complain is with that seller.
As you have been told more than once, Apple has nothing to do with this. -
How to defined data carrier valued for Linux?
Hi,
I am Defining Data Carrier. But I don't understand "Data carrier type" value. Is this PC value data carrier type for window? So If I want to define value data carrier for Linux. How to defined data carrier valued for Linux?
Please advise,
DuypmHi Nikita,
Refer the below mentioned links for your requirement.
http://forums.sdn.sap.com/thread.jspa?threadID=412923
http://forums.sdn.sap.com/thread.jspa?threadID=1639500
Both have good guidelines on coding as well as configuration part.
Regards,
Deepak Kori -
How to set the connection parameters for SQL
How to set the connection parameters for SQL to access the MS Access database
Attachments:
Quick_SQL.vi 21 KB
Doc1.doc 45 KB
db1.mdb 112 KBRight-click the WINDOWS desktop, choose New->Microsoft Data Link. That will bring up a dialog that allows you to configure and test your database connection. You might connect to the Access database via ODBC or directly via Jet Engine. The Jet Enginge saves you the trouble of creating an ODBC connection on your PC. After you leave the dialog, the "data link" will show up on your desktop as text file. Open it and copy-paste the connection string to your VI.
This webpage is an excellent resource for connection strings: http://www.able-consulting.com/ADO_Conn.htm
If your application requires users to change the database connection at runtime, you can also include the dialog via ActiveX (MSDASC.IDataSourceLocator). -
Hi,
While installing XQuatrz-2.7.7, the installation blocks at the "destination" level. It asks how to install this soft, "Install for all users" is shadowed, but frozen: i cannot select anything and move on. Any idea how to get that fixed?
Thanks!It says above 2 relevant and 1 correct answere available .............
I'm new here so could anyone direct me to these answeres? -
How to define the date format for this date string
2006-11-13 00:00:00.0
How to define the date format in control file for sqlldr. "yyyy-mm-dd hh24:mi:ss" or "yyyy-mm-dd hh24:mi:ss.FF1" does not work
thanks,SQL> desc t
Name Null? Type
TS TIMESTAMP(6)
SQL> !cat t.ctl
load data
into table t
truncate
(ts timestamp "YYYY-MM-DD HH24:MI:SS.FF1")
SQL> !cat t.dat
2006-11-13 00:00:00.0
SQL> !sqlldr userid=scott/tiger control=t.ctl data=t.dat log=t.log
SQL*Loader: Release 10.2.0.3.0 - Production on Fri Sep 7 11:19:28 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Commit point reached - logical record count 1
SQL> select * from t;
TS
13-NOV-06 12.00.00.000000 AMBest regards
Maxim -
How to define logic to BO for display of more meaningful messages in Webi?
Hi All.
Greetings for the Festive Season.
We would like to know as to how to define the logic to our BO application while displaying messages to end users of Web Intelligence.
We have defined restrictions for various users and restrictions are appliced correctly when the user logs in.
We have some MIS REPORTS in Web Inetlligence with different charts and we have also given links to various other web intelligence reports at the bottom for users to click and view or do analysis.
And if any user if he/ or she is not authorised to view any / or part of the report - it does not show up.
Which works well.
But if some user is not part of any group and is not authorised to view data in a particular report, then we see a standard message coming in like :
"No Data to retrieve in Query1" or "No Data to retrieve in ABC".
Which one could say is correct. Because for that particular user, the query has NO data.
But. We feel there has to be a logic to be defined differently with the applicaton.
How do we differentiate - as to whether the query does not really have data at the back end and HENCE it is saying No data to retrieve in the Query or report
OR whether the user who is trying to view report is NOT authorised to view
AND HENCE the message is displayed as "No Data to Retrieve"
We looked at the source file and it is pointing to :../AnalyticalReporting/viewers/cdz_adv/ViewDocument.jsp?
But we found it a bit difficult to understand the logic there.
Could anyone advise as to how we could define this logic for Web Intelligence - so that messages we see on screen for the end user could be more meaningful ? How do we really make the system understand or look for 2 options as to whether the message to be displayed is because there is REALLY NO DATA AT THE DATABASE LEVEL, OR whether the USER is not authorised to view this data.
Can this be made possible by any means or thro SDK ?
Many thanks
Regards
Indu
Edited by: Indumathy Narayanan on Dec 21, 2010 9:50 AM
Edited by: Indumathy Narayanan on Dec 21, 2010 9:51 AM
Edited by: Indumathy Narayanan on Dec 21, 2010 9:54 AMHere is my current report detail view.
[http://s49.photobucket.com/albums/f270/helenen/add/?action=view¤t=2010-06-2511-44-20.png]
(click on link and view at 100%)
The 3 rd KF column is the calculated ratio which is => 2nd Column (Work Hrs) A% 1st column (PlanHrs)
Right now, I cann't get % at detail line (they're now shown as X, because PlanHrs is not null at detail line.
I'd like those X should be calculated as => WorkHrs (at that line) A% PlanHrs (of that specific employee) .
For example: 16 A% 1827 = 0.875%
It seems soo eassy but I coulnd't do it. -
How to define the default activity for an unbounded task flow?
In the new "Fusion Developer’s Guide for Oracle Application Development Framework 11g Release 1" documentation at the bottom of page 14-3 it states "An unbounded task flow .... contains a default activity, an activity designated as the first to run in the unbounded task flow, because an unbounded task flow does not have a single point of entry."
What I can't find is how to define the default activity in an unbounded task flow and where this is recorded? Can we set this via the task flow diagrammer, and which configuration file is it stored?
I note the first time I run the application with an unbounded task flow a dialog asks me which of the activities in the adfc-config.xml file to make the default, but I can't find where this is recorded.
Anybody have any ideas?
Thanks,
CM.Chris,
In fact this information is nothing that belongs into the taskflow meta data because unbounded taskflow have more than one entry point and there is no notion of default. Its a tools setting (JDeveloper) we had before
Frank
Message was edited by:
Frank Nimphius -
Portal: how to define new text variables for information broadcasting
Hello everybody,
I hope the post here is placed on the right position. If not, please try to advise me, where to ask to get answer on following question:
-> In BI Portal -> tab Business Intelligence -> Bex Broadcaster -> it is possible to create PDF and post it somewhere into Portal or any other network drive. That's fact. I'm searching for possible enhancement of the F4 help next to the field "data name". There are available only following few variables <OBJECT_ID> <SETTING_ID> <OWNER_ID> <PROCESSED_BY_ID> <LANGUAGE_ID> <DATE_ID> <TIME_ID> <WEEK_ID> <MONTH_ID> <QUARTER_ID> <YEAR_ID>
We are facing this issue: generated analysis file is valid for the period from month 01 to month actual-1. So therefore I would like to implement my own variable.
Do you know guys, where to define this own variable with own logic?
Could you please give me some hints how to create a new one and fill the logic?
Thank you very much in advance
StanNot resolved. Life goes still on.
-
How to define authorization by department for Query in BW
Hello:
How to define the authorization by department for Query in BW. as follow:
The Northern part manager can run any Query, and return the data of Northern part only.
pls give me the method.
Regards&Thanks!Hi zagory,
I am assuming that you have some infoobject which contains the department data.
here is a step by step process to add authorisation on this object.
1) Define the InfoObject as Authorization Relevant (from the BeX tab in the IO properties.
2) Create a reporting authorization object for this InfoObject (This would be done through Transaction RSSM).
3) This new authorization object needs to be added to the relevant roles (Transaction PFCG). For examle your North region manager should be in a role which has access to all the departments in the northern region.
4) A variable needs to be added to the query. This is required because the query needs to be able to restrict data by department dynamically. You would need to ensure that that the variable you create on the department InfoObject is of type authorisation,can take multiple single values and picks up data from the relevant authorisation object. Just add this InfoObject with restriction on this variable in the filter section in your query.
5) Finally the new authorization object created in step 2 would need to be assigned to the relevant cubes. This is again done through transaction RSSM. This will force the reporting authorization object to be checked when ANY query on any of these cubes is executed.
Hope it helps,
Regards,
Nikhil -
How to define Composite primary key for a Table
Hi ,
I am basically more into Java Programming , with little bit knowledge on Oracle as DataBase .so please excuse for my silly doubts .
Can anybody please tell me how to define a Composite Primary Key on a Table .
Thanks in advance .
Edited by: user672373773 on Sep 25, 2009 8:54 AMHere is an example right out of the Oracle documentation and the syntax for adding PK since you mention adding a composite PK.
Example creating composite index
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_indexing.htm#sthref594
Syntax for adding a PK (composite or not)
alter table oooooooo.tttttttt
add constraint tttttttt_PK
primary key (sample_column2,
sample_column1)
using index
tablespace IDXSPC
pctfree 05
initrans 04
maxtrans 08
storage (initial 16k
next 16k
maxextents 32
pctincrease 0);
-- dictionary management with restricted storage, change as desired.
HTH -- Mark D Powell -- -
How do you set Plugin parameters for audio in DW CS3?
Hi there,
I am putting some audio on my site using the PLUGIN, from the media insert option in DW. The audio is there but it plays immediately and I'd like for people to have the option to hit the play to start the audio. I have no idea how to do this. Please help if you can. ThanksPost a link to your page please. Answers are in your code but we can't help you if we can't see what you have done so far.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
How to define an export system for a production system?
Hello:
I remember there is a way to define an export system for a PRD.
However I cannot recall exactly what to do: in transport profile or instance profile?
Could any expert help find out this?
Thanks with points!
Regards!Hi,
Are you trying to configure CHARM? In that case, try setting the domain controller as the production system and keep CTC=1.
This should help.
Thanks,
Rinkal -
How to Define Multiple Notification Rules for Different E-Mail Channels?
In C4C we can define a notification rule for New tickets, for example, that provides an acknowledgement of receiving the customer's e-mail.
This works great for a single support team, but what if we have multiple support teams, each with their own e-mail address, and each with unique requirements for their auto-acknowledgement?
When setting up a new notification rule, there doesn't appear to be any option to define the e-mail channel, service and support team value, or a "from" e-mail address.
We're on-boarding over a dozen e-mail teams, and I'd hate to tell them that they'll all have to share one auto-acknowledgement template from a single do-not-reply address.
Does anyone know if this is possible to:
Define the e-mail channel or service and support team as an condition in the notification rules.
Define the outgoing "from" e-mail address for a notification rule.
Thanks for any insight the community might have!
Mike
T-Mobile USAHi Mike,
As of release 1402, your analysis is correct. The out-of-the-box notification rules do not include the "incoming email channel" as one of fields on which to build condition, and all notifications are sent from a common do-not-reply address.
You can easily overcome the first limitation by using the SDK. For example, when the ticket is created you could set an extension field based on the email channel, and then use the extension field to define different notification rules, using different templates. All extension fields are automatically available to be used as conditions.
Thank you for your feedback and for bringing this item to our attention. We will definitely keep this in mind as we plan for future releases.
Kind regards,
Gabriele Bodda
Product Management
Maybe you are looking for
-
I was LIED to regarding a SERVICE UPGRADE. UNBELIEVABLY disappointing and dishonest
I have been a loyal verizon customer for over a year. Was excited to have my new service installed at my new place. $106 a month including DVR. Very pleased. I could not view my bill or change services within the first month but wanted to look into
-
Error deploying SOAOrderBooking BPEL Process through Ant
Hello, I following Oracle SOA Quick Start Guide (Part # B28938-01) to setup Demo SOA Application. I followed the document Chapter 2 and installed SOA Suite with "Basic Install" and JDeveloper 10.1.3.1.0. When deploying SOAOrderBooking BPEL Process as
-
The following program does not work as expected when compiled with -library=stlport4 #include <iostream> using namespace std; int main(int argc, char **argv) { cout.rdbuf()->pubsetbuf(new char[20*1024+1], 20*1024+1); cout.sync_with_stdio(fals
-
Hi Experts I havea major issue. I guess this is technical and hope to get your help I need to know how I can get rid of an asset that I am disposing of when the asset was not loaded in a sub-ledger ???? Please advice ASAP with T codes and se up? Win
-
Some AR Invoice status are Closed but some AR invoice status are Open-Print
Hi, I have seen some AR Invoice status are Closed but some AR invoice status are Open-Printed. There are any reason for this. Regards, Mzian