No of records in a cube
Hi BWers,
How do i know the no of records a cube has? Also how do i avoid previous request getting deleted while doing full update. Thanks
Dave
Hi,
Q1.How do i know the no of records a cube has?
Here is a program to generate no of records and list of ODS and Cubes in Active version.Schedule this program in background and create a cube to load this information and schedule to the data from the file generated by the program. Schedule this all per you requirement.
1.Copy the code into your Z<programname> from Se38.
2.change the FILENAME in CALL FUNCTION 'GUI_DOWNLOAD' in the program to the location from where you can pick the information to load data to cube(eg Application server).
3.Save program.
4.Schedule the program in background as required
5.Create cube with infoobjects to hold no of records and Infoprovider name
6.Load this cube based on event after the program job is done.
Hence you can report on this cube to see no of records in CUBE or ODS in your box.
Please find the code below.
types: begin of itabs ,
tabname type dd02l-tabname,
end of itabs.
data: itab type itabs occurs 0 with header line.
data: counter type i.
data: begin of itab1 occurs 0,
tabname type dd02l-tabname,
counter type i,
end of itab1.
DATA: ITABTABNAME TYPE STRING.
DATA: LENGTH TYPE I.
DATA: OBJECT(30).
data: str(6) type c.
select tabname from dd02l into table itab where ( tabname LIKE '/BIC/F%' or tabname LIKE '/BIC/A%00' )
and TABCLASS = 'TRANSP' and AS4LOCAL = 'A'.
loop at itab.
select count(*) from (itab-tabname) into counter.
str = itab-tabname.
if str = '/BIC/F'.
LENGTH = STRLEN( ITAB-TABNAME ).
SHIFT itab-tabname BY 6 PLACES LEFT.
ELSEIf str = '/BIC/A'.
SHIFT itab-tabname BY 6 PLACES LEFT.
LENGTH = STRLEN( ITAB-TABNAME ).
LENGTH = LENGTH - 2.
endif.
itab1-tabname = itab-tabname(LENGTH).
append itab1.
itab1-counter = counter.
clear itab-tabname.
clear: COUNTER.
endloop.
*********** itab1
loop at itab1.
write:/ itab1-tabname, itab1-counter.
endloop.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
* BIN_FILESIZE =
FILENAME = 'c:records.xls'
FILETYPE = 'ASC'
* APPEND = ' '
WRITE_FIELD_SEPARATOR = ','
* HEADER = '00'
* TRUNC_TRAILING_BLANKS = ' '
* WRITE_LF = 'X'
* COL_SELECT = ' '
* COL_SELECT_MASK = ' '
* DAT_MODE = ' '
* CONFIRM_OVERWRITE = ' '
* NO_AUTH_CHECK = ' '
* CODEPAGE = ' '
* IGNORE_CERR = ABAP_TRUE
* REPLACEMENT = '#'
* WRITE_BOM = ' '
* TRUNC_TRAILING_BLANKS_EOL = 'X'
* WK1_N_FORMAT = ' '
* WK1_N_SIZE = ' '
* WK1_T_FORMAT = ' '
* WK1_T_SIZE = ' '
* IMPORTING
* FILELENGTH =
TABLES
DATA_TAB = itab1
* FIELDNAMES =
* EXCEPTIONS
* FILE_WRITE_ERROR = 1
* NO_BATCH = 2
* GUI_REFUSE_FILETRANSFER = 3
* INVALID_TYPE = 4
* NO_AUTHORITY = 5
* UNKNOWN_ERROR = 6
* HEADER_NOT_ALLOWED = 7
* SEPARATOR_NOT_ALLOWED = 8
* FILESIZE_NOT_ALLOWED = 9
* HEADER_TOO_LONG = 10
* DP_ERROR_CREATE = 11
* DP_ERROR_SEND = 12
* DP_ERROR_WRITE = 13
* UNKNOWN_DP_ERROR = 14
* ACCESS_DENIED = 15
* DP_OUT_OF_MEMORY = 16
* DISK_FULL = 17
* DP_TIMEOUT = 18
* FILE_NOT_FOUND = 19
* DATAPROVIDER_EXCEPTION = 20
* CONTROL_FLUSH_ERROR = 21
* OTHERS = 22
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
2.Also how do i avoid previous request getting deleted
> while doing full update
You can do as Rohini suggested.
Cheers,
Kavitha Kamesh.
Similar Messages
-
End Routine - Modify a record in the cube
Hello Guys,
In the end routine I have to update a field . The transformation is the same cube to the cube. I want the record to be modified like add a value to a field in the end routine. Since it is a cube it creates a new record instead of overwriting the existing record. Is there anyway I can modify the record. I know I can make the existing record 0.00 and then create a new record with the new value.Is there any other solution.
For example:This is the existing record in the cube
sales order Item No Backlog Amount Indicator
1000 10 1000.00
After applying the end routine it has 2 records ( I modify the record with the indicator value)
sales order Item No Backlog Amount Indicator
1000 10 1000.00
1000 10 1000.00 REV
After applying the end routine I need the record to be like overwrite(similar to DSO)
sales order Item No Backlog Amount Indicator
1000 10 1000.00 REV
How to achieve the above result in end routine.
Thanks
SenthilHi there,
Since you create new records in end routine in the InfoCube, why not delete the old ones?
You can use the
delete RESULT_PACKAGE where ...
Therefore deleting the old records after inserting the new ones.
Diogo. -
How to find number of records in a cube and ODS....
Hi,
How do we find total number of records in a cube and ODS?
Is there any Tcode for this ?
From the content it is difficult to get the number of records, if it is more in number.
Thanks,
JeetuHello ,
Please check the following thread,
Number of records in a infocube
hope it helps,
assign points if helpful. -
Dear Friends,
I am working in EPM10 NW/BW 7.31.
I just want to know how can I find number of records in BPC cube from the back end (i.e using T-Code RSA1)
As I am not a BW expert, any simple suggestion will be appreciated.
Thanks,
RahulHi Rahul,
The way I do it is right click on the cube, then display data.
goto the bottom section of the menu where you see the following:
tick output number of hits
also change the max no, of hits to a high number
then run
in the output screen you sum up the first column, it will give you the total number of records in the cube
Andy -
Checking no of records in a cube.
Hi All,
I am trying to check the number of records in a cube. I tried two ways .
1) Using listcube -> rowcount -> total
2) RSA1 -> Manage -> Count no of records for each request.
I am getting different result for both . Can anyone help me on this?
Regards,
SagarWhy Added Records ??
Ans :- Because there will be default aggreagation ...
These two will always be different
Think like
REQ1 has CHARA CHARB KF1 KF2
REQ2 also has CHARA CHARB KF1 KF2
When i see the records from LISTCUBE
I will just see i record for CHARA and CHARB with Key Figures will summed up ..
I hope u understood the issue
Cheers!!
Amit -
Max number of records in a cube & architectural issues
Hi,
Sorry if my question was already done but i can't find the same question with the research button (may be i have not the good words for search, I'm not english).
I am on a BIG BIG IP project. The forecast volume of planned records is about 1.000.000.000 records a year. So we choose to split records toward many cubes.
1) Is there a maximum number of record supported by a cube to be planned? We planned to put 100.000.000 records maximum on a cube to be planned. Is it too much?
2) If I make 100 cubes (one for each organizational entity) with 10.000.000 records per cube and if I "plug" a planning layout on these 100 cubes with a multiprovider, will IP:
spread time to search the good cube to write in (due to the selected entity) in the 100 cubes (too much time !), or,
search directly in the good cube (thanks to user exit that match cube with selected entity), so the response time will be about the same as the one for 1 layout plugged on 1 cube of 10.000.000 records?
Thanks a lot, and sorry for my english language level
GeorgesHi Georges,
Having too many records in the cube should not be very detrimental for performance of planning application as long as you can ensure that the data volume that you fetch at one go is restricted to reasonable limits, using restrictions in filters (the more restrictive the better). Take care of this while modelling both your planning functions/sequences and input-ready queries.
I understand that you'll need to create a multiprovider for reporting purposes, but if you dont need the data from more than one cube for planning purpose, it will be better to create the aggregation level (and rest of the planning model) on top of individual cube. In case, you want to use the same planning function/input queries for multiple cubes (which will probably be the case), you can create the aggregation levels on the multiprovider but make sure you restrict the characteristic 'infoprovider' properly in the filter restrictions to avoid the function reading unnecessary data from many cubes.
Hope this helps. -
Delete blank records from the cube
Hello;
We just upgraded from 3.5 to 7.0. When we started running our queries for the Inventory cube, we were getting an error message of "Error: The validity interval has the initial value as lower limit".
When I checked the cube, I found records that were blank, such as no dates, plants, etc.. I then tried to see if I can delete those records, but I cannot find a way to do this. Can someone tell me how to delete the blank records or any records from the cube directly? When I run the queries from the ODS, I do not get any errors at this time.
Any information, suggestions or HELP is greatly appreciated.
Thanks,
Maximina BarryHello Maximina,
You could try writing in some code that would delete the records which have some fields as blank in the start routine of the transformation that connects the ODS to the cube . So that the next time you load data from the ODS to the cube .. they would stay deleted .
Hope it helps.
Just to add ...
refer -> Need Sample Code to delete records from Cube using SE38 Editor
Thanks,
~Vj
Message was edited by:
Vijay Gopinath -
When we drilldown at document level it displays one record for each cube
Dear Experts .
The users want to see the report by status for the order detail report at document level it displays one record for each cube .
They want to see the single line for the order quantity , Amount, Billing quantity delivery and amount along with the Sales order number , billing document number billing date , delvert date ..et in signgle line. ( Sale order DeliveryBilling)
When we are doing on Multiprovider recording displaying from each cube.
We have tried with Constant selections and it is not giving the required results m since these want to see by status. Due to huge data performance reasons we re unable to use it .
Please provide your valuable inputs.
Thanks,
Mahesh.Mahesh,
If you want to get detail data with respect to Sales order - delivery - Billing, on top of Multiprovider you can come up with Constant selection.
But I am not clear that why constant selection is not working properly, can I have some light on that.
Probably, you are struggling with multiple records .
I suggest you to go with end routine and map all fields to one IC and do reporting on that single IC, then your requirement will fulfill.
But here we need to take care of performance issues and process chain scheduling wile loading deltas.
If Multiprovider is not working properly , then try with Infoset(If you have more than 2 ICs it not possible).
Regards,
rvc -
Show record number in cube report
Hi,
There is record number for ODS and infoset, where I can get record number for Cube? I remember I can use formulary, however I can not find it.
Thankshi,
not sure this is what you are looking
count
try in selection screen, mark 'output number of hits', and entry Max. no. of hits with a big number, estimate will bigger then the total rows you will get.
after execute, there is one column 1ROWCOUNT which's filled with '1', click this column and click 'Total' (icon like E), the last row of table will show the total rows.
or check how to count doc
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7e58e690-0201-0010-fd85-a2f29a41c7af
hope this helps. -
How to restrict Overwritten records of Info-Cube in Query
Hi ,
In query i am able to see the overwritten/replaced records with Zero values as well the same records with new values i.e. same record with in 2 lines one with zero value and other with replaced value.How i can restrict that only new record should be shown in Query.
With regards,
Abhishek KumarAs in InfoCube if a new record is inserted with same key fields it add the previous record with -ve values and new record with new values having same key fields.Now i can see these records in Info-Cube but when it comes to query it shows all the records ,one with the zero value and the same with the new values.Question is how i can restrict the record with zero value.
Abhishek Kumar -
More records in Purchasing Cube than in PSA.
Dear Folks,
Right now i'm working on 0PUR_C01 Cube.In Quality server, i checked the data in Cube after executing the DTP and found that records are getting increased.Records in PSA(2152),but in Cube(2359),there are some routines in the Transformation checked them too they are ok.Transformation has 2 rule groups.And interestng thing is that we had the KF ZDCOUNT with rule type constant(1), and i found that for some records count=0.
appreciate your quick reply.
Regards,
Rams.Hi
As you have small no of records, run the DTP in Debud mode ( simulation mode) and check why you are getting 0 values from count key figure.
If you have any end or Expert routine, you may get more records in target than source.
Regards,
Venkatesh -
How to differentiate the records in the cube
Hi experts,
I get data from 3 dso's to a cube through 3 DTP's.
In the cube how to recognize that a particular record came from a particular dso.
I thought of identifying it with request ids but for delta loads daily different req ids will be coming.
Can we populate the dtp name into the cube ?
If so, how ?
Regards,
Bhadri M.Yes Bhadri,
this can be done by adding another char in the cube and populating this char with diff values, lets say 'A' for DSO1, B for DSO2 and similar for third.
This char would help us identify at a later point the records source.
Naveen.A -
Multiple record created in Cube
Hi BI Expert,
I have got a DSO and it's passing data to infocube. When it passes data, the cube generates multiple records. I am using the following code and this was originally written by BI consultant.
PROGRAM UPDATE_ROUTINE.
$$ begin of global - insert your declaration only below this line -
TABLES: /bic/azo_sop_100,
/bic/aZO_POP_100,
/bic/azo_pop0600,
/BIC/AZO_PRE_100,
/BIC/AZO_SBP_100,
/BIC/AZO_SDP_100.
DATA: in TYPE f,
out TYPE f,
denom TYPE f,
numer TYPE f,
vc_df_preq type /BI0/OIDF_PREQ.
Def. of 'credit-documents': following doc.categ. are 'credit docs'
return order (H)
credit memo (K)
Credit-documents are delivered with negative sign. Sign is switched
to positive to provide positive key-figures in the cube.
The combination of characteristics DE_CRED and DOC-CLASS provides
a comfortable way to distinguisch e.g. positive incoming orders or
order returns.
Def. der 'Soll-Dokumente': folgende Belegtypen sind 'Soll-Belege'
Retoure (H)
Gutschriftsanforderung (K)
Soll-Dokumente werden mit negativem Vorzeichen geliefert. Um die Kenn-
zahlen positiv in den Cube zu schreiben, wird das Vorzeich. gedreht
Die Kombination der Merkmale DEB_CRED und DOC-CLASS gibt Ihnen die
Möglichkeit schnell z.B. zwischen Auftrags-Eingang oder Retouren zu
unterscheiden.
DATA: deb_cred(2) TYPE c VALUE 'HK'.
DATA: quot(1) TYPE c VALUE 'B'.
CONSTANTS: c_msgty_e VALUE 'E'.
Variable declarations for
derivation of Fiscal week {by SB:18.10.2007}
DATA: lv_createdon TYPE /bi0/oicreatedon,
lv_period LIKE t009b-poper,
lv_year LIKE t009b-bdatj,
lv_fiscweek TYPE /bi0/oicalweek,
w_vendor like /BIC/AZO_POP_100-VENDOR.
Deriving Master Data Attribute (0MRP_CONTRL)
from 0MAT_PLANT {by SB:18.10.2007}
Hashed table declaration for 0MAT_PLANT master data
*DATA: it_mat_plant
TYPE HASHED TABLE OF /bi0/pmat_plant
WITH UNIQUE KEY plant mat_plant
INITIAL SIZE 0.
$$ end of global - insert your declaration only before this line -
FORM compute_data_field
TABLES MONITOR STRUCTURE RSMONITOR "user defined monitoring
USING COMM_STRUCTURE LIKE /BIC/CS8ZO_SOP_5
RECORD_NO LIKE SY-TABIX
RECORD_ALL LIKE SY-TABIX
SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
CHANGING RESULT LIKE /BIC/VZIB_SOP_1T-SUBTOT_1S
RETURNCODE LIKE SY-SUBRC
ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
$$ begin of routine - insert your code only below this line -
DATA: VALUE LIKE COMM_STRUCTURE-NET_VALUE.
DATA: US_RATE_TYPE LIKE COMM_STRUCTURE-RATE_TYPE.
CLEAR RESULT.
IF NOT COMM_STRUCTURE-SUBTOTAL_1 IS INITIAL AND
COMM_STRUCTURE-DOC_CURRCY NE COMM_STRUCTURE-STAT_CURR.
US_RATE_TYPE = COMM_STRUCTURE-RATE_TYPE.
IF US_RATE_TYPE EQ SPACE.
US_RATE_TYPE = 'M'.
ENDIF.
ENDIF.
IF COMM_STRUCTURE-DOC_CURRCY NE COMM_STRUCTURE-STAT_CURR.
CALL FUNCTION 'CONVERT_TO_STAT_CURRENCY'
EXPORTING
DATE = COMM_STRUCTURE-ST_UP_DTE
DOCUMENT_AMOUNT = COMM_STRUCTURE-SUBTOTAL_1
DOCUMENT_CURRENCY = COMM_STRUCTURE-DOC_CURRCY
LOCAL_CURRENCY = COMM_STRUCTURE-LOC_CURRCY
STAT_CURRENCY = COMM_STRUCTURE-STAT_CURR
LOCAL_RATE = COMM_STRUCTURE-EXCHG_RATE
STAT_RATE = COMM_STRUCTURE-EXCHG_STAT
LOCAL_TYPE_OF_RATE = US_RATE_TYPE
STAT_TYPE_OF_RATE = US_RATE_TYPE
IMPORTING
STATISTICAL_AMOUNT = VALUE
EXCEPTIONS
LOCAL_RATE_NOT_FOUND = 1
STAT_RATE_NOT_FOUND = 2.
CASE SY-SUBRC.
WHEN 0.
RESULT = VALUE.
RETURNCODE = 0.
WHEN 1.
CLEAR MONITOR.
MONITOR-msgno = '005'.
MONITOR-msgid = 'SDBW'.
MONITOR-msgty = c_msgty_e.
MONITOR-msgv1 = COMM_STRUCTURE-DOC_NUMBER.
MONITOR-msgv2 = COMM_STRUCTURE-ST_UP_DTE.
MONITOR-msgv3 = COMM_STRUCTURE-DOC_CURRCY.
MONITOR-msgv4 = COMM_STRUCTURE-LOC_CURRCY.
append MONITOR.
RETURNCODE = 4.
WHEN 2.
CLEAR MONITOR.
MONITOR-msgno = '006'.
MONITOR-msgid = 'SDBW'.
MONITOR-msgty = c_msgty_e.
MONITOR-msgv1 = COMM_STRUCTURE-DOC_NUMBER.
MONITOR-msgv2 = COMM_STRUCTURE-ST_UP_DTE.
MONITOR-msgv3 = COMM_STRUCTURE-DOC_CURRCY.
MONITOR-msgv4 = COMM_STRUCTURE-STAT_CURR.
append MONITOR.
RETURNCODE = 4.
ENDCASE.
ELSE.
RESULT = COMM_STRUCTURE-SUBTOTAL_1.
ENDIF.
IF COMM_STRUCTURE-DOC_CATEG CA DEB_CRED.
RESULT = RESULT * ( -1 ).
ENDIF.
If the order type is 'Returns' or 'Credit Memo' then the figure will be changed to positive value. But the cube has got both negative and positive value for the order line.
Order line PO no. 0COST 0CML_OR_QTY
89576 10 925401 130.60 1
89576 10 925401 -130.60 1-
Could you please help me as to how I can resolve this issue?
Thanks.
Edited by: Bhai Basnet on Mar 7, 2008 11:58 AMHi,
the code you provided does not duplicate records.
Most probably the records are duplicated in the start routine, or the key figure is copied in the update rule (so you get 0AMOUNT en 0AMOUNT_01).
So I'd check your start routine and take a look if the key figures are copied. -
Hi guys,
is there a simple way to find the records in a fact table and dimension tables,
say some fn module, let me know.
Thanks,
Your help will be rightly appreciatedHi,
go to SE16 enter the Fact Table name /BIC/F"Cube Name"
for dimension table
5./bic/D(cube name) I is the user defined dimension of a content cube
additional info
1./bic/f (cube name) is the fact table of a content cube
2./bic/D (cube name) P is the package dimension of a content cube
3./bic/D(cube name) U is the unit dimension of a content cube
4./bic/D(cube name) T is the time dimension of a content cube
6./bic/m (object name) master data of object
7./bic/t (object name) text data of object
8./bic/H (object name) hierarchy data of object
Cheers,
swapna.G -
All records loaded to cube successfully but the request is in red status
All the records are loaded from r3 to target, but the status of the request is still in RED, what is the reason and how to resolve it?
Hi,
If you find the records are loaded to cube and request is still red, Follow any one of the following options.
1. Make the request to green manually
2. Check the extraction monitor settings in SPRO -
> SAP Customizing Implementation Guide ---> Business Intelligence --->
Automated Processes -
> Extraction Monitor Settings. Check how the settings are done if you are authorized.
3. Go to Manage of the target ---> Environment ---> Automatic Request processing ---> Check the option Set Quality Status to OK
Hope this helps,
Regards,
Rama Murthy.
Edited by: Rama Murthy Pvss on May 11, 2010 7:39 AM -
Re: Issue with multiple records loading into cube
Hello Gurus,
A report is run on a monthly basis for Billing commissions. Info cube has all the data related to the Billing commission.
It has a custom field for total commissions for which the data gets populated from the DSO based on the Billing
document conditions. Look up has been done for the total commissions field. Most of them are showing up
the right values, but few billing documents are showing up the wrong values.
I made an attempt by reloading the effected Billing documents into Info cube, now the code works and
total commissions are showing up right values. I tried selective deletion and loaded the data for the whole month,
the billing documents again show up the wrong values. These billing documents show up the right values when
they are loaded individually.I tried checking if the code was wrong, but it was working when the effected ones
are loaded individually. Please let me know your suggestions on this. Thanks in advanceNanda,
Please find the start routine below
Z9SD_O21 = Billing document header
L_ZUARC like /BIC/AZ9SD_O2300-INV_QTY,
L_ZUART like /BIC/AZ9SD_O2300-KPRICE,
L_ZCGU like /BIC/AZ9SD_O2300-KNVAL,
L_ZCTU like /BIC/AZ9SD_O2300-KNVAL,
L_ZCNU like /BIC/AZ9SD_O2300-KNVAL,
L_ZCQU like /BIC/AZ9SD_O2300-KNVAL,
FORM SELECT_POST_ST
USING COMM_BILL_NUM LIKE /BIC/AZ9SD_O2100-DOC_NUMBER.
* COMM_BILL_DATE LIKE /BIC/AZ9SD_O2100-BILL_DATE.
IF COMM_BILL_NUM <> /BIC/AZ9SD_O2100-DOC_NUMBER.
* OR COMM_BILL_DATE <> /BIC/AZ9SD_O2100-BILL_DATE.
CLEAR /BIC/AZ9SD_O2100.
SELECT SINGLE DOC_NUMBER /BIC/ZPOST_ST
INTO (/BIC/AZ9SD_O2100-DOC_NUMBER,
* /BIC/AZ9SD_O2100-BILL_DATE,
/BIC/AZ9SD_O2100-/BIC/ZPOST_ST )
FROM /BIC/AZ9SD_O2100 WHERE
DOC_NUMBER = COMM_BILL_NUM.
ENDIF.
ENDFORM. "SELECT_POST_ST
*$*$ end of global - insert your declaration only before this line *-*
* The follow definition is new in the BW3.x
TYPES:
BEGIN OF DATA_PACKAGE_STRUCTURE.
INCLUDE STRUCTURE /BIC/CS8Z9SD_O24.
TYPES:
RECNO LIKE sy-tabix,
END OF DATA_PACKAGE_STRUCTURE.
DATA:
DATA_PACKAGE TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
WITH HEADER LINE
WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
FORM startup
TABLES MONITOR STRUCTURE RSMONITOR "user defined monitoring
MONITOR_RECNO STRUCTURE RSMONITORS " monitoring with record n
DATA_PACKAGE STRUCTURE DATA_PACKAGE
USING RECORD_ALL LIKE SY-TABIX
SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
CHANGING ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
*$*$ begin of routine - insert your code only below this line *-*
* fill the internal tables "MONITOR" and/or "MONITOR_RECNO",
* to make monitor entries
* if abort is not equal zero, the update process will be canceled
* DELETE DATA_PACKAGE WHERE STORNO = 'X'.
* DELETE DATA_PACKAGE WHERE /BIC/ZPSTAS = 'A'.
* CG: 07/02/07 Assign Summarization group for each partner function
* based on Master Data.
DATA: LV_LINES TYPE I.
DATA: LV_RETURN(1).
DESCRIBE TABLE DATA_PACKAGE LINES LV_LINES.
IF LV_LINES > 0.
CLEAR: LV_RETURN, SY-SUBRC.
CALL FUNCTION 'Z_FIND_SUM_GROUP_2'
IMPORTING
MY_RETURN = LV_RETURN
TABLES
IT_DATAPACKAGE = DATA_PACKAGE
EXCEPTIONS
GENERAL_ERROR = 1.
ENDIF.
ABORT = 0.
*$*$ end of routine - insert your code only before this line *-*
ENDFORM.
Maybe you are looking for
-
Application working under NetBeans but not as a *.jar file
Hello, recently I found a little problem. I wrote application that shows all available ports in my computer. When I am running this applications under NetBeans it works with no problem - finds all available ports. Then I am building it to the *.jar f
-
Changing LDAP System from AD to ADAM in CUCM 7.1.5
Hello Guys, First time poster here, so be gentle... We have a query regarding LDAP Synchronisation in CUCM 7.1.5. A brief background : Our CUCM environment has expanded since we first put it in a couple of years ago. We originally had, and continue t
-
Sap abap hr query (top urgent)
hello, i want to take the list of two fields of students last name i.e. field name is NACHN and first name field name is VORNA the table name both of is P1702 i have the screen. and i have to do the input of students id like from to, let me know how
-
Keyboard not working correctly on laptop. What do I do?
so I was using windex to clean my laptop and it went on my keyboard too. I cleaned it off but I noticed that it was not functioning properly. Some letters were not even working. After 24 hrs. almost everything is working but not correctly. Some keys
-
Uploading images whit thumbnail to MDM repository using Java API
Hello, can someone tell me how to upload images whit thumbnail to MDM repository using Java API? i get following message using setHasThumbnail(true): com.sap.mdm.commands.CommandException: com.sap.mdm.internal.protocol.manual.ServerException: Ungülti