Load parameters in MBO development
Hi all,
I have an input parameter in my RFC , so i want to pass the load paramter to RFC and i will get my list. I have configured this sync and load parameter while creating MBO, after that i have generated the code and am using that generated code in the Custom application. So what is the best way to acheive it??
Regards,
Ram
Hi Ram,
Even I haven't done this earlier but there is a tutorial to help us.
Please go to link : http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01214.0200/doc/html/vhu1280335451070.html
There is a link to download zip file which contains the code for the screens that you need to develop.
In the tutorial, they considered SUP101 MBO which is based on customer from the sample data base. They also have edit fields based on the given values, they try to execute query and show it on device. Even they map the edit fields to synchronization paramters and ulimately execute the synchronize operation.
So in your case, instead of MBO connecting to data base it connects to SAP backend. So following the tutorial would solve your problem.
Best Regards,
Siva.
Similar Messages
-
When CDB gets populated? what is load parameters and syn parameter?
hi all,
myself have a query with regards to consolidated database where would to like to know when does the CDB gets populated. when we deploy the MBO does the mbo bring the data from backend sys or when we call it from UI client.
what is load parameters and syn parameter got confused. please explain in very normal term.
thnaks
skthanks rincy and reddy for reply
myself understood the concepts of load and sync parameters thanks for your inputs....
we are doing a scenario with backend as SAP and front end ui with ios. we have done all the things in place and when executing from ui front end only the last record is displayed. for example if it is returning 6 records then it displays only the last record.
check in CDB and foun only the last record is ther in it but when doing the PREVIEW of MBO to test it their it displays all the record but from UI it is displaying only 6th record
this where my query is that hw and when CDB gets populated and where i have to look in to rectify it....
thanks
SK -
How to calc load parameters field for INSTALL for LOAD command
Hi everyone ,
I'll appreciate it if anyone could help me to find out how to calculate load parameters field for Install for Load Command .
(which tags and parameters I should use to make this field )
Best Regards,
SHKasSHKas wrote:
I'll appreciate it if anyone could help me to find out how to calculate load parameters field for Install for Load Command .
(which tags and parameters I should use to make this field )Hi SHKas,
The field is deffined in the GP card spec 2.1.1 under 9.5.2.3.6 INSTALL [for load] and INSTALL [for install] Parameters. The section of text explains what each field is and the tag to use to encode. Each value is a two byte short.
Cheers,
Shane -
How to change NLS parameters in SQL Developer?
I think that Oracle National Language Support is quite confusing. How can I easily change NLS parameters for SQL Developer (for all connections) to match exactly those that my database is using?
Hello,
SELECT 5/8 x FROM dual;F9 -> 0.625
Change decimal separator in preferences
F9 -> 0,625
It is different when I execute a query/script with F5, then I always get 0.625
SELECT * FROM nls_session_parameters
WHERE parameter = 'NLS_NUMERIC_CHARACTERS';
PARAMETER VALUE
NLS_NUMERIC_CHARACTERS .,
SELECT 5/8 x FROM dual;
X
0.625
Change settings
SELECT * FROM nls_session_parameters
WHERE parameter = 'NLS_NUMERIC_CHARACTERS';
PARAMETER VALUE
NLS_NUMERIC_CHARACTERS ,.
SELECT 5/8 x FROM dual;
X
0.625Even changing the settings with ALTER SESSION makes no difference
ALTER SESSION SET NLS_NUMERIC_CHARACTERS = ',.';
SELECT * FROM nls_session_parameters
WHERE parameter = 'NLS_NUMERIC_CHARACTERS';
PARAMETER VALUE
NLS_NUMERIC_CHARACTERS ,.
SELECT 5/8 x FROM dual;
X
0.625
ALTER SESSION SET NLS_NUMERIC_CHARACTERS = '.,';
SELECT * FROM nls_session_parameters
WHERE parameter = 'NLS_NUMERIC_CHARACTERS';
PARAMETER VALUE
NLS_NUMERIC_CHARACTERS .,
SELECT 5/8 x FROM dual;
X
0.625It seems the script output does not care about my settings :-(
Regards
Marcus -
Error loading metadata for MBO
Hi,
I´ve migrated MAM 3.0 from Mobile 7.0 to 7.1 and I´m facing a strange problem.
I´m testing MAM 3.0 for Handheld version on mobile devices and laptop. When I create a notification in MAM testing in a laptop and synchronize MI Client, it works perfectly, while that, when i create a notification in MAM in a mobile device and sync, i get the error:
"error loading metadata for MBO"
Checking in jscpout, i can see:
Sync.jsp -- sequence 27 -- syncReplyReceived -- error MAM30_010
The scenario is the same for both tests. Has anyone idea to solve it?
Thanks.
BrunoHi,
We´ve solved the issue. We are using MI 7.1 SP08 and after apply the composite notes for SP08, the problem is solved.
Thanks. -
How to execute sqlplus command like 'show parameters ' in SQL Developer?
Hi guys,
here's another problem i just ran into, is it possible to run sqlplus cmd like 'show parameters ' in this tool? anyone can help? thanks in advance.thanks.
and i just looked into the user guide and found that several sqlplus commands were unsupported in SQL Developer, including 'show '. i don't know why but anyway i get the answer, i can go back to use sqlplus itself. -
Problems using SQL*Loader with Oracle SQL Developer
I have been using TOAD and able to import large (milllions of rows of data) in various file formats into a table in an Oracle database. My company recently decided not to renew any more TOAD licenses and go with Oracle SQL Developer. The Oracle database is on a corporate server and I access the database via Oracle client locally on my machine. Oracle SQL Developer and TOAD are local on my desktop and connected through TNSnames using the Windows XP platform. I have no issues with using SQL*Loader via the import wizard in TOAD to import the data in these large files into an Oracle table and producing a log file. Loading the same files via SQL*Loader in SQL Developer, freezes up my machine and I cannot get it to produce a log file. Please help!
I am using SQL Developer version 3.0.04. Yes, I have tried it with a smaller file with no success. What is odd is that the log file is not even created. What is created is a .bat file a control file and a .sh file but no log file. The steps that I take:
1.Right click on the table I want to import to or go to actions
2. Import Data
3. Find file to import
4. Data Preview - All fields entered according to file
5. Import Method - SQL Loader utility
6. Column Definitions - Mapped
7. Options - Directory of files set
8. Finish
With the above steps I was not able to import 255 rows of data. No log file was produced so I don't know why it is failing.
thanks.
Edited by: user3261987 on Apr 16, 2012 1:23 PM -
Running in parameters in sql developer
Every time I run a package body in SQL Developer. A screen shot pops with this information:
DECLARE
REPORT_TYPE VARCHAR2(200); --in parameter
ORG_CONTRACT VARCHAR2(200); -- in parameter
CUR_CONTRACT VARCHAR2(200); -- in parameter
REPORT_BEG_D DATE; --in parameter
REPORT_END_D DATE; --in parameter
MY_FILE VARCHAR2(200); --out parameter
BEGIN
REPORT_TYPE := NULL;
ORG_CONTRACT := NULL;
CUR_CONTRACT := NULL;
REPORT_BEG_D := NULL;
REPORT_END_D := NULL;
RUN_REPORTS.RUN_CLIENTLIST(
REPORT_TYPE => REPORT_TYPE,
ORG_CONTRACT => ORG_CONTRACT,
CUR_CONTRACT => CUR_CONTRACT,
REPORT_BEG_D => REPORT_BEG_D,
REPORT_END_D => REPORT_END_D,
MY_FILE => MY_FILE
/* Legacy output:
DBMS_OUTPUT.PUT_LINE('MY_FILE = ' || MY_FILE);
:MY_FILE := MY_FILE;
END;
What lines should I use to place the IN parameters?APC wrote:
As I understand it SQL Developer does not allow multiple session for the same connection. So all the open tabs for the same connection are in one session. So obviously this means taht we can only do one thing per connection, not per tab. Thus your second report won't run until the first report ends.
If you want to do two things in parallel with the same user you will need to create a second connection - different connection name, same connection properties.
This is a limitation of SQL Developer.
Cheers, APCNot entirely true. You can open an "Unshared worksheet" which uses a separate instance of the connection. You can only have one object browser per connection though. -
Just Loaded Update And SQL Developer is Dead
Called up SQL Developer and the Updater popup notified me of a new update. Did a check for updates and checked the update for SQL Developer and loaded it with settings transferred to new instance. Now the entire blue pane with all the details is toast. Nothing. Zero, Nada. Terrific update.
BreeWinning move!
I just renamed it, created a blank system folder, and then restarted SQL Developer. I said No to the migrate settings from other version screen. Then I put back the dbconnection folder and got my databases back. I can selectively add back preference folders and should be able to reconstitute.
Looks like the bug is in the setting migration routine.
Thanks!
Bree -
Some files in HTMLResources not loading in single edition developer app
Good day again.
I have created a single edition app and it works perfectly when tested in Content Viewer. The moment I install the Developer .ipa the PDF files I loaded in the HTMLResources.zip folder does not load.
Any ideas what I did wrong?
ThanksAnyone? I installed DPS v32.1 hoping that will solve the problem but still no joy.
The Single Edition app I build works fine on both iOS7 and 8 when viewed in the Content Viewer, but as soon as I download the Developer App the PDF files I embedded in the HTMLResources.zip file does not load?
Please, any help out there?
Stefan -
Applet. Loading parameters.
Hollo guys!
I have an Applet imbeded into html page with list of parameters.
I know that there is the function getParameter(String) which loads parameter with cpecified name. But is it possible to load all parameters which are in <parameter> tags? I have a lot of parameters more than 50 and is it possible to load them (into string array for example) in one time?
Thank you.up
-
Using xml to load parameters in a dyn page
hi,
can anyone tell me how to get the parameters from an xml file to a dynpage? where to place the xml file in the portal application project structure?Hi Divya,
I see 2 possibilities here:
1. put your XML in the "dist" Folder in your PROJECT and access it via URL:
/irj/portalapps/<PROJECT>/XML. You can then use java.net.URL to read the content
2. put your XML in one of your src folders and access it via getClassLoader().getResourceAsStream().
If you need to change parameters during runtime, you could also consider putting the config in the KM and access it via IResource.
Hope that helps. Remember to reward tips ...
Jan -
Executing procedure with IN OUT parameters using SQL developer
Hi, I'm trying to exceute the below procedure in SQL developer. Here the IN OUT cursor 'journal_cursor' is already defined.
PROCEDURE LIST_FORPROJECT (
p_project_sid IN NUMBER,
p_journal_cursor IN OUT journal_cursor,
AS
BEGIN
OPEN p_journal_cursor FOR
-- get the journal
SELECT j.JOURNAL_KEY AS "Journal_SID",
j.JOURNALTEXT AS "Entry",
j.CREATEDATE AS "CreateDate",
--j.COMMENT_ AS "Comment",
j.PROJECTPHASETASK_KEY AS "ProjectPhaseTaskSet_SID",
j.person_key AS "Person_SID"
FROM vdl_JOURNAL j
INNER JOIN vdl_PROJECTJOURNAL pj ON pj.JOURNAL_KEY = j.JOURNAL_KEY
WHERE pj.PROJECT_KEY = p_project_sid
ORDER BY j.CREATEDATE ASC, j.JOURNAL_KEY ASC;
END LIST_FORPROJECT;
When trying to run the above procedure through SQL developer, I get the below code generated.
DECLARE
P_PROJECT_SID NUMBER;
P_JOURNAL_CURSOR journal_cursor;
BEGIN
P_PROJECT_SID := 5974;
-- Modify the code to initialize the variable
-- P_JOURNAL_CURSOR := NULL;
-- Modify the code to initialize the variable
LIST_FORPROJECT(
P_PROJECT_SID => P_PROJECT_SID,
P_JOURNAL_CURSOR => P_JOURNAL_CURSOR,
-- Modify the code to output the variable
DBMS_OUTPUT.PUT_LINE('P_JOURNAL_CURSOR' || P_JOURNAL_CURSOR);
END;
But executing the above sql doesn't print the cursor as output but errors out saying 'wrong number or type or arguments in call to ||'. Can somebody please help me in finding a way test and view the results of such a procedure through SQL developer?
Any help is highly appreciated.
Regards,
RanganathHi,
I was able to solve the problem.. My cursor was declared like this.
TYPE journal_def IS RECORD
journal_sid NUMBER(10),
journaltext CLOB,
createdate DATE,
projectphasetaskset_sid NUMBER(10),
person_sid NUMBER(10)
TYPE journal_cursor IS REF CURSOR RETURN journal_def;
I used the journal_def type to fetch the records.
Here is how my final sql looked like.
DECLARE
P_PROJECT_SID NUMBER;
P_JOURNAL_CURSOR journal_cursor;
P_J_CURSOR journal_def;
BEGIN
P_PROJECT_SID := 11171;
-- Modify the code to initialize the variable
-- P_JOURNAL_CURSOR := NULL;
LIST_FORPROJECT(
P_PROJECT_SID => P_PROJECT_SID,
P_JOURNAL_CURSOR => P_JOURNAL_CURSOR,
-- Modify the code to output the variable
BEGIN
--open P_JOURNAL_CURSOR;
loop
fetch P_JOURNAL_CURSOR into P_J_CURSOR;
exit when P_JOURNAL_CURSOR%NOTFOUND;
DBMS_OUTPUT.put_line(P_J_CURSOR.journal_sid);
end loop;
--close P_JOURNAL_CURSOR;
END;
END;
This gave me results. Thanks a ton ALL for your help..... :)..
Regards,
Ranganath -
SQL* Loader Parameters in Concurrent Programs
Dear All,
I have used an Execution file type of SQL*Loader. So, I put the execution file name as my .ctl file. I put that .ctl file in my ../bin directory in my custom application tree.
Can any one tell, how a parameter for datafile, bad file and log file can be passed or can achieve an output report for such a concurrent program out?
Thanks
Faisal Anwar Khan.Hi
I agree to what you say. But i want to control the same at SRS Form itself.
If suppose i do the same at my Custom Program Level it will still allow me to submit null values for the parameter which i do not want to.
Unless and until the User at the SRS Form passes a value for any one parameter then the system should allow him to submit the request then and there.
Hope you are clear with the requirement.
Regards
Nakul.V -
Error in Create Operation in SUP MBO Developement
Hi all,
I have created MBO with getlist RFC and I have created CREATE operation for that MBO using CREATE RFC. After that i have created two screens one for getlist and one for create. In the create screen i have configured the submit button action to Synchronize opreation. From simulator i have create one customer but it was not sync with backend it was in pending operations.( In the Synchronize opration screen i have uncheckd the Place the operation in pending state). I did manually submit operations but nothing happened.
Please help me to resolve this.
Thanks,
RamHi Ram,
In the place where you created Synchronize action for your submit button, there will be options. One such option says "Synchronize pending operations when greater than " in that give the value as "1". So whenever it sees one single pending operation it immediately submits that operation to backend. Similarly you can configure that to any number and once those many pending operations reaches then SUP will submit them to Backend.
Regards,
Siva.
Maybe you are looking for
-
Please help, safari keep crashing
My safari keeps crashing and cannot be open. I tried to open it with another account but it didn't work. Process: Safari [1009] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safar
-
Under the Recurrence tab, when selecting a date range the date appears in DD/MM/YYYY format. How is the default changed to reflect MM/DD/YYYY. Another issue is that the description is Date and Time and the fields are reversed as Time Date. Thanks
-
Hi all, it seems that the embedded data logger does not record gaps when the log trigger is triggered multiple times when recording on the same file. Is mine a correct assumption? I tried viewing the excel export and the TDMS viewer output and the
-
Changing the default jdk images
Hi ALL, Could any one please tell me where are the default jdk icon images stored for example the jchechbox etc. Can i replace any of the images for example if i want to change the default JCheckBox image,can i do that ? Thanks, Viral Doshi
-
Do BO consultants ned have programming knowledge on BI ?
Good Morning, Can anyone plz suggest me that is necessary for a BO consultant to have programming knowledge(ABAP) on BI. --Regards Ranendra