What's the NODIM() function equivalent in Transformation
BEx queries have Calculated key figures with NODIM() function.
Eg:
NODIM(ZCONT_QTY - ZTKT_QTY - ZCANC_QTY)
We want to push down this logic to backend BW model during transformation between DSO to Cube.
However, under formula i don't see NODIM() function in the transformation available.
Is there any way to achieve this? Please help.
Thanks,
Tilak
Hi Tilak,
As mentioned by other NODIM() removes units from key figers & treat key figers as numbers which you can use in calculation or formula.
By pushing down this from BEx to BW modeling afftect the loading performacne because this calculation/formula get executed @ BEx for certain records as per selection criteria @ report level wheras this in BW modelling @ transformation level this calculation/formula get executed for each record but 'll improve the query performance because calculated result is available for BEx but this all depends on data volume you use for query. Anyway this might be customer or critical requirement you need to meet thorugh Modelling.
Yes this is very much possible in transformation.
For you need to follow below steps:
1. Add one key Figer as number in Cube with summation as aggregation mode (For example ZQTY).
2. Then in Transformation map those 3 source DSO key figers (ZCONT_QTY, ZTKT_QTY, ZCANC_QTY) to newly created key figer (ZQTY) in Cube.
3. Then Rule detail use Rule Type 'Formula', aggregation 'Summation'. PFB:
4. Then specify the formula as below:
5. As a last step use this newly added Key Figer in BEx query designer instead of calculated Key Figer or Formula which is having same function as newly added KF.
I hope this'll help to clear your doubt.
Thanks & Regards,
Pradip
Similar Messages
-
What are the standard functions in XI ?
What are the standard functions in XI ?
Hi,
The target field mapping is possible by using below typs of functions
1. Standard functions
2. Runtime procedure
3. User Defined functions
Standard functions are the APIs provided in Graphical mapping to process the values of the fields used for target field mapping.
Technically all these values are trated as string thus all standard functions expect strings as input argument and string as an export aurgument
Please find here with you more details about it at below link
http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm
2. Runtime procedure
http://help.sap.com/saphelp_nw04/helpdata/en/3d/24e15bf9d79243b45d49b13b03de8f/content.htm
3. User Defined functions
http://help.sap.com/saphelp_nw04/helpdata/en/22/e127f28b572243b4324879c6bf05a0/content.htm
Thanks
Swarup -
What is the BAPI Function to save text of a Delivery Order?
When I save a delivery order I want to to save its Texts such as Số xe, Tên tài xế,... as the below picture.
What is the BAPI Function to save text of a Delivery Order?
Please help me!!!
Thanks,
Nguyen Quang Dai.I ran 2 function (SAVE_TEXT and BAPI_TRANSACTION_COMMIT) as below:
but the text was not changed
Can you guess the reason?
Please help me!!!
Thanks,
Nguyen Quang Dai -
What are the different functions used in sap script?
Hi,
What are the different functions used in sap script? What are the parameters used in each Function?
Regards,
Maheshhe print program is used to print forms. The program retieves the necesary data from datbase tables, defines the order of in which text elements are printed, chooses a form for printing and selects an output device and print options.
Function modules in a printprogram:
When you print a form you must used the staments OPEN_FORM and CLOSE_FORM. To combine forms into a single spool request use START_FORM and END_FORM.
To print textelements in a form use WRITE_FORM. The order in which the textelements are printed, is determined by the order of the WRITE_FORM statements. Note: for printing lines in the body, you can also use the WRITE_FORM_LINES function module.
To transfer control command to a form use CONTROL_FORM.
Structure of a print program
Read data
Tables: xxx.
SELECT *
FROM xxx.
Open form printing - Must be called before working with any of the other form function modules.
Must be ended with function module CLOSE FORM
call function 'OPEN_FORM'.....
To begin several indentical forms containing different data within a single spool request, begin each form using START_FORM, and end it using END_FORM
call funtion 'START_FORM'.....
Write text elements to a window of the form
call function 'WRITE_FORM'.....
Ends spool request started with START_FORM
call funtion 'END_FORM'.....
Closes form printing
call function 'CLOSE_FORM'...
OPEN_FORM function
Syntax:
CALL FUNCTION 'OPEN_FORM'
EXPORTING
APPLICATION = 'TX'
ARCHIVE_INDEX =
ARCHIVE_PARAMS =
DEVICE = 'PRINTER'
DIALOG = 'X'
FORM = ' '
LANGUAGE = SY-LANGU
OPTIONS =
MAIL_SENDER =
MAIL_RECIPIENT =
MAIL_APPL_OBJECT =
RAW_DATA_INTERFACE = '*'
IMPORTING
LANGUAGE =
NEW_ARCHIVE_PARAMS =
RESULT =
EXCEPTIONS
CANCELED = 1
DEVICE = 2
FORM = 3
OPTIONS = 4
UNCLOSED = 5
MAIL_OPTIONS = 6
ARCHIVE_ERROR = 7
INVALID_FAX_NUMBER = 8
MORE_PARAMS_NEEDED_IN_BATCH = 9
SPOOL_ERROR = 10
OTHERS = 11
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Some important parameters:
FORM Name of the form
DEVICE
PRINTER : Print output using spool
TELEFAX: Fax output
SCREEN: Output to screen
OPTIONS Used to control attrubutes for printing or faxing (Number of copies, immediate output....
The input for the parameter is structure ITCPO.
CLOSE_FORM function
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
RESULT =
RDI_RESULT =
TABLES
OTFDATA =
EXCEPTIONS
UNOPENED = 1
BAD_PAGEFORMAT_FOR_PRINT = 2
SEND_ERROR = 3
SPOOL_ERROR = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Paramerters:
RESULT Returns status information and print/fax parameters after the form has been printed. RESULT is of structure ITCPP.
WRITE_FORM function
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = ' '
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
IMPORTING
PENDING_LINES =
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
OTHERS = 9
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Some important parameters:
ELEMENT Specifies which textelement is printed
WINDOW Specifies which window is printed
TYPE Specifies the output area of the main window. This can be:
TOP - Used for headers
BODY
BOTTOM - Used for footers
FUNCTION Specifies whether text is to be appended, replaced or added
Example of how to use the WRITE_FORM function module together with a script.
Form layout of the MAIN window
/E INTRODUCTION
Dear Customer
/E ITEM_HEADER
IH Carrier, Departure
/E ITEM_LINE
IL &SBOOK-CARRID&, &SPFLI-DEPTIME&
/E CLOSING_REMARK
The print program
Writing INTRODUCTION
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'INTRODUCTION'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
EXCEPTIONS
OTHERS = 8
Writing ITEM_HEADER
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'ITEM_HEADER'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
EXCEPTIONS
OTHERS = 8
Set ITEM_HEADER into TOP area of main window for subsequent pages
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'ITEM_HEADER'
FUNCTION = 'SET'
TYPE = 'TOP'
WINDOW = 'MAIN'
EXCEPTIONS
OTHERS = 8
Write ITEM_LINE
LOOP AT .....
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'ITEM_LINE'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
EXCEPTIONS
OTHERS = 8.
ENDLOOP.
Delete ITEM_HEADER from TOP area of main window
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'ITEM_HEADER'
FUNCTION = 'DELETE'
TYPE = 'TOP'
WINDOW = 'MAIN'
EXCEPTIONS
OTHERS = 8
Print CLOSING_REMARK
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'CLOSING_REMARK'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
EXCEPTIONS
OTHERS = 8
START_FORM function
CALL FUNCTION 'START_FORM'
EXPORTING
ARCHIVE_INDEX =
FORM = ' '
LANGUAGE = ' '
STARTPAGE = ' '
PROGRAM = ' '
MAIL_APPL_OBJECT =
IMPORTING
LANGUAGE =
EXCEPTIONS
FORM = 1
FORMAT = 2
UNENDED = 3
UNOPENED = 4
UNUSED = 5
SPOOL_ERROR = 6
OTHERS = 7
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
END_FORM function
CALL FUNCTION 'END_FORM'
IMPORTING
RESULT =
EXCEPTIONS
UNOPENED = 1
BAD_PAGEFORMAT_FOR_PRINT = 2
SPOOL_ERROR = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CONTROL_FORM function
The CONTROL_FORM function module alows you to create SapScript control statements from within an APAB program.
Syntax:
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
command =
EXCEPTIONS
UNOPENED = 1
UNSTARTED = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Example:
Protecting the text element ITEM_LINE
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
COMMAND = 'PROTECT'.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
TEXELEMENT = 'ITEM_LINE'.
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
COMMAND = 'ENDPROTECT'. -
What is the Count function in formula of Query Design?
What is the Count function in formula of Query Design? Could someone gives an example?
Thanks!Example :
COUNT of
Also, check :
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7e58e690-0201-0010-fd85-a2f29a41c7af -
Hi Folks,
I need to use the function module 'ISU_S_PAYSCHEME_ROLLIN_ROLLOUT'. what is the main functionality of this function module? there is no documentation available for this FM.
Thanks in advanceHi,
Plz follow the link below for answer of your question.
Link is: Re: how to call standard SAP method in the Custom Program ?
Thanks & Regards,
Sarita Singh Rathour -
What is the mathematical function associated to linear, map ranges, polynomial, table scale? I'd like to use the scale of daqmx for use with other types of data.
yes, refer to the help, but only found information on the first option "linear". what I intend to is to be able to climb a number, using one of the existing scales, but don't be that mathematical function is necessary to use.
-
What is the inbuilt function for ctrl+f11 and f11?
what is the inbuilt function for ctrl+f11 and f11?
Forms version?
If 11g then see the fmrpcweb.res file in %ORACLE_INSTANCE%config\FormsComponent\forms folder.
If you ask questions with inadequate inputs like this one, you are bound to end up with
>
Handle: shravan
Status Level: Newbie
Registered: Sep 20, 2011
Total Posts: 16
<b>Total Questions: 10 (10 unresolved) </b>
>
Cheers, -
What is the SQL ROWNUM equivalent in HANA SQL script
Hi,
Could any one let me know what is the ROWNUM equivalent in HANA? Thanks for the help.
Thanks,
JyothirmayiHi Jyothirmayi,
ROW_NUMBER() OVER (ORDER BY <FIELD LIST>) is the function to generate row numbers.
ORDER BY clause is mandatory to generate row numbers in HANA.
Regards,
Chandra. -
What is the command line equivalent of the *compress* tool in *Finder*
I have an automatic build setup for our iPhone Apps. The one issue i face everytime is that the zip file that i create in the build using zip command is always rejected by iTunesConnect server as invalid binary. When i compress the .APP folder manually using Compress from the *Finder menu*, that archive is always accepted. The size of the zip files generated is slightly different.
Does anyone know what would be the command line equivalent of the Compress used by the Finder ? I want to automate this process so that someone does not have to do a manual compress before uploading it to iTunesConnect.
Thanks in advance,
-TRSa Mac user wrote:
That is odd, are you sure you are using the command line correctly then? Because zip-ing from the command line should be the exact same one as from the utility in OS X.
It's not the same, though. As someone else pointed out, the Finder uses a program called "Archive Utility.app", found in "/System/Library/CoreServices". A quick look at the binary shows that it uses the following Unix command line apps:
/usr/bin/macbinary
/usr/bin/file
/usr/bin/tar
/usr/bin/applesingle
/usr/bin/binhex
/usr/bin/ditto
/usr/bin/gunzip
/usr/bin/bunzip2
/usr/bin/uudecode
/usr/bin/atos
I would have to look into how iTunesConnect accepts files.
iPhone apps are signed binaries, so if one byte is different when they arrive at the app store, they won't be accepted. The command line zip leaves out some information and so the package appears to have been tampered with and they're rejected.
charlie -
What is the "EventLoggingEnumLogEntry" function in the run-time engine?
I have some code which isn't utilizing all of the processors on my system, but it should be, so I profiled the execution of the compiled executable code using "Intel VTune Amplifier". That program told me that my code is spending a lot time in synchronization or threading overhead, and that the main function that its constantly executing (>50%) is called "EventLoggingEnumLogEntry", and it's contained in lvrt.dll. It's also spending a fair amount of time executing a function "LvVariantCStrSetUI8Attr".
Can anyone tell me what these functions are and what in my LV code would activate them? I can't even start to find where the bottleneck is in my code with the information I currently have...
Thanks!Joey,
Thanks for the reply!
I've already parrallelized the loops, and the problem is that each core is only using about 25-40% of its capacity. I can't figure out what is limiting the speed of execution on each core. One of the papers I read suggested that I can find the bottleneck using the Intel VTune program. I used that instead of the Labview native profiler because the LV profiler will tell me where my code is spending most of its time, but it doesn't tell me if there is some other bottleneck (like perhaps one thread is waiting for another or something like that). I had already taken the information in the profiler as far as I know how to, by finding and optimizing the most commonly executed code in my application.
There is an event structure in my application, but once I press the "GO" button, which kicks off the intensive computing, I have the event structure disabled by placing it within a case structure and using a boolean to keep LV from executing the event structure. Under certain conditions (like completion of the computing), the boolean will be flipped and enable the event structure, but that only happens AFTER the computation is complete. I've confirmed that LV is not executing the event structure with breakpoints.
Does the mere presence of the event structure, even without execution, cause LV to spend extra resources checking for events? I also tried seperating the application into two while loops - one containing the event structure, and one containing the processing code. When the first while loop terminates (again, when pressing the "GO" button), the second will execute with no case structure in the loop. That did not seem to relieve the bottleneck.
This thread is the first thread that I posted regarding this topic. One of the last replies includes some of my code, if you are curious to look at it.
Thanks! -
What are the control functions of Suitability and setup type key in work center?
Hi all,
Can any1 plz tell me what is suitability and setup type key in workcenter default values tab?
what are the functions controlled by these keys?Hello,
Control Key in Defaut value keys screen is mainly for defining how the work center will be used in routings.
Almost in all the PP we define same Control key to the work center as well in the routing.
For example in work center control Key PP01 is used to define Routings/Internal proc. activities. When we go to the routing screen even if we do not see our components, work centers or control key we have to manually enter these details ans here control Key will remain the same as it was in Work center.
No. of individual capacity defines how many machines are there of the same type in the work center. E.g if I have 5 CNC machines then I will make One work center and in capacity screen I will put 5 as No. of individual Capacity.
Regards,
Piyush -
What is the main function of thunderbolt in imac
2 weeks ago, i bought a new imac
i was wonder about what is the function of thunderbolt and i do not have the promis pegasus machine
so, what can i do with the thunderbolt if i have the only imacIt's not youtube but the following article may explain TB a bit more to you:
What you need to know about Thunderbolt
Also, when TB can be use to connect other TB devices, mini-displayport displays can also be connected to a TB port.
Confusing Mini DisplayPort with Thunderbolt -
What does the setup() function work?
i am writing a basic program to make a shape and would like to use the setup function. Can anyone point me in the right direction.
Can anyone point me in the right direction.No, because I have no idea what class this method is in.
http://java.sun.com/j2se/1.5.0/docs/api/index.html
There are hundreds of classes. Find the one you're looking for and click on the setup() method. It will tell you what it does. -
What is the exact functionality for ASCS and SCS?
I have some simple questions about ASCS and SCS:
1) what is the difference between ASCS and SCS (they are all central instances services). What is the functionality of each?
2) What is the rule to distribute them on a clustered system , e.g.MSCS?
Thanks for your clarification.1. http://scn.sap.com/docs/DOC-25454
2. I have never done cluster installation
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0b86598-35c5-2b10-4bad-890edeb4c8f2
Just now found this discussion post
Re: For new ABAP HA - with ASCS, Central instance still needed?
Maybe you are looking for
-
Error while adding oracle database resource to the fail safe group
Hi, we are installaing ERP 6.0 EHP4 , oracle10.2.04 in MSCS During the step, Adding the oracle Database Resource to the fail safe group , I am getting the error. 28 13:21:57 ** WARNING : FS-10288: Parameter file C:\oracle\BCP\102\database\init<S
-
I have created tutorials using Tutorial Builder successfully, loaded them in Tutorial Veiwer and logged into localmachine where I an also running Photoshop. When I click on Show Me in Photoshop in my tutorials I get the following message: "Photoshop
-
Essbase Analytics Ver 9.2 Error when trying to rename an application
I tried to rename an application and received the following error:<BR><BR>Error 1056028<BR>Cannot rename data mining objects from database.<BR><BR>Has anyone had trouble renaming applications using version 9.2?
-
Failure of the transport request containing queries
Hi *, There was a transport request which after transport to Qual from Dev, failed with error code 8. Going into the details, the errors were: The request contained near about 100 queries in which some minor changes were done. 1. Element 476FLGE6HWFA
-
I recently upgraded my phone to a Nokia Lumia 1020, I couldn't get Whatsapp at first but now I've managed to download it I've tried to send a few pictures to people, they seem to send perfectly from my end but the pictures people receive are very pix