Creating aggregates using abap instead of relying on the interface
Does anyone know how to create aggregates in BW by using abap instead of the habitual dragging and dropping?
Hi dear,
I know there is a report to copy an existing aggregate to a cube to another one (look at OSS note 608814 "Program for copying aggregate definitions")...
Maybe this can be useful...
Bye,
Roberto
Similar Messages
-
Hi to all
I have team site in site collection under this i have Shared Document library. Now i want to create the workflow for the shared Document library. How i will create workflow using sharepoint designer for first review the documnet than go for approve
the document.Hi ,
According to your description, my understanding is that you want to create a workflow which contains review and approval process.
For implemening your requirement, you can create a workflow containing two steps. The first step is used to collect user information and set workflow variables, and the second step is used to verify whether the reviewer approve. If the reviewers complete
approving, a pproval workflow is started. The whole workflow is like :
More information, please refer to the links below:
http://www.documentmanagementworkflowinfo.com/sharepoint-video-tutorials/create-document-review-workflow-sharepoint-designer-2007.htm
http://office.microsoft.com/en-us/sharepoint-designer-help/watch-this-design-a-document-review-workflow-solution-HA010256417.aspx
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
Revision: 15021
Revision: 15021
Author: [email protected]
Date: 2010-03-25 07:35:43 -0700 (Thu, 25 Mar 2010)
Log Message:
merge 15020: update ASDoc for execute() to use FaultEvent instead of ErrorMessage in the fault handler
QE notes:
Doc notes:
Bugs:
Reviewer:
Tests run: checkintests
Is noteworthy for integration:
Modified Paths:
flex/sdk/trunk/frameworks/projects/datavisualization/src/mx/olap/IOLAPCube.as*bump* I desperately need to get this fixed for work - I hope someone can please find a solution or point me in the right direction!!
-
Will the new ipad 3 use 3g instead of 4g in the uk ?
in the uk at the moment we dont have 4G,
Will the new ipad 3 use 3G instead of 4G in the uk ?Yes
-
HELP Create Extenstion using JFrame instead of JPanel (10.1.3 Release 3)
Hi,
I manage to create a custom GUI editor in JDev but if i switch it to JFrame, JDev GUI Designer display nothing but an invinsible frame.
I'm using sample from customeditor in extension sdk
Any ideas ?
ThanksIt seems that you are trying to use a JFrame as the GUI of your custom editor. The JFrame is a heavy weight component (has a real window behind it). In JDeveloper custom editors must not use JFrames or AWT Frames as their root GUIs. The windows of these frames will paint on top of other editors even if they are behind in the component stacking order.
-
How do I code PL/SQL using files instead of directly against the database
Hi All,
My current project, like pretty much all I've every worked on, requires all developers of pl/sql routines to code those routines in source controlled files. We then edit the files (normally using TOAD - trying to move to SQL Developer) compile them against the DB, fix the errors, test etc.
I've been trying to do the same in SQL Developer (1.2 and 1.5EA) and it appears as though I can't get the tool to understand my .pks and .pkb files are packages - and thus when I compile them I will receive a "compiler" window containing the errors. It appears to simply run the code as a script returning me:
Warning: execution completed with warning
PACKAGE BODY XYZ Compiled.
This is not the same behavior I receive when I edit objects directly in the database (something I never do).
I hope I'm not missing something obvious.
Thanks in advance.Your latest EA fixed this, at least for subversion and cvs, hooray! and I'm quite happy with it.
But I think our posters need a quick how-to for subversion:
* the latest EA has subversion and cvs installed
* open VIEW menu->Versioning Navigator
* create your SVN repository in Versioning Navigator, that will establish all of the authentication stuff for your later work
* use VIEW menu->Files and navigate to your subversion working checkout directory.
The File navigator will become your main work zone, if you're anything like me.
for unconventional file suffixes:
* open TOOLS menu->Preferences
* click the File Types topic
* click "Add.." to add the file name extension
* it won't let you specify content type in the little "add" dialog; just click OK
* when you return to the main Preferences screen for file types, your new type will be selected, and below there is a content type drop-down under "Details for type .blahblah"
* choose SQL Script as the type for your new file type, and click OK to commit the changes
* I find "SQL Script" much easier to work with than PlSqlNode, which seems to suppress the file handling and versioning features
Good luck!
-- Andrew Wolfe -
Why using XI instead of existing custom made interfaces
Hi All,
I am trying to convince my company (automotive industry) of using XI for putting up communication between the different applications (SAP and NON-SAP).
Currently all interfaces are custom developments on each individual component.
Benefits would be:
- predelivered content for connecting towards SAP appz, so no more program changes need to be made when upgrading these appz + are programmed in the most performant way
- easy to add/remove interface, whitout downtime
- Standaard adapters predelivered
- B2B integration with industry standard STAR can be bought
- re-use of existing components (if custom devz are needed, it is sufficient to do it only once and then it can be used by all components in the landscape!)
As you can is my main argument the predelivered content (adapters), so that no more custom devz are needed for this purpose.
There will be also other arguments.
Can you guys give me some more positive AND negative points of the usage.
Thanks in advance
Kind regards
JorisHi Joris,
In a nutshell (besides what you've already mentioned) some of the benefits of XI are:
From an architecture perspective; XI is the beaten heart inside the whole NetWeaver platform, which means if your company has a vision towards ESA (Enterprise Services Architecture) then implementing XI becomes a must have.
Reusability is strongly enforced within XI, especially in the integration builder. Previously created XI objects can be reused in new interface developments or processes as needed.
Central monitoring; very important feature of this product. Which provides you with a single point of interface monitoring, error tracing, alerting mechanism. All of these modules can be fully integrated with other SAP related products like Solution Manager, CCMS among others.
SAP XI fully supports ccBPM (Cross Component Business Process Modeling), providing state of the art orchestrated end-to-end processes and features like linking with workflow's with or without human interaction.
SAP XI can also be integrated (by importing BPEL source into XI) with ARIS for NetWeaver in order to execute predefined business processes/process steps previously created in the ARIS Business Process Modeling Tool.
Last but certainly not least, XI fully supports Open Standards and technologies like Web Services, WSDL, BPEL, XML, XSLT, Java etc..
To be continued...
Cheers,
Roberto -
I have 6 tabs set up and have become very accustomed to the position they’re in. When doing a specific task for my job, a 7th tab opens up. It has always opened all the way to the right. When I’m done reading the information it gives me, I just quickly “x” it out to return working. Yesterday I noticed that this 7th tab was not opening up all the way to the right. It was opening in the next-to-last position to the right. This might not seem like a problem, but when I go to close it, I’m so used to x-ing out the one to the far right, that I’ve been x-ing out a tab that I need.
So the question: How can I get the new tab that opens to appear all the way on the right again? Again, this is not adding a new tab. If I add a new tab to search for something, it does open all the way to the right.
== I rebooted my computer a few days ago...Type '''about:config''' in the URL bar and hit Enter.
''If you see the warning, you can confirm that you want to access that page.''
Filter = '''browser.tabs.insertRelatedAfterCurrent'''
Double-click that preference to change the value to '''''false''''' -
Exception access violation using jlong instead of jint
Hi,
I hope you can help me.
I'm using Java5 under Windows XP and I'm developing under Eclipse.
I try to use an "old" c-Application accesed via JNI.
Status Quo is that, I have access to the c-side, over my JNI-conform DLL. My current task is to translate the c-side structs to java-objects. This also works, but only with limitation.
Calling methods bidirectional is working, manipulation a java-object is like a walk on an warm and sunny Saturday afternoon.
But I'm not able to use all possible parameters (for now I have tried to use jobject, jstring, jint, jboolean, jlong).
The first problem I had, were using Strings as parameters, but this now I deal with the loopway over java/lang/object (using java/lang/String results in an access_violation).
The next problem, and the harder one, is, that I cannot use the type long or jlong.
int (jint) is no problem, with int all works fine, but if I change the environment, creating and using long, I allways get an the access_violation shown below.
Is there anything, I need to know?
working c-side-code:
jobject someObject;
jint anIntegerValue;
anIntegerValue =5;
jmethodID mid3 = (*env)->GetMethodID(env, cl, "initReturnSomeObject", "(ILjava/lang/Object;)Ljava/lang/Object;");
if(mid3 == (jmethodID)0) printf("\ndooofes MethodName4!\n");
else {
const char* myParams;
myParams = "ooooohwow!!!";
someObject = (*env)->CallObjectMethod(env, jobj, mid3,
anIntegerValue, (*env)->NewStringUTF(env, myParams));
}wokring java-side-code
public Object initReturnSomeObject(int i, Object obj) {
String s = (String)obj;
System.out.println("String: "+s+"\nInteger: "+i);
some = new SomeObject(s,i);
if(some==null) System.out.println("Some is not yet initialized, FEAR!!!!\n");
else System.out.println("Yoh, I'm soooo many good!! \nSome:\nString: "+some.getS1()+"\nInt: "+some.getI1()+"\n");
return (Object)some;
so, und this code, doesn't work. you can see, the changes are dramatically!! ;)
sorry for my sarcasm. I do not know, why it doesn't work.
jlong aLongValue;
aLongValue = 2;
jmethodID mid3 = (*env)->GetMethodID(env, cl, "initReturnSomeObject", "(JLjava/lang/Object;)Ljava/lang/Object;");
if(mid3 == (jmethodID)0) printf("\ndooofes MethodName4!\n");
else {
const char* myParams;
myParams = "ooooohwow!!!";
someObject = (*env)->CallObjectMethod(env, jobj, mid3,
aLongValue, (*env)->NewStringUTF(env, myParams));
public Object initReturnSomeObject(long i, Object obj) {
String s = (String)obj;
System.out.println("String: "+s+"\nInteger: "+i+"\nLong: ");
some = new SomeObject(s,(int)i);
if(some==null) System.out.println("Some is not yet initialized, FEAR!!!!\n");
else System.out.println("Yoh, I'm soooo many good!! \nSome:\nString: "+some.getS1()+"\nInt: "+some.getI1()+"\n");
return (Object)some;
# An unexpected error has been detected by Java Runtime Environment:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d942975, pid=1784, tid=1648
# Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode, sharing)
# Problematic frame:
# V [jvm.dll+0x182975]
# An error report file with more information is saved as hs_err_pid1784.log
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#do you need some other informations or details? something out of the log-file? ok, i have to take the bus, so sorry for uncomplete informations or sentences ;)
till later.Hi,
I'm quite sure, the signature is correct. For failure check, yesterday I ran javap to check the signature, but I do also mean, that I changed the signature afterwards for several time. And, it works ;) at least the way, using Integer.
Trying to use java/lang/String everytime I got the Error, that the method could not be found - this is the part, I was wrong in my description. So the error-Message is a different one.
Belonging to the question for assumptions I made... it's difficult. I'm quite new to JNI, so, I don't know, what I can assume to do. The Method call seems to be a kind of reflection-mechanism. So I assume that the behaviour is similar. But reflection I'm not very firm, either ^^.
What I do assume is, that the parameter-value J fits to the java-type jlong. But a work around on this, I will try today. getting the jlong into an char* or using long instead of jlong or using Ljava/lang/Long; or a casted Long as Ljava/lang/Object; ...
I'm anxious to the ideas, I will have, bypassing this point. if there is no way, I will write a file, send a email or something like this ;)
Thx for thinking about my problem jschel!! It's great not to be alone.
John -
Advanced ALV using ABAP objects
Hi All ABAPers,
I have a question in Advanced ALV using ABAP objects.Can we display the output ie., ALV Grid without defining the custom cointainer?ie., just as we do in the classical ALV without defining any screens.Can we do that as a normal executable program ie., without using module pool programming.Please give me a solution.
Thanks & Regards,
Chaitanya.If you want editable grids then the cl_salv_table method won't unfortunately be of use since (currently) there's no editable facility / method.
So if you are using cl_gui_alv_grid here's how to "get round" the problem.
I'm essentially using my own alv class which is a reference to cl_gui_alv_grid but the methodology shown here is quite simple.
What you can do is to create a method which calls a function module for example ZZ_CALL_SCREEN so you only have to code a Screen and a GUI in ONE function module and not in every ALV report.
for example you could create something like this
My version has the option of 2 screens - so when I double click on a cell in one grid I can perform some actions and then display a 2nd grid before returning back to the ist grid.You can easily modify this to suit your applications.
The parameters are fairly self evident from the code. You can just use this as a model for your own applications.
I agree that having to code a separate screen and GUI for OO ALV GRID reports was for some people a "show stopper" in switching from the old SLIS to OO ALV reports.
I Hope if any SAP development guys are reading this PLEASE PROVIDE EDITABLE FUNCTIONALITY IN THE NEW CL_SALV_TABLE class. Thanks in advance.
method display_data.
call function 'ZZ_CALL_SCREEN'
exporting
screen_number = screen_number
program = program
title_text = title_text
i_gridtitle = i_gridtitle
i_zebra = i_zebra
i_edit = i_edit
i_opt = i_opt
i_object = z_object
changing
e_ucomm = e_ucomm
it_fldcat = it_fldcat
gt_outtab = gt_outtab.
e_ucomm = sy-ucomm.
endmethod.
function zz_call_screen .
*"*"Local interface:
*" IMPORTING
*" REFERENCE(SCREEN_NUMBER) TYPE SY-DYNNR
*" REFERENCE(PROGRAM) TYPE SY-REPID
*" REFERENCE(TITLE_TEXT) TYPE CHAR50
*" REFERENCE(I_GRIDTITLE) TYPE LVC_TITLE
*" REFERENCE(I_ZEBRA) TYPE LVC_ZEBRA
*" REFERENCE(I_EDIT) TYPE LVC_EDIT
*" REFERENCE(I_OPT) TYPE LVC_CWO
*" REFERENCE(I_OBJECT) TYPE REF TO ZZHR_ALV_GRID
*" CHANGING
*" REFERENCE(E_UCOMM) TYPE SY-UCOMM
*" REFERENCE(IT_FLDCAT) TYPE LVC_T_FCAT
*" REFERENCE(GT_OUTTAB) TYPE STANDARD TABLE
assign gt_outtab to <dyn_table>.
move title_text to screen_title.
assign i_object to <zogzilla>.
export <dyn_table> to memory id 'dawggs'.
export i_gridtitle to memory id 'i_gridtitle'.
export i_edit to memory id 'i_edit'.
export i_zebra to memory id 'i_zebra'.
export i_opt to memory id 'í_opt'.
export it_fldcat to memory id 'it_fldcat'.
case screen_number.
when '100'.
call screen 100.
when '200'.
call screen 200.
endcase.
endfunction.
process before output.
module status_0100.
process after input.
module user_command_0100.
rocess before output.
module status_0200.
process after input.
module user_command_0200.
* INCLUDE LZHR_MISCO01 *
*& Module STATUS_0100 OUTPUT
* text
module status_0100 output.
import <dyn_table> from memory id 'dawggs'.
import i_gridtitle from memory id 'i_gridtitle'.
import i_edit from memory id 'i_edit'.
import i_opt from memory id 'í_opt'.
import it_fldcat from memory id 'it_fldcat'.
i_object = <zogzilla>.
call method i_object->display_grid
exporting
i_gridtitle = i_gridtitle
i_edit = i_edit
i_zebra = i_zebra
i_opt = i_opt
g_fldcat = it_fldcat
g_outtab = <dyn_table>
changing
it_fldcat = it_fldcat
gt_outtab = <dyn_table>.
set pf-status '001'.
set titlebar '000' with screen_title.
endmodule. " STATUS_0100 OUTPUT
*& Module STATUS_0200 OUTPUT
* text
module status_0200 output.
import <dyn_table> from memory id 'dawggs'.
import i_gridtitle from memory id 'i_gridtitle'.
import i_edit from memory id 'i_edit'.
import i_opt from memory id 'í_opt'.
import it_fldcat from memory id 'it_fldcat'.
i_object = <zogzilla>.
call method i_object->display_grid
exporting
i_gridtitle = i_gridtitle
i_edit = i_edit
i_zebra = i_zebra
i_opt = i_opt
g_fldcat = it_fldcat
g_outtab = <dyn_table>
changing
it_fldcat = it_fldcat
gt_outtab = <dyn_table>.
set pf-status '001'.
set titlebar '000' with screen_title.
endmodule. " STATUS_0200 OUTPUT
* INCLUDE LZHR_MISCI01 *
*& Module USER_COMMAND_0100 INPUT
* text
module user_command_0100 input.
case sy-ucomm.
when 'BACK'.
leave to screen 0.
when 'EXIT'.
leave program.
when 'RETURN'.
leave program.
when others.
endcase.
endmodule. " USER_COMMAND_0100 INPUT
*& Module USER_COMMAND_0200 INPUT
* text
module user_command_0200 input.
case sy-ucomm.
when 'BACK'.
leave to screen 0.
when 'EXIT'.
leave program.
when 'RETURN'.
leave program.
when others.
endcase.
endmodule. " USER_COMMAND_0200 INPUT
Cheers
jimbo -
Sending delta records file using ABAP
Hi,
I have one extract(ABAP program) in my R/3 system which creates a extract files.
Considering very huge size of the files and then further delay in processing the same , is there a way to create small size files with delta extraction of records in each file? how to achieve this using ABAP code , for example, considering the date and time stamp etc?
Thanks for help in advance.
Best regards,
YogitaHi,
as of i know the delta load is nothing but the what are all the changes are made for the data that all can get by using the date or time .
full load means get the all the data from the database.
Thanks. -
Header data not coming from vendor master when creating SA using BAPI
Hello,
I am creating SA using BAPI_SA_CREATE. I am passing the vendor code and other header related data in the header table of the BAPI.
SA is created successfully with all the data that is passed to the BAPI. Now if the payment term and inco terms data is passed initial to BAPI then this data is not taken from vendor master. This data appears blank in SA.
Shouldn't this data be picked up from vendor master as they are maintained properly in vendor master?
I just need confirmation whether BAPI picks or not from vendor master if the data (payment term and inco terms) passed is initial.
Thanks and Regards,
SabaHi,
Are u passing X to corresponding fields of HEADER structure what ever you have populated in HEADER structure . -
I bought a Air Port Express device from Apple yesterday. We decided to set the Air port device in a room near the router to use as a wifi extender to areas of the house where the signal is weak. In our discussion with Josh, the Apple Rep. he explained how it can either be connector to the router or use in another room relying on the existing wifi signal to extend it further into the house. We have verizon DSL. Our town is very small...no cable provided so we are lucky to have what we have...some areas of our town can't even get what we have. We, didn't want to connect it directly to the Verizon device (router)....we followed the directions from Josh as well as the explicit directions provided by Apple support...it didn't work. We keep getting an error message. Does anyone have any advice ? Any help would be greatly appreciated. Please speak in "Laymen's terms" I am not technically savy....but..am determined to get this set up. Thanks to anyone, in advance!
Signed,
MEAbeepIn our discussion with Josh, the Apple Rep. he explained how it can either be connector to the router or use in another room relying on the existing wifi signal to extend it further into the house.
Unfortunately, it appears that Josh was not aware that the AirPort Express can only "extend" a wireless signal from another Apple router.
From Apple's literature:
Extend an existing Wi-Fi network’s range.
If you already have a wireless network in your home and want to extend its range, AirPort Express can help. Just place it in range of your primary base station — an AirPort Extreme, Time Capsule, or another AirPort Express — and near the area where you want your wireless connection. Launch the easy-to-use AirPort Utility app on your iOS device or Mac, and you’re mere minutes away from long-range Wi-Fi enjoyment.
The AirPort Express is not compatible with a Verizon product for this purpose.
Your might want to have another conversation with Josh to ask his advice on how best to proceed at this point.
If you do decide to keep the AirPort Express, it will be necessary to connect it to your Verizon router using a wired Ethernet cable connection if you want the Express to provide more wireless signal coverage. -
Error in creating JE using SDK
I am using B1 2004 B and trying to create JE using SDk(vb6).I am getting the following error:
[OJDT.BtfStatus][line: 2] , 'Row in Transaction with Account No.'
Following is my code:
Dim vJE As SAPbobsCOM.JournalEntries
Set vJE = oCmp.GetBusinessObject(oJournalEntries)
vJE.Lines.AccountCode = "500005"
vJE.Lines.ContraAccount = "131000"
vJE.Lines.Credit = 0
vJE.Lines.Debit = dblAmount
Call vJE.Lines.Add
vJE.Lines.AccountCode = "C003"
vJE.Lines.ContraAccount = "400000"
vJE.Lines.Credit = 0
vJE.Lines.Debit = (dblAmount * 105) / 100
vJE.Add()
B1 gurus please help.
ThanksWhen you encounter a problem when working with DI API, please remember that you should try to do the same in the SAP Business One application!
In your case the first thing which is wrong is that at least one of the account codes in the second line is wrong (AccountCode or ContraAccount); unfortunately the error message does not really tell you that, but this happens quite often in software development.
Secondly the principle of journal entries is to have a "balanced transaction", i.e. <total of Debit(s)> = <total of Credit(s)>... (this will be the next error you will be running into).
I recommend that you check-out the material in the Developer Area on this site (https://www.sdn.sap.com/sdn/developerareas/businessone.sdn?node=linkDnode10) + check-out the SAP Business One-related material in the Education area in the SMB Portal on SAP Service Marketplace (http://service.sap.com/smb)...
HTH,
Frank -
Issue with FM 'STATUS_CHANGE_EXTERN' using ABAP Proxy
Hi Experts,
I am using the FM 'STATUS_CHANGE_EXTERN' & 'STATUS_CHANGE_INTERN' to change the user status & system status using ABAP Proxy.
But SAP is updating the system status using ABAP Proxy through ''STATUS_CHANGE_INTERN'' but not updating the User stauts 'STATUS_CHANGE_EXTERN' using ABAP Proxy but when run the same in foreground then it's working fine..
I have already used the External Commit for the same.
Please help me in this case.
Thanks in Advance
SachinAfter call of CRM_STATUS_CHANGE_EXTERN you need to call BAPI_TRANSACTION_COMMIT.
call function 'CRM_STATUS_CHANGE_EXTERN'
exporting
objnr = iv_guid
user_status = iv_status
exceptions
OBJECT_NOT_FOUND = 1
STATUS_INCONSISTENT = 2
STATUS_NOT_ALLOWED = 3
OTHERS = 4
if ( sy-subrc = 0 ).
call function 'BAPI_TRANSACTION_COMMIT'
exporting
wait = ABAP_TRUE
else.
"!+ Handle error
endif.
Best regards,
Tomas.
Maybe you are looking for
-
IWeb vs Rapidweaver vs Wordpress
I want to create a website with a blog that has the ability to add comments and easily insert photos or video. I've been debating back and forth about using iWeb '09, Rapidweaver or Wordpress. Wordpress seems the most customizable but I'm somewhat in
-
HT201406 how do i get my ipod off of ipod disabled connect to itunes
how do i open my ipod if it is disabled
-
Hi, I got two doubts. 1) If I don't give any agents at step level, and maintained the possible agents at task level, then will work item go to all possible agents? 2) If I mention the task as generic and maintained the agents at step level, then will
-
Do I really have to erase everything and start again?
Hello and thanks for taking the time to read this! I'll try to be as succinct as possible. My boyfriend's MacBook, which I also use for my own music library, died some time ago and had to be reset at the local Apple Store. All data was lost on the ha
-
Create Jasper Reports in JSF Portlet...
Hi, Is there anyone having samples of creating Jasper Reports in JSF Portlet ( Sun Java Creator 2 EA). Thanks indeed for your help. =netsearcher2000=