REQUEST: A filter method for the Recordset object
How about it ? Having a recordset object without a .Filter method could reduce significantly the dependency on the Database server. Imagine having to make a query for each entry on a list in order to obtain related information!
No has comment on this ... for what I think it would be a useful tool for developers.
Is there a reason why isn't part of the SAP's recordset object.
Similar Messages
-
Generic approach to call a method for any business object
My requirement is to call the DISPLAY method of a business object when I have the objectType and objectId.
Say I have BUS2012 and Id 4500001111, now I want to call a method which invoke the DISPLAY method for this object with objectId (say ME_DISPLAY_PURCHASE_DOCUMENT for purchase order). I even have the key fields for the business object.
Is it possible ?
Thanks in advance !
Ruhi HiraHi Ruhi,
Yes you can call the method for display.Before we can do that we need to fix the procedure for the calling of the method.If you want to call it programitically or you want to call it in task builder or you want to use it as a activity in the work item.we can check for the BUSXXXXXX what ever number is there and we can also check for the activity type pre defined by SAP for it.If suppose you dont have the activity we can create the method for the BOR object type using SWO1.May be it helps your query.
Have a best day ahead. -
Transport request no for the abap object
Hi experts,
I want to know the transport request numbers for the abap objects. Can anybody tell me the procedure of how to know the transport request number?
My approach : I want the transport request number for the function module.Open the functional module. go to Object Directory Entry and click on Lock Overview.
it is displaying the 1.Request 2.User 3.Task/request 4.Object. What is the main difference between Request and Task/request.
For some programs it is not displaying the request number. Instead it is displaying the request locks.
Thanks and regards.
Murali Krishna THi tajuddin,
Thanks for your prompt reply. Problem solved.
Also please make me clear --- In object directory entry ---> lock overview, I want to know the difference between the Request and Task/request. -
Multiple Transports for the Same Object.
I have ABAP program 123 and I make a change, create transport A and release the transport. I do not request transport A go to production.
I then modify ABAP program 123 again, create transport B and release the transport. I do not request transport B go to production.
Now I request transport A go to production.
Can someone explain to me why the changes in transport B are included when transport A is moved to production?
I thought each transport would be at its own change level.
Thank-you.I can guarantee all of you that when Transport A was moved, it contained changes that were made in Transport B.
Surely you understand that Thomas is correct and that there's a logical reason, not related to transport layer configuration, for the issue? You CAN have multiple transports open for the same object without a lock by forcing it but check the dates as already suggested... -
Hi How do we create Methods inside the Business objects of Z
Hi Abapers,
How do we create Methods inside the Business objects (z objects) and how *** an import parameter or export parameter to be defined for the new Methods.
Regards
Bhaskar Rao.MHi Bhaskar,
that ´s not difficult.
Open your Bus.Obj. in SWO1 with CHANGE/EDIT
Click on the "Methods" header line and then use the button for "Create".
If you want to add the method on basis of a function module, choose next in the next pop up. Then the system will offer you the ex/import parameter from the function module. So this is a really simple way.
If you don´t have a FM, it is a little bit more difficult.
Choose No on the quetion about a FM, fill in the next pop up methode name (no blanks allowed).
Dialogue is for user related method (call screen...) synchronous for methods which have to give back a result directly in to the workflow.
After completing the screen the method will be displayed as new method at the end of method list. Now add parameters (first click on the method name, then choose parameter button, same functionality to add program to the method).
Programm:
Code snip:
BEGIN_METHOD ZWFCHECKMIRO CHANGING CONTAINER.
DATA:
ZBELNR TYPE RBKP-BELNR,
ZGJAHR TYPE RBKP-GJAHR,
RESULT TYPE HRP1001-ISTAT,
BELNR TYPE BKPF-BELNR,
GJAHR TYPE BKPF-GJAHR,
BUKRS TYPE BKPF-BUKRS.
to import parameter
SWC_GET_ELEMENT CONTAINER 'Zbelnr' ZBELNR.
SWC_GET_ELEMENT CONTAINER 'Zgjahr' ZGJAHR.
*(or SWC_GET_TABLE)
here add the functionality of your method!
to export parameter
SWC_SET_ELEMENT CONTAINER 'Result' RESULT.
SWC_SET_ELEMENT CONTAINER 'Belnr' BELNR.
*(or SWC_SET_TABLE)
!!! Important: naming convention!!! Use same writing of parameter names in
PARAM area (button PARAMETER) and here in code.
To use your method, change it to implemented after adding your code.
-> Edit -> Change release status -> object type component -> into implemented
(Sorry , have a german screen here, possibly terms are a little bit different.
Hope this helps a little bit.!
regards
Dirk -
Clone a method for my custom object.
Hi!
We have a method:
comp.saveFrameToPng(compTime, fileObj);
I have my custom object block.
Is it possible to clone "saveFrameToPng" method for my custom object?
I've tried:
Function.prototype.clone = function() {
var that = this;
var temp = function temporary() { return that.apply(this, arguments); };
for(var key in this) {
if (this.hasOwnProperty(key)) {
temp[key] = this[key];
return temp;
And then in my custom object:
function block (comp)
this.saveFrame = comp.saveFrameToPng.clone();
But thin won't work properly
Help me please if this possible.
Thank you in advance!Hi
static public long powerTwo(long number)
long ret = 2;
if(number == 0)
return 1;//2 to the power of 0 is 1
else
//use a for loop to loop as many times as specified by number,
//times 2 to ret every time it loops
return ret;//return the answer
}Hope this helps -
Using a Variable in SSIS - Error - "Command text was not set for the command object.".
Hi All,
I am using a OLE DB Source in my dataflow component and want to select SQL Query from the master table I have created variables v_Archivequery
String packageLevel (to store the query).
<Variable Name="V_Archivequery" DataType="String">
SELECT a.*, b.BBxKey as Archive_BBxKey, b.RowChecksum as Archive_RowChecksum
FROM dbo.ImportBBxFbcci a LEFT OUTER JOIN Archive.dbo.ArchiveBBxFbcci b
ON (SUBSTRING(a.Col001,1,4) + SUBSTRING(a.Col002,1,10)) = b.BBxKey
Where (b.LatestVersion = 1 OR b.LatestVersion IS NULL)
</Variable>
I am assigning this query to the v_Archivequery variable, "SELECT a.*, b.BBxKey as Archive_BBxKey, b.RowChecksum as Archive_RowChecksum
FROM dbo.ImportBBxFbcci a LEFT OUTER JOIN Archive.dbo.ArchiveBBxFbcci b
ON (SUBSTRING(a.Col001,1,4) + SUBSTRING(a.Col002,1,10)) = b.BBxKey
Where (b.LatestVersion = 1 OR b.LatestVersion IS NULL)"
Now in the OLE Db source, I have selected as Sql Command from Variable, and I am getting the variable, v_Archivequery .
But when I am generating the package and when running I am getting bewlo errror
Error at Data Flow Task [OLE DB Source [1]]: An OLE DB error has occurred. Error code: 0x80040E0C.
An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E0C Description: "Command text was not set for the command object.".
Can Someone guide me whr am going wrong?
Please let me know where am going wrong?
Thanks in advance.
Thankx & regards, Vipin jha MCPWhat happens if you hit Preview button in OLE DB Source Editor? Also you can use the same query by selecting SQL Command option and test.
Could you try set the Delay Validation = True at Package and re-run ?
If set the query in variable expression (not in value), then Set Evaluate As Expression = True.
-Vaibhav Chaudhari -
How to delete the index for the business object BUS0033
Hi to all experts,
I'm applying note 1349496 the error here is no records with F4 help for the funds center .
solution from the note
Implement the attached program corrections. Then, in the transaction, delete the index for the business object BUS0033, reactivate it, and start the indexing in the indexing mode "Full". The system then displays the data correctly in the F4 search help.
how to do the second part i have already applied the note .any help
-
Middleware-Filter settings for the replication of BP from CRM to R/3
Hi Experts,
Can we set filter criteria for the replication of BP's from CRM to R/3 in the delta load.If so how can we achieve it.
Points will be rewarded.
Thanks in advance
Nadh.Dear Nadh,
Pls go through the followings:
http://help.sap.com/bestpractices/crossindustry/crm/v240/BBLibrary/Documentation/B09_BB_ConfigGuide_EN_US.doc
http://help.sap.com/bestpractices/BBLibrary/documentation/D63_BB_ConfigGuide_EN_UK.doc
http://help.sap.com/bp_crmv250/CRM_DE/BBLibrary/html/BBlibrary.htm
C03
Thanks,
Atin -
Alternative for the ActiveX object for the other browsers excluding IE?
I need open a word document (Doc/Docx) then edit and save in client side itsetf.forthat i'm using ActiveXObject and javascript.it is working fine with IE but it's not working in other browsers(Chrome,Firefox).
var w = new ActiveXObject('Word.Application');
w.Visible = true; //set to false to stop the Word document from opening
obj = w.Documents.Open("D:\\test.docx");
docText = obj.Content;
w.Selection.TypeText("Hello world!");
w.Documents.Save();
what is Alternative for the ActiveX object (OR) How can i edit a word document (Doc/Docx) by using client side scripting?
Punch balaThis problem is haaping to you there is reasons are
1. Old FF , so 1st update your browser
2.or net speed , beczzz gmail needs high speed .. high means not like 3G ..it should be approximately 25-30kbps . As u wrote this doesn't happen in IE , becz IE is mad for work in low speed also bt it takes time to load .. ones load never refresh without you permition bt FF works fastly so it try to open as it has dwnloded ,, bt half part cant be stable long .so it refreshes..........
So now update ur browser n use high n stable INTERNET .... -
Unable to find a qualifications catalog for the root object specified-ESS
Hi SDN,
We are getting following exception Unable to find a qualifications catalog for the root object specified when click on Add New Skill in Skills Profile, ESS . It is working fine , if user is assigned sap_all role. This is issue with permissions. Which role need to be assigned to work with Skills Profile in r3. Please help me out.
regards,
Sree.Have a look in table T77S0 for an entry called QUALI ESSST and make sure the object ID stored there matches the appropriate node in your qualifications catalogue.
This setting is designed to be used for restricting ESS users to a particular part of the Quals Catalogue.
If the table entry was configured in your development system, it may not match the obect numbers in your production system. -
WAS Inst on the NetWeaver 7.2 platform for the Business Objects XI 4.0 SP1
Hello to all,
I have tried to install the WAS on the NetWeaver 7.2 platform for the Business Objects XI 4.0 SP1.
Ok, more preciselly. I have tried to install SP1 for the Business Objects Enterprise XI 4.0. We have had a distributed installation. An application is under the Windows 2k8 R2 platform and the web server (WAS) is under the Unix, where runs the SAP NewWeaver 7.2 CE.
Installation of the SP1 on the application side has ran just fine. Installation of SP1 under Unix went fine as well till I tried to undeploy the previouse one WAS. At first it could not start, it could not find the java, even the wdeployGUI.sh should use its own java, while it happens. I have edited a profile of the appropriate user for using this "own" java. The same I had to do for the pearl. It ran, but It took a very long time - more than two hours. (We have experience from the base installation, that it supposed to be very quick.) So, I have killed three apropriate processes and wav, undeploying ended successfully.
Next, I started to deploy a new WAS. But it has been broken several times with the information (from the <INSTALL PATH>/sap_bobj/enterprise_xi40/wdeploy/logs/wdeploy.log), It could not reach the server with the error message: "Error occurred during the action deployall", "$". I am sure, the acess datas are correct.
Any ideas?
I thing there is some problem with the java and pearl settings. But I can not find relevant webappdeploy_unix document for the SP1, so I do not know, why the deploying could not start automatically as in the case of the base (non SP) installation.Hi Randy,
Universe is an important part of the Semantic Layer, whether it is version 3.x or version 4.x of SAP BusinessObjects. In version 4.0 (officially known as BI 4.0), you will be using the new Information Design Tool to build universe. It is highly recommended for all of your presentation tools (i.e. WebI, Crystal, Xcelsius/Dashboard, etc) to go through the new Information Design Tool for data (including BW data).
The BI 4.0 Virtual Launch is scheduled on Feb 23. I suggest you to sign up at http://virtualevents.sap.com/business-analytics/login.aspx.
By the way, the SAP BusinessObjects does not have a version 3.2. The most current one is version 3.1. You might be confused with the FixPack which is now up to 3.4.
Hope this helps. -
i just bought a macbook pro and the mountain lion free update applied correctly but the internet went down and now the download won't appear/ continue, and when i open the app store it requests me to pay for the update? what can i do?
Welcome to Apple Communities
http://www.apple.com/support/mac/app-store/contact -
Calling methods from the Business Object BUS2032
Hi all,
Is it possible to call methods from the Business Object BUS2032.
If so, how can it be done??
Regards,Hi Marv,
you sure can. Here is an extract from the SAP Help. I found it at http://help.sap.com/saphelp_46c/helpdata/en/c5/e4ad71453d11d189430000e829fbbd/frameset.htm
<b>Programmed Method Call</b>
Call (fictitious) method Print of object type VBAK (sales document). The method receives the parameters Paperformat and Printertype as input.
* Call method Print of object type VBAK
* Data declarations
DATA: VBAK_REF TYPE SWC_OBJECT.
SWC_CONTAINER CONTAINER.
* Create object reference to sales document
SWC_CREATE_OBJECT VBAK_REF 'VBAK' <KeySalesDoc>
* Fill input parameters
SWC_CREATE_CONTAINER CONTAINER.
SWC_SET_ELEMENT CONTAINER 'Paperformat' 'A4'.
SWC_SET_ELEMENT CONTAINER 'Printertype' 'Lineprinter'.
* Call Print method
SWC_CALL_METHOD VBAK_REF 'Print' CONTAINER.
* Error handling
IF SY-SUBRC NE 0.
ENDIF.
Cheers
Graham -
Question about the Filter type for the trace provide "Microsoft-Windows-Kernel-File"
Hello all,
I have moved this question from the Windows
Server General Forum accorfing to the suggestion from Mr. Justin Gu
I have a question about the Filter function for the trace provider "Microsoft-Windows-Kernel-File".
I can find the Filter function with the following operation.
Mr. Justin Gu wrote:
> You create a Data Collector Set for the trace provider "Microsoft-Windows-Kernel-File" and finish completely, then you > can right click it and select Properties.
In the Properties dialog box, click Filter and
then select ‘Edit…’. You will be> able
to see the Filter type and Filter data in the Filter dialog box.
What
Kind of Filter can
I use in this Filter dialog box?
And, how can I set to exclude the some kind of datas?
Could you give me your suggestion?
Thank you.What
Kind of Filter can
I use in this Filter dialog box?
And, how can I set to exclude the some kind of datas?
Could you give me your suggestion?
Thank you.
I'm looking for the same information.
Maybe you are looking for
-
My son's ipod touch 3 screen shows a USB cable image and ask to connect to the itune. Itune does not connect with the message shows: this device is locked and can not be connected to the itune before you unlock it" I have no idea how to turn on this
-
Installing AUTHENTIC windows 7 ultimate 64bit on Macbook Pro - ERROR, help!
I am trying to install windows 7 ultimate 64bit (not the beta or RC, this is an authentic windows 7 DVD -- signature edition) on my macbook pro using Bootcamp. When the computer tries to reboot, i get a message that says: 1. 2. select cd-rom boot typ
-
I am creating a slideshow of all still photos in iMovie 09. The full slideshow will include four songs back-to-back. I want to use Edit to the Beat throughout. With the first song all went smoothly. I inserted the beat markers, added the photos and t
-
Cell references to other tables, keep from changing
Here's what I am trying to do. I have two tables, in two sheets. Sheet 1::Table 1 and Sheet 2::Table 2. The cells in Table 2 are all referenced to cells in Table 1 (with a formula that looks like =Table 1::X7). I want to be able to move the rows in T
-
Source video clip works fine but its lagging in AE CS5
I recorded a Maya tutorial using ScreenFlow, the file is uncompressed and 4GB big and it has sound. Its 1920x1200 or something like that. Really big. When I take it into After Effects CS5 it lags (both in RAM preview and when its rendered), like as i