About inline function
just tell me how we implement inline function which we are using in c++
in java just send me code
There is no such thing. However, the JVM, esp. the server JVM will automatically inline appropriate and frequently used methods as it determines that that would save time.
Similar Messages
-
Error : The ORDER BY clause is invalid in views, inline functions, derived
Hi All,
I am on 11g 6.2, Windows Server 2008, my db SQL server 2008, I am facing the error for the reports in which I am trying to edit one the column formula and do something like 'abc/sum(abc)*100'.
10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 16001] ODBC error state: 37000 code: 8180 message: [Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared.. [nQSError: 16001] ODBC error state: 37000 code: 1033 message: [Microsoft][ODBC SQL Server Driver][SQL Server]The ORDER BY clause is invalid in views, inline functions, derived tables, subqueries, and common table expressions, unless TOP or FOR XML is also specified.. [nQSError: 16002] Cannot obtain number of columns for the query result. (HY000)
One of the solutions to this which I have found is to edit the EXPRESSION_IN_ORDERBY_SUPPORTED feature in the db properties.
I want to know what does EXPRESSION_IN_ORDERBY_SUPPORTED means?
When I create a calculations in 11g like abc/sum(abc) in the column formula for a column then i get this error.
What does this error mean? Does OBIEE 11g doesn't support using these expressions in the report and the fact that it applies the order by clause to the reports, the report fail?
Could anybody please explain the issue. There is very limited information on this over the web.
Thanks in advance.
RonnyThanks svee for the quick response, actually i had resolved the issue by unchecking the EXPRESSION_IN_ORDERBY_SUPPORTED option in the database. I want to understand how does that makes the difference?
What does EXPRESSION_IN_ORDERBY_SUPPORTED mean? Does it mean that if I give any expression in my answers report and since obiee uses a order by for all the queries, the expression won't be supported?
Please explain. -
Documentation about this function module
ineed Documentation about this function module RP_ANSAL_FROM_PERNR
Hi Avinash,
Have a look at the function group program documentation.It gives an idea of what the function module does.
Short text
Annual Salary Functionality (ANSAL)
Description
This function group contains different functionality for calculating the annual salary, and calculating a period salary from the annual salary.
The function group evaluates different tables and features:
Tables
T503 defines whether an employee is paid on an
hourly basis or per period
T510W defines the time unit
T511 determines the relevant module from the annual
salary wage type, rounding, etc.
T539J defines the valid wage types for calculating
the annual salary
Features
ANSAL defines the annual salary wage type
PFREQ number of periods per year
Old U510F -> use T510F ?
Thanks
Lakshman -
How to create inline function inside a test script
i ahve a test script. i want to create a inline function that will do some stuff. how can i do it syntatically.
declare
-- Local variables here
i integer;
begin
-- Test statements here
-- have a function spec and body how?
end;Hi,
You can define a function in the DECLARE section and use it in the BEGIN section, like this:
declare
-- Local variables here
i integer;
-- Defining successor function
FUNCTION successor (in_num IN NUMBER)
RETURN NUMBER
IS
BEGIN
RETURN in_num + 1;
END successor;
begin
dbms_output.put_line ( successor (1) || ' = successor (1)');
end;
/ -
Inline functions in C, gcc optimization and floating point arithmetic issues
For several days I really have become a fan of Alchemy. But after intensive testing I have found several issues which I'd like to solve but I can't without any help.
So...I'm porting an old game console emulator written by me in ANSI C. The code is working on both gcc and VisualStudio without any modification or crosscompile macros. The only platform code is the audio and video output which is out of scope, because I have ported audio and video witin AS3.
Here are the issues:
1. Inline functions - Having only a single inline function makes the code working incorrectly (although not crashing) even if any optimization is enabled or not (-O0 or O3). My current workarround is converting the inline functions to macros which achieves the same effect. Any ideas why inline functions break the code?
2. Compiler optimizations - well, my project consists of many C files one of which is called flash.c and it contains the main and exported functions. I build the project as follows:
gcc -c flash.c -O0 -o flash.o //Please note the -O0 option!!!
gcc -c file1.c -O3 -o file1.o
gcc -c file2.c -O3 -o file2.o
... and so on
gcc *.o -swc -O0 -o emu.swc //Please note the -O0 option again!!!
mxmlc.exe -library-path+=emu.swc --target-player=10.0.0 Emu.as
or file in $( ls *.o ) //Removes the obj files
do
rm $file
done
If I define any option different from -O0 in gcc -c flash.c -O0 -o flash.o the program stops working correctly exactly as in the inline funtions code (but still does not crash or prints any errors in debug). flash has 4 static functions to be exported to AS3 and the main function. Do you know why?
If I define any option different from -O0 in gcc *.o -swc -O0 -o emu.swc the program stops working correctly exactly as above, but if I specify -O1, -O2 or O3 the SWC file gets smaller up to 2x for O3. Why? Is there a method to optimize all the obj files except flash.o because I suspect a similar issue as when compilling it?
3. Flating point issues - this is the worst one. My code is mainly based on integer arithmetic but on 1-2 places it requires flating point arithmetic. One of them is the conversion of 16-bit 44.1 Khz sound buffer to a float buffer with same sample rate but with samples in the range from -1.0 to 1.0.
My code:
void audio_prepare_as()
uint32 i;
for(i=0;i<audioSamples;i+=2)
audiobuffer[i] = (float)snd.buffer[i]/32768;
audiobuffer[i+1] = (float)snd.buffer[i+1]/32768;
My audio playback is working perfectly. But not if using the above conversion and I have inspected the float numbers - all incorrect and invalid. I tried other code with simple floats - same story. As if alchemy refuses to work with floats. What is wrong? I have another lace whre I must resize the framebuffer and there I have a float involved - same crap. Please help me?
Found the floating point problem: audiobuffer is written to a ByteArray and then used in AS. But C floats are obviously not the same as those in AS3. Now the floating point is resolved.
The optimization issues remain! I really need to speed up my code.
Thank you in advice!Dear Bernd,
I am still unable to run the optimizations and turn on the inline functions. None of the inline functions contain any stdli function just pure asignments, reads, simple arithmetic and bitwise operations.
In fact, the file containing the main function and those functions for export in AS3 did have memset and memcpy. I tried your suggestion and put the code above the functions calling memset and memcpy. It did not work soe I put the code in a header which is included topmost in each C file. The only system header I use is malloc.h and it is included topmost. In other C file I use pow, sin and log10 from math.h but I removed it and made the same thing:
//shared.h
#ifndef _SHARED_H_
#define _SHARED_H_
#include <malloc.h>
static void * custom_memmove( void * destination, const void * source, unsigned int num ) {
void *result;
__asm__("%0 memmove(%1, %2, %3)\n" : "=r"(result) : "r"(destination), "r"(source), "r"(num));
return result;
static void * custom_memcpy ( void * destination, const void * source, unsigned int num ) {
void *result;
__asm__("%0 memcpy(%1, %2, %3)\n" : "=r"(result) : "r"(destination), "r"(source), "r"(num));
return result;
static void * custom_memset ( void * ptr, int value, unsigned int num ) {
void *result;
__asm__("%0 memset(%1, %2, %3)\n" : "=r"(result) : "r"(ptr), "r"(value), "r"(num));
return result;
static float custom_pow(float x, int y) {
float result;
__asm__("%0 pow(%1, %2)\n" : "=r"(result) : "r"(x), "r"(y));
return result;
static double custom_sin(double x) {
double result;
__asm__("%0 sin(%1)\n" : "=r"(result) : "r"(x));
return result;
static double custom_log10(double x) {
double result;
__asm__("%0 log10(%1)\n" : "=r"(result) : "r"(x));
return result;
#define memmove custom_memmove
#define memcpy custom_memcpy
#define memset custom_memset
#define pow custom_pow
#define sin custom_sin
#define log10 custom_log10
#include "types.h"
#include "macros.h"
#include "m68k.h"
#include "z80.h"
#include "genesis.h"
#include "vdp.h"
#include "render.h"
#include "mem68k.h"
#include "memz80.h"
#include "membnk.h"
#include "memvdp.h"
#include "system.h"
#include "loadrom.h"
#include "input.h"
#include "io.h"
#include "sound.h"
#include "fm.h"
#include "sn76496.h"
#endif /* _SHARED_H_ */
It still behave the same way as if nothing was changed (works incorrectly - displays jerk which does not move, whereby the image is supposed to move)
As I am porting an emulator (Sega Mega Drive) I use manu arrays of function pointers for implementing the opcodes of the CPU's. Could this be an issue?
I did a workaround for the floating point problem but processing is very slow so I hear only bzzt bzzt but this is for now out of scope. The emulator compiled with gcc runs at 300 fps on a 1.3 GHz machine, whereby my non optimized AVM2 code compiled by alchemy produces 14 fps. The pure rendering is super fast and the problem lies in the computational power of AVM. The frame buffer and the enulation are generated in the C code and only the pixels are copied to AS3, where they are plotted in a BitmapData. On 2.0 GHz Dual core I achieved only 21 fps. Goal is 60 fps to have smooth audio and video. But this is offtopic. After all everything works (slow) without optimization, and I would somehow turn it on. Suggestions?
Here is the file with the main function:
#include "shared.h"
#include "AS3.h"
#define FRAMEBUFFER_LENGTH (320*240*4)
static uint8* framebuffer;
static uint32 audioSamples;
AS3_Val sega_rom(void* self, AS3_Val args)
int size, offset, i;
uint8 hardware;
uint8 country;
uint8 header[0x200];
uint8 *ptr;
AS3_Val length;
AS3_Val ba;
AS3_ArrayValue(args, "AS3ValType", &ba);
country = 0;
offset = 0;
length = AS3_GetS(ba, "length");
size = AS3_IntValue(length);
ptr = (uint8*)malloc(size);
AS3_SetS(ba, "position", AS3_Int(0));
AS3_ByteArray_readBytes(ptr, ba, size);
//FILE* f = fopen("boris_dump.bin", "wb");
//fwrite(ptr, size, 1, f);
//fclose(f);
if((size / 512) & 1)
size -= 512;
offset += 512;
memcpy(header, ptr, 512);
for(i = 0; i < (size / 0x4000); i += 1)
deinterleave_block(ptr + offset + (i * 0x4000));
memset(cart_rom, 0, 0x400000);
if(size > 0x400000) size = 0x400000;
memcpy(cart_rom, ptr + offset, size);
/* Free allocated file data */
free(ptr);
hardware = 0;
for (i = 0x1f0; i < 0x1ff; i++)
switch (cart_rom[i]) {
case 'U':
hardware |= 4;
break;
case 'J':
hardware |= 1;
break;
case 'E':
hardware |= 8;
break;
if (cart_rom[0x1f0] >= '1' && cart_rom[0x1f0] <= '9') {
hardware = cart_rom[0x1f0] - '0';
} else if (cart_rom[0x1f0] >= 'A' && cart_rom[0x1f0] <= 'F') {
hardware = cart_rom[0x1f0] - 'A' + 10;
if (country) hardware=country; //simple autodetect override
//From PicoDrive
if (hardware&8)
hw=0xc0; vdp_pal=1;
} // Europe
else if (hardware&4)
hw=0x80; vdp_pal=0;
} // USA
else if (hardware&2)
hw=0x40; vdp_pal=1;
} // Japan PAL
else if (hardware&1)
hw=0x00; vdp_pal=0;
} // Japan NTSC
else
hw=0x80; // USA
if (vdp_pal) {
vdp_rate = 50;
lines_per_frame = 312;
} else {
vdp_rate = 60;
lines_per_frame = 262;
/*SRAM*/
if(cart_rom[0x1b1] == 'A' && cart_rom[0x1b0] == 'R')
save_start = cart_rom[0x1b4] << 24 | cart_rom[0x1b5] << 16 |
cart_rom[0x1b6] << 8 | cart_rom[0x1b7] << 0;
save_len = cart_rom[0x1b8] << 24 | cart_rom[0x1b9] << 16 |
cart_rom[0x1ba] << 8 | cart_rom[0x1bb] << 0;
// Make sure start is even, end is odd, for alignment
// A ROM that I came across had the start and end bytes of
// the save ram the same and wouldn't work. Fix this as seen
// fit, I know it could probably use some work. [PKH]
if(save_start != save_len)
if(save_start & 1) --save_start;
if(!(save_len & 1)) ++save_len;
save_len -= (save_start - 1);
saveram = (unsigned char*)malloc(save_len);
// If save RAM does not overlap main ROM, set it active by default since
// a few games can't manage to properly switch it on/off.
if(save_start >= (unsigned)size)
save_active = 1;
else
save_start = save_len = 0;
saveram = NULL;
else
save_start = save_len = 0;
saveram = NULL;
return AS3_Int(0);
AS3_Val sega_init(void* self, AS3_Val args)
system_init();
audioSamples = (44100 / vdp_rate)*2;
framebuffer = (uint8*)malloc(FRAMEBUFFER_LENGTH);
return AS3_Int(vdp_rate);
AS3_Val sega_reset(void* self, AS3_Val args)
system_reset();
return AS3_Int(0);
AS3_Val sega_frame(void* self, AS3_Val args)
uint32 width;
uint32 height;
uint32 x, y;
uint32 di, si, r;
uint16 p;
AS3_Val fb_ba;
AS3_ArrayValue(args, "AS3ValType", &fb_ba);
system_frame(0);
AS3_SetS(fb_ba, "position", AS3_Int(0));
width = (reg[12] & 1) ? 320 : 256;
height = (reg[1] & 8) ? 240 : 224;
for(y=0;y<240;y++)
for(x=0;x<320;x++)
di = 1280*y + x<<2;
si = (y << 10) + ((x + bitmap.viewport.x) << 1);
p = *((uint16*)(bitmap.data + si));
framebuffer[di + 3] = (uint8)((p & 0x1f) << 3);
framebuffer[di + 2] = (uint8)(((p >> 5) & 0x1f) << 3);
framebuffer[di + 1] = (uint8)(((p >> 10) & 0x1f) << 3);
AS3_ByteArray_writeBytes(fb_ba, framebuffer, FRAMEBUFFER_LENGTH);
AS3_SetS(fb_ba, "position", AS3_Int(0));
r = (width << 16) | height;
return AS3_Int(r);
AS3_Val sega_audio(void* self, AS3_Val args)
AS3_Val ab_ba;
AS3_ArrayValue(args, "AS3ValType", &ab_ba);
AS3_SetS(ab_ba, "position", AS3_Int(0));
AS3_ByteArray_writeBytes(ab_ba, snd.buffer, audioSamples*sizeof(int16));
AS3_SetS(ab_ba, "position", AS3_Int(0));
return AS3_Int(0);
int main()
AS3_Val romMethod = AS3_Function(NULL, sega_rom);
AS3_Val initMethod = AS3_Function(NULL, sega_init);
AS3_Val resetMethod = AS3_Function(NULL, sega_reset);
AS3_Val frameMethod = AS3_Function(NULL, sega_frame);
AS3_Val audioMethod = AS3_Function(NULL, sega_audio);
// construct an object that holds references to the functions
AS3_Val result = AS3_Object("sega_rom: AS3ValType, sega_init: AS3ValType, sega_reset: AS3ValType, sega_frame: AS3ValType, sega_audio: AS3ValType",
romMethod, initMethod, resetMethod, frameMethod, audioMethod);
// Release
AS3_Release(romMethod);
AS3_Release(initMethod);
AS3_Release(resetMethod);
AS3_Release(frameMethod);
AS3_Release(audioMethod);
// notify that we initialized -- THIS DOES NOT RETURN!
AS3_LibInit(result);
// should never get here!
return 0; -
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 16001] ODBC error state: 37000 code: 8180 message: [Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared.. [nQSError: 16001] ODBC error state: 37000 code: 1033 message: [Microsoft][ODBC SQL Server Driver][SQL Server]The ORDER BY clause is invalid in views, inline functions, derived tables, subqueries, and common table expressions, unless TOP or FOR XML is also specified.. [nQSError: 16002] Cannot obtain number of columns for the query result. (HY000)
I have already tried to follow this thread below, but no change.
HI
In this specific report ran above the offending sql uses a CTE.
I am on 11.1.1.6.1, Windows Server 2008
Currently in testing phase in migration from 10g.
I know what the error means, just not how to resolve it or what setting may be causing this.In Physical layer, go to specific database(Physical layer's) properties, database features tab -> Un check the EXPRESSION_IN_ORDERBY_SUPPORTED.
For that failed report, go to Answers-> advance tab-> Look for 'Advanced SQL Clauses'
Check this box to issue an explicit Select Distinct
Let me know updates
If helps Pls mark correct or helpful -
NEED INFORMATION ABOUT "MAX_TEST" FUNCTION MODULE
HI ABAPERS,
I need information about "MAX_TEST" function module . this function module is used in 4.6 version , now system have been shifted to 6.0.....here in 6.0 version this function module is not prasent.can any one tell me which new function module we can use in place of this function module, without changing the functionality........
Thanks in advance
regards,
SUNILThe module is not very sophisticated. Profficiency in Java or ABAP will be a great bonus here. There are plenty of good materials regarding XI on SDN. I suggest to start with step-by-step guides and master all basic integration scenarios
http://wiki.sdn.sap.com/wiki/display/XI/Step-by-Step+Guides
Opportunities in industry are not bad also, cause PI is rather popular among customers. The best thing is that it fits any type of customer's business. Integration is demanded almost everywhere. -
About CallByteMethodA Function
Hi you all:
I have some problem about CallByteMethodA function.
This is what my java code looks like:
public void setDS_INFO_mac(byte[] mac) {
for( int i = 0; i < mac.length; ++i ) {
this.ds_info.mac[i] = mac;
This is what my c code looks like:
jobject objref;
jclass cls = NULL;
jfieldID fid = NULL;
jmethodID mid = NULL;
jbyte dsMac[6];
jbyteArray returnArray = 0;
/* code not pertaining to this question snipped. */
mid = env->GetMethodID(cls, "setDS_INFO_mac", "([B)V" );
for( int j = 0; j < 6; ++j ) {
dsMac[j] = search_Info[i].ds_info.mac[j];
returnArray = env->NewByteArray(6);
if( returnArray != NULL ) {
env->SetByteArrayRegion(returnArray, 0, 6, (jbyte*)dsMac);
env->CallByteMethodA(objref, mid, (jvalue*)returnArray);
env->DeleteLocalRef(returnArray);
This is not working.
and, some about run time exception as follows:
Exception in thread "main" java.lang.NullPointerException
at CFGINFO.setDS_INFO_mac(DSCIStructure.java:97)
at DSCIJNInterface.dsc_EnumSearch(Native Method)
at MainApp.searching(MainApp.java:105)
at MainApp.main(MainApp.java:46)
Any idea what I'm doing wrong?You are missing error checking code. Many calls to the JNI interface require that you check the method return value. Many calls also require that java exceptions must be checked for after the call.
-
Sun Studio cc includes unused static inline functions in object file
While trying to compile some code originally compiled with GCC I run into a linking problem. My problem seems to be caused by that GCC does not include unused static inline functions in the object files while cc does. The following simple example can be used for illustrating this:
void foo();
static inline void bar()
foo();
int main()
}This program compiles and links without any problems using GCC and Sun Studio 12 CC (the C++ compiler) but fails to link using Sun Studio 12 cc:
khepri%> cc staticinline.c
Undefined first referenced
symbol in file
foo staticinline.o
ld: fatal: Symbol referencing errors. No output written to a.out
It is probably fine of cc to include foo() in the object file (although not necessary?). My questions are:
1. Are there any reasons for why cc includes unused static inline functions in the object file while CC does not?
2. Are there any ways or options to tell cc to not include unused static inline functions in the object file?
In the example above this is easy to fix by just removing or #ifdef away the code but the original code where I have this problem is not maintained by me and the static inline functions are in header files that get included in multiple C files and in some of these the functions are used.
Thanks,
Olavolavsa wrote:
1. Are there any reasons for why cc includes unused static inline functions in the object file while CC does not?
2. Are there any ways or options to tell cc to not include unused static inline functions in the object file?Removing dead code is an optimization, so you need at least -xO1 for that. -
Description about a function module O2_LANGUAGE_EXIT_FUNCTION
Hi All,
i want to know the description about the function module 'O2_LANGUAGE_EXIT_FUNCTION'. Please explain what is the functionality of this function module clearly.
Thanks & Regards,
Nagarjuna.hi,
send me ur mail id ,
i will send the pay roll related function moduls.
and document relataed to pay roll.
ramesh -
System table that stores info about any function module
Hi All,
I know that table TFDIR stores primary information about any function module.
Could anyone tell me where the code of that function module gets stored in?
Also.. If I want to write an ABAP code to read the function module code then what is the best possible solution?
I want to read a function module code if that contains specific string.
Can anyone help me with that?
Thanks in advace and any answer will be appreciated.
Regards
Jignesh
Edited by: Jignesh Patel on Jun 12, 2008 12:22 PMHi Jignseh,
The codes are not stored in any table, they are stored as cluster.
To read the code, you can use READ REPORT.
But there you must provide the Include Name
For Example , If you want to read the code of READ_TEXT,
READ REPORT 'LSTXDU01'.
You can get this include name inside include LSTXDUXX
Use "GET_INCLUDES" to get all include names
Edited by: Swastik Bharati on Jun 12, 2008 12:28 PM -
Can anybody tell me about SD Functionality and the main tables used in SD
Hi,
Can anybody tell me about SD Functionality and the main tables used in SD.
Thanks,
bsv.Hi
SD FLOW
SD Flow Cycle:
INQUIRY ( VA11)
|
QUOTATION (VA21)
|
PURCHASE ORDER (ME21)
|
ORDER CONFIRMATION (VA01)
|
PICKING LIST (VL36)
|
PACKING LIST - (VL02, VL01)
|
SHIPPING (VT01)
|
INVOICE (VF21, VF01)
|
AR
Enquiry - Customer enquires about the Products services that were sold by a company - VA11
Quotation - Company Gives a Quotation for the products and Services to a Customer
Sales Order - Customer gives a Purchase order to the company agaionst which a Sales order will be raised to Customer in SAP.
VBAK: Sales Document(Header Data) (VBELN)
VBAP: Sales Document(Item Data) (VBELN,POSNR,MATNR,ARKTX,CHARG)
Enquiry, Quotation, Sales Order are differentiated based on Doc.
Type(VBTYP field) in VBAK,VBAP Tables( for Enquiry VBTYP = A,
for Quotation 'B' & for Order it is 'C'.)
Delivery(Picking, Packing, Post Goods Issue and Shipment)->
Company sends the material after picking it from Godown and Packing it in a Handling Unit(box) and Issues the goods
LIKP: Delivery Table (Header Data)(VBELN,LFART,KUNNR,WADAT,INCO1)
LIPS: Delivery Table (Item Data)(VBELN,POSNR,WERKS,LGORT,MATNR,VGBEL)
(LIPS-VGBEL = VBAK-VBELN, LIPS-VGPOS = VBAP-POSNR)
Billing - Also company bills to the customer for those deliveries
And in FI against this billing Accounting doc is created.
VBRK: Billing Table(Header Data)(VBELN,FKART,BELNR)
VBRP: Billing Table(Item Data)(VBELN,POSNR,FKIMG,NETWR,VGBEL,VGPOS)
(VBRP-AUBEL = VBAK-VBELN, VBRP-VGBEL = LIKP-VBELN)
Apart from these tables there are lot of other tables which starts with
V, but we use the following tables frequently.
other tables and imp fields
VBUK: All Sales Documents status & Admn. Data(Header)(VBELN,VBTYP)
VBTYP= C(Sales Order) VBTYP=J(Delivery) VBTYP=M(Invoice)
VBUP: Sales Documents status & Admn. Data(Item)(VBELN,POSNR)
VBEP: Sales Doc. Schedule Lines Data(VBELN,POSNR,EDATU,WMENG)
VBKD: To get sales related Business data like Payment terms etc.(VBELN,ZTERM)
VBFA: sales document flow data(VBELV,VBELN,POSNV,VBTYP)
VBPA: Partner functions Data(VBELN,PARVW,KUNNR,LIFNR)
VEDA: Contract Data(VBELN,VPOSN)
VEDAPO: Contract Data(VBELN,VPOSN)
KONA: Rebate Agreements (KNUMA,VKORG,VTWEG,SPART)
VBRL: SD Document: Invoice List(VBELN,POSNR,VBELN_VF,NETWR,KUNAG)
VKDFS: SD Index: Billing Indicator(FKTYP,VBELN,FKART,VKORG)
VBSK: Collective Processing for a Sales Document Header(SAMMG,SMART)
VBSS: Collective Processing: Sales Documents(SAMMG,VBELN,SORTF)
VRKPA: Sales Index: Bills by Partner Functions(VBELN,BELNR,KUNDE,PARVW)
VRPMA: SD Index: Billing Items per Material(MATNR,VBELN,BELNR,KUNNR)
TVLKT: Delivery Type: Texts(LFART,VTEXT)
KNA1: Customer Master-General(KUNNR,NAME1,LAND1)
KNB1: Customer Master(Company Code)(KUNNR,BUKRS,PERNR)
KNC1: Customer Master Data (Transaction Figures)(KUNNR,BUKRS,GJAHR)
KNVK: Customer Master Contact Partner(PARNR,KUNNR,NAME1)
KNVV: Customer Master sales data(KUNNR,VKORG,VTWEG,KDGRP)
KNBK: Customer Bank Details(KUNNR,BANKS,BANKL,BANKN)
KNVH: Customer Hierarchy (HITYP,KUNNR,VKORG,VTWEG,SPART)
KNVP: Customer Master Partner Functions(KUNNR,PARVW,KUNN2)
KNVS: Customer Shipment data(KUNNR,VSTEL,TRANS)
KNVI: Customer Tax data(KUNNR,ALAND,TATYP)
LFA1: Vendor Master-General (LIFNR,NAME1,ORT01)
LFB1: Vendor Master(Company Code)(LIFNR,BUKRS,PERNR)
LFC1: Vendor Master (Transaction Figures)(LIFNR,BUKRS,GJAHR)
MARA: Material Master-General (MATNR,MTART,MATKL)
MARC: Material Master-Plant data(MATNR,WERKS,EKGRP)
MARD: Material Master- St.Location Data(MATNR,WERKS,LGORT,LABST)
EBEW: Sales Order Stock Valuation(MATNR,VBELN,BWKEY,BWTAR)
TVKO: Sales Organizations(VKORG)
TVTW: Distribution Channel(VTWEG)
TSPA: Divisions(SPART)
TVKOV: Distribution Channels for S.Orgn(VKORG,VTWEG)
TVKOS: Divisions for S.Orgn(VKORG,SPART)
TVTA: Sales Areas(VKORG,VTWEG,SPART)
TVBUR: Sales Offices(VKBUR,ADRNR)
TVKBT: Sales Office Texts(VKBUR,SPRAS,BEZEI)
TVKBZ: Sales Office Assign.to Sales Area(VKORG,VTWEG,VKBUR)
TVKGR: Sales Group(VKGRP)
TVGRT: Sales Group Texts(VKGRP,SPRAS,BEZEI)
TVBVK: Sales Group to Sales office(VKBUR,VKGRP)
TVKWZ: Plants Assign.to S.Orgn(WERKS,VKORG)
T171T: Sales District Texts(BZIRK,BZTXT,SPRAS)
TVLA: Loading Points(LSTEL)
TVST: Shipping Points (VSTEL)
TVSWZ: Shipping Point to Plant(VSTEL,WERKS)
TVPT: Item Categories (PSTYV)
TINC: Customer Incoterms(INCO1)
T077D: Customer Account Group (KTOKD)
T001W: Plants (WERKS)
T001L: Storage Locations (LGORT)
T499S: Locations(WERKS,STAND,KTEXT)
TWLAD: To get address of Storage Location and Plant(LGORT,ADRNR)
TVAK: Sales Document (Order) Types (AUART)
TVAU: Sales Documents: Order Reasons (AUGRU)
TVFK: Billing Document Types (FKART)
TVLK: Delivery Types(LFART)
TVSB: Shipping Conditions (VSBED)
TTDS: Transportation Points(TPLST)
TVKT: Account Assignment Groups (KTGRD)
KONV: Condition Types pricing)(KNUMV,KSCHL,KWETR)
ADRC: To get Addresses of Partners(ADDRNUMBER,NAME1)
VBBE: Sales Requirements: Individual records(VBELN,POSNR,MATNR)
VBBS: Sales Requirement totals Record(MATNR,WERKS,LGORT,CHARG)
VBKA: Sales Activities Data(VBELN,KTAAR)
VBPV: Sales Document Product Proposal(VTWEG,MATNR,KUNNR,CHARG)
T682: Access Sequences (KOZGF)
T682T: Access Sequence Texts (KOZGF,VTXTM)
T683: Pricing Procedures (KALSM)
T683T: Pricing Procedures Texts(KALSM,KAPPL,SPRAS,VTEXT)
T685: Pricing Condition Types (KSCHL)
T685T: Condition Type Texts(KSCHL,SPRAS,KAPPL,VTEXT)
KONH: Conditions (Header)(KNUMH,KAPPL,KSCHL)
KONP: Conditions (Item)(KNUMH,KOPOS,KAPPL,KSCHL)
KONV: Conditions (Transaction Data)(KNUMV,KSCHL,KBERT,KWERT)
KOND: Conditions (KNUMD,ZUSKO,KSCHL)
for sd go through the links
http://www.sapgenie.com/abap/tables_sd.htm
Please check this SD online documents.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAARCSD/CAARCSD.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_SD.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSD/BCBMTWFMSD.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOLISPLN/LOLISPLN.pdf
Also please check this SD links as well.
http://help.sap.com/saphelp_47x200/helpdata/en/92/df293581dc1f79e10000009b38f889/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/dd/55f33e545a11d1a7020000e829fd11/frameset.htm
http://www.sap-basis-abap.com/sapsd.htm
http://www.sap-img.com/sap-sd.htm
http://www.sapgenie.com/abap/tables_sd.htm
http://searchsap.techtarget.com/featuredTopic/0,290042,sid21_gci961718,00.html
http://www.sapbrain.com/TUTORIALS/FUNCTIONAL/SD_tutorial.html
All help ebooks are in PDF format here
http://www.easymarketplace.de/online-pdfs.php
Reward points if useful
Regards
Anji -
Question about the function module (RFC_READ_TABLE)
Dear everyone
Could I ask you a question about the function module (RFC_READ_TABLE)?
I was asked if it's possible to create a report which compares the data between different SAP systems (both production systems).
Now, the easiest way would be to use the function module (RFC_READ_TABLE) within a SAP infoset query (SQ01 type query).
But I heard the rumor that using the function module (RFC_READ_TABLE) is not advisable due to the security reason.
However, I am not exactly sure what sort of security problems this function module can possibly have...
Would you help me on this?
I also would like to know if using "remote enabled module" type function module can always overcome this possible security issue.
Or, are there any points that I need to be careful about even when I use "remote enabled module" function module?
Thank you very much in advance.
TakashiDear Fred-san
Thank you very much for your support on this.
But, may I double check about what you mentioned above?
So, what you were mentioning was that if some user executes the query with
the function module (RFC_READ_TABLE), under the following conditions, he can access to
the HR data even when he does not have the authorizations for HR transactions?
<Conditions>
1. the user has the authorization for HR database tables themselves
2. RFC_READ_TABLE is called to retrieve the data from HR database
<example>
Data: LF_HR_TABLE like DD02L-TABNAME value 'PA0000'.
CALL FUNCTION 'RFC_READ_TABLE'
EXPORTING
query_table = LF_HR_TABLE
TABLES
OPTIONS =
fields =
data = .
But then, as long as we call this function module for a non-critical tables such as
VBAP (sales order) or EKKO (purchase order) within our query, it wouldn't seem to be
so security risk to use RFC_READ_TABLE...
Besides, each query (infoset query) has got the concept of user groups, which limits
the access to the queries within the user group.
※If someone does not belong to the user group, he cannot execute the queries within that
user group, etc
So, my feeling is that even infoset queries does have authorization concept...
Would you give me your thought on this?
I also thank you for your information for SCU0.
That is an interesting transaction
Kind regards,
Takashi -
Oracle course to learn more about BI functions
Hi,
Do you know if there is any Oracle course specific about BI functions?
Aggregate Functions
Running Aggregate Functions
String Functions
Math Functions
Calendar Date/Time Functions
Conversion Functions
System Functions
Operators
Expressions
Literals
I know how to build simple reports, but when it comes to use the above functions, I find it difficult.
Maybe somebody can suggest a good book too?
Thanks and Regards
G.http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31770.pdf
Page No 366 about Aggregated functions
Running Aggregate Functions - 374
String Functions - 378
Math Functions - 384
Calendar Date/Time Functions - 390
Conversion Functions - 398
System Functions - 402
I Hope this works for you.. -
I want to know about Node functions
can anyone explain with example about node functions in PI with an example as i am knew to PI
Hi Chandra,
Using google or SCN search you will find a lot of examples...
https://www.google.es/search?q=SAP+PI+node+functions&ie=utf-8&oe=utf-8&rls=org.mozilla:es-ES:official&client=firefox-a&c…
Redirecting...
Try to read the SAP documentation and later ask to the forum if you have any doubt with a specif function and/or example. You would consider to research a bit before to ask because the question is so generic.
Regards,
Maybe you are looking for
-
ITunes 10.5 just will not Sync correctly/at all
Over hours and hours and hours I have been failing with this. First my iPhone with iOS 5 would not sync anything - it says it has, gives no error, but just gives me Ghost images on the iPhone with nothing in them. Finally got my music synced by disco
-
How do I get my iMessenger working on iPad and iPhone please?
My imessenger has stopped working on both my iPad 4 and iPhone 4. Any ideas? I have separate apple IDs for iTunes and iCloud/emails. Not sure if that makes a difference?! Thanks
-
Barley any sound from msi k8n neo
just got over my win 64 issue an got my system running ive up dated all drivers nforce drivers live updated digicell amd drivers utility drivers updated my graphic drivers updated my bios to 1.4 but when i hook up my speakers i barely get any sound i
-
I am setting up a new machine for windows azure development. I have VS 2013 Ultimate with Team Explorer on Windows 7 Enterprise. When I launch the Web Installer for Azure SDK 2.2 I receive a dialog almost immediately with the message: An error occu
-
Upgraded to 8.0.1. A "Setup" error box drops down: "Your computer must be restarted to complete a previous upgrade of Firefox. Do you want to reboot now?" I reboot multiple times, and the box still appears. Went back to an earlier restore point in XP