Archiving the entries of table BBP_PDVIEW_BUP in EBP 3.0 System
Hi SRM Gurus,
I want to Archive the entries of table "BBP_PDVIEW_BUP " in EBP 3.0 system. Is there any provision to archive, as our EBP system performance is very slow.
And what are means to improve the performance of EBP system
please help me.
Thanks,
Ramesh
Hi
<b>Please go through the following SAP OSS Notes, which definitely will help.</b>
<u>Note 981876 BBP_PDH_TRANSFORM_LOCATION - performance problems
Note 868382 SRM Sourcing Cockpit
Note 625344 Status change not possible because follow-on docs exist
Note 840028 EBP 3.5-5.0: Performance improvement for scorecard monitor
Note 721358 Perfomance improvements for list displays
Note 650592 Performance improvements in list displays
Note 766354 Name formatting for requester in sourcing cockpit
Note 696854 BBP_BW_SC_SELECT_1: Vendor / Preferred vendor
Note 726168 search for contracts does not work with multicompany scen.
Note 711277 Documents found in which the searched partner is deleted
Note 375330 Performance problems BBPPU99 - Collective note
Note 501921 Search for confirmations/invoices according to PO number
Note 568781 Performance improvement of search modules (GetList)
Note 585844 Search also takes deleted partners into account
Note 460000 Incorrect selection of shopping baskets
Note 514218 - EBP 3.0-3.5: Maximum number of hits in local SC reporting
Note 511181 Unprocessed exception when sourcing cockpit is called up
Note 501048 Dump SAPSQL_STMNT_TOO_LARGE with search for purchase order</u>
Regards
- Atul
Similar Messages
-
How to maintain the entries using table maintanance??
Hi,
I have created a Ztable. and I have created table maintanance generator, then attached the table to a
Tcode. but I am unable to maintain the entries in table maintanance??
Can anyone help me out
Regards
DeviHi this will help u.
Hi,
Go to SE11 enter table name ->change
Utilities-> Table Maintenance Generator
delete the Table maintenance by pressing delete button on menu,
then start creating it again.
Enter Auth.Group as &NC&
Enter function group < some name>
Maintenance Type -> One step
Overview screen -> some Number (1 or 2)
Press create
enter dev class and save, activate.
Go to SM 30 and check again.
Reward if useful
Regards,
Hema Sundara. -
How to move the entries of table BNKAIN between systems
Hi,
Is there any way to export the entries of table BNKAIN from one SAP system (development) to another manually? This is the table which is not transported via a transport...even in development system the "transport entries" option is not active. IN SM30 the maintenance view is not created.
Can you advice how to move the entries somehow manually?
Thanks for any assistance!
br,SlawekHi, thanks for reply.
In fact I checked the table BNKA and the entries there are not helpful for me in the target system.
We are using there some user exit which is using the table BNKAIN and the following entries are there:
Client Bank Country Bank Key Internal bank
790 CA IHC6 1
790 DE IHC1 1
790 FI IHC 1
790 FR IHC3 1
790 GB IHC4 1
790 US IHC5 1
I checked the properties of that table in SE11 and it is maintainable only with restrictions..thus I need to ask some other basis expert which will help me to inlcude those entries into a transport.
Anyway thansk for your hints!
Bye -
How do we update the entry in Table HRESSAPPROVER Table?
Hello friends,
I need to understand how the table HRESSAPPROVER Table entries are modified? Do we need to follow a Tcode like PA40 to initiate an Action or do we need to update any infotype, or should we directly edit the entries in table using some Tcode?
Thanks
AvikHi,
check this thread
How to maintain HRESSAPPROVER table
Regards,
Manoj. -
Is it Necessary to lock the table while accessing the entries from table
Hi Gurus,
While optimization of the Program i came through one type of coding is in inside the Loop of The internal table which is processing BDC call transcation through updating the Custom table.
Before processing the BDC, the Custom table has been locked and read the entries from same custom table ,if the process fails then it waits for another 20 seconds and retrying the same for another time .I could not able to understand the Logic behind this.if it is not the Correct way then i can straight away remove this Part which is very well improve the perfromance of the Object.
For Your Better Understanding i have attached the Snippet of the Code .Please find the Code and advice me the same .
+LOOP AT i_stk_req INTO wa_stk_req.+
+** Lock is set to '0',meaning that no lock exist.+
++v_lock = 0. "FALSE.++
++* Preparing variable key for locking.++
++CLEAR v_key.++
++v_key = sy-mandt.++
++v_key+3(3) = wa_stk_req-lgnum.++
++v_key+6(4) = wa_stk_req-werks.++
++v_key+10(18) = wa_stk_req-matnr.++
++v_key+28(10) = wa_stk_req-charg.++
++* Try to lock the row for max of 100 times.++
++DO 10 TIMES.++
++* this perform sends sy-subrc EQ 1. in case of foreign lock.++
+PERFORM enqueue_tab IN PROGRAM saplsvix USING 'ZSDT_STK_REQ' v_key c_e c_e.+
+IF sy-subrc EQ 0. "If Enqueue is successful.+
+** set lock as TRUE+
++v_lock = 1. "TRUE++
++* selecting the latest entry for the table(Entry might have changed-refer to++
+SELECT SINGLE *+
++FROM zsdt_stk_req++
++INTO wa_stk_req++
++WHERE lgnum = wa_stk_req-lgnum++
++AND werks = wa_stk_req-werks++
++AND matnr = wa_stk_req-matnr++
++AND charg = wa_stk_req-charg.++
++IF sy-subrc NE 0. "Checking if select statement was successful++
++* Unlock the table row.++
++PERFORM enqueue_tab IN PROGRAM saplsvix USING c_table v_key c_e c_d.++
++v_lock = 0. "If unsuccessful.Then we set lock as FALSE.++
++EXIT.++
++ENDIF.++
++EXIT.++
++* If unsuccessful in locking then wait for 1 sec.++
+ELSE.+
+WAIT UP TO 20 SECONDS.+
+ENDIF.+
+** exit from DO. ENDDO.+
++ENDDO.++
++* v_lock will be FALSE if all attempts for lock was unsuccessful or++
++* if there is a problem in select single after lock.++
++IF v_lock = 0.++
++NEW-PAGE.++
++CLEAR v_display.++
++CONCATENATE text-004 text-012 wa_stk_req-matnr text-011 wa_stk_req-werks++
++text-019 wa_stk_req-lgnum text-020 wa_stk_req-charg INTO v_display SEPARATED BY space.++
++WRITE :/ v_display.++
++ENDIF.++
++* Only to process if lock is successful.++
++CHECK v_lock NE 0.++
++* If UPDATE IS FALSE that means that no updates need to be done.++
++* So we set v_update as FALSE in its initial state.++
++v_update = 0.++
++* Begin of Insert Optima App - 053++
++SELECT lgnum++
++lqnum++
++matnr++
++werks++
++charg++
++lgtyp++
++meins++
++verme++
++lgort++
++qplos++
++bestq++
++FROM lqua++
++INTO TABLE i_lqua1++
++WHERE lgnum EQ wa_lqua-lgnum++
++AND matnr EQ wa_lqua-matnr++
++AND werks EQ wa_lqua-werks++
++AND charg EQ wa_lqua-charg++
++AND bestq EQ wa_lqua-bestq++
++AND lgort EQ wa_lqua-lgort++
++AND verme GE 0.++
++* End of Insert Optima App - 053++
++* IF a requirement still exists.++
++IF wa_stk_req-verme > 0.++
++LOOP AT i_lqua INTO wa_lqua WHERE bestq = 'Q'++
++AND qplos NE 0++
++AND lgnum = wa_stk_req-lgnum++
++AND werks = wa_stk_req-werks++
++AND matnr = wa_stk_req-matnr++
++AND charg = wa_stk_req-charg.++
++CLEAR v_target.++
++CHECK wa_stk_req-lgtyp = wa_lqua-lgtyp OR wa_stk_req-lgtyp IS INITIAL.++
++* checking if still some stock needs to be transported.++
++IF wa_stk_req-verme < 0.++
++EXIT.++
++ENDIF.++
++* we need to send the entire lot if the stock belongs to quality inspection++
++IF wa_stk_req-verme >= wa_lqua-verme.++
++IF wa_stk_req-lgort IS INITIAL.++
++* fetch the Storage location value from the two custom tables.++
++PERFORM f_fetch_lgort.++
++ELSE.++
++v_lgort = wa_stk_req-lgort.++
++ENDIF.++
++* checking if v_lgort is not initial.++
++CHECK NOT v_lgort IS INITIAL.++
++* Calling QAC2++
++PERFORM f_qac2.++
++* Checking if Post Good was successful.++
+IF NOT wa_qamb-mblnr IS INITIAL.+
+REFRESH i_lqua1.+
+SELECT lgnum+
+lqnum+
+matnr+
+werks+
+charg+
+lgtyp+
+meins+
+verme+
+lgort+
+qplos+
+bestq+
+FROM lqua+
+INTO TABLE i_lqua1+
+WHERE lgnum EQ wa_lqua-lgnum+
+AND matnr EQ wa_lqua-matnr+
+AND werks EQ wa_lqua-werks+
+AND charg EQ wa_lqua-charg+
+AND bestq EQ wa_lqua-bestq+
+AND lgort EQ wa_lqua-lgort+
+AND verme GE 0.+
+SORT i_lqua1 BY lgtyp.+
+CLEAR: wa_lqua1,+
+v_position.+
+READ TABLE i_lqua1 INTO wa_lqua1 WITH KEY lgtyp = wa_lqua-lgtyp.+
+IF sy-subrc EQ 0.+
+v_position = sy-tabix.+
+ENDIF.+
+SELECT SINGLE lgnum+
+ubnum+
+FROM lubu+
+INTO wa_lubu+
+WHERE lgnum = wa_lqua-lgnum+
+AND mblnr = wa_qamb-mblnr.+
+CLEAR i_bdcdata.+
+REFRESH i_bdcdata.+
+REFRESH i_messtab.+
+CLEAR wa_bdcdata.+
+wa_bdcdata-program = 'SAPML03T' .+
+wa_bdcdata-dynpro = '0141' .+
+wa_bdcdata-dynbegin = 'X' .+
+APPEND wa_bdcdata TO i_bdcdata .+
+CLEAR wa_bdcdata .+
+wa_bdcdata-fnam = 'BDC_OKCODE' .+
+wa_bdcdata-fval = '/00' .+
+APPEND wa_bdcdata TO i_bdcdata .+
+CLEAR wa_bdcdata .+
+wa_bdcdata-fnam = 'LUBU-UBNUM'.+
+wa_bdcdata-fval = wa_lubu-ubnum.+
+APPEND wa_bdcdata TO i_bdcdata .+
+CLEAR wa_bdcdata .+
+wa_bdcdata-fnam = 'LUBU-LGNUM'.+
+wa_bdcdata-fval = wa_lqua-lgnum.+
+APPEND wa_bdcdata TO i_bdcdata .+
+CLEAR wa_bdcdata .+
+wa_bdcdata-fnam = 'RL03T-DUNKL'.+
+wa_bdcdata-fval = 'H'.+
+APPEND wa_bdcdata TO i_bdcdata .+
+CLEAR wa_bdcdata.+
+wa_bdcdata-program = 'SAPML03T' .+
+wa_bdcdata-dynpro = '0143' .+
+wa_bdcdata-dynbegin = 'X' .+
+APPEND wa_bdcdata TO i_bdcdata .+
+CONCATENATE 'RL03T-SELKZ('+
+v_position+
+')'+
+INTO v_str.+
+CLEAR wa_bdcdata .+
+wa_bdcdata-fnam = v_str.+
+wa_bdcdata-fval = 'X'.+
+APPEND wa_bdcdata TO i_bdcdata .+
+CLEAR wa_bdcdata .+
+wa_bdcdata-fnam = 'BDC_OKCODE' .+
+wa_bdcdata-fval = 'BU' .+
+APPEND wa_bdcdata TO i_bdcdata .+
+CLEAR wa_bdcdata.+
+wa_bdcdata-program = 'SAPML03T' .+
+wa_bdcdata-dynpro = '0142' .+
+wa_bdcdata-dynbegin = 'X' .+
+APPEND wa_bdcdata TO i_bdcdata .+
+CLEAR wa_bdcdata .+
+wa_bdcdata-fnam = 'BDC_OKCODE' .+
+wa_bdcdata-fval = 'BU' .+
+APPEND wa_bdcdata TO i_bdcdata .+
+*......changes as per ticket 44206+
++* CLEAR wa_bdcdata .++
++* wa_bdcdata-fnam = 'LQUAU-KZUAP(01)'.++
++* wa_bdcdata-fval = 'X'.++
++* APPEND wa_bdcdata TO i_bdcdata .++
+*......end of changes as per ticket 44206+
+CALL TRANSACTION 'LT05' USING i_bdcdata+
+OPTIONS FROM wa_ctu_params+
+MESSAGES INTO i_messtab.+
Regards,
Rajahi , please check the link below
[http://help.sap.com/saphelp_nw70/helpdata/en/41/7af4c5a79e11d1950f0000e82de14a/content.htm|http://help.sap.com/saphelp_nw70/helpdata/en/41/7af4c5a79e11d1950f0000e82de14a/content.htm] -
Table Maintance - Not able to see all the entrie of table
Hi All,
I have created a Z table where I have mentioned 3 key fields.
MANDT CLNT 3
ANSVH CHAR 2
ENDDA DATS 8
Now when I create the multiple entry using sm30 with the key field ANSVH same and different date i amnot able to see the entry in the sm30 but in table it exists.
e.g.
in table i have 2 entrries
100 A 30.03.2009
100 A 31.03.2009
but in sm 30 i am able to see only one entry
A 30.03.2009
I have generated the table Maintainnance several times but no success.
pls help.
Regards,
Umesh Chaudhari.Hi Siddharth Chordia,
Thanks for your all effort.
but ti have checked the points mentioned by you here.
1) you might have forgotten to check key field for date field,
All the three fields mentioned are key fields.
MANDT MANDT CLNT 3 0 Client KEY Initial
ANSVH ANSVH CHAR 2 0 Work Contract KEY Initial
ENDDA ENDDA DATS 8 0 End Date KEY Initial
BEGDA BEGDA DATS 8 0 Start Date
BETRG BETRG CURR 9 2 Amount
PERCT PERCT DEC 5 2 Percentage
ZPDPF ZPDPF DEC 7 3 DPF Department Production Factor
2) may be the table is inactive, if so activate the table
Table is active.
3) may be you would have made the date field as a key field after you had created the table, in this case you will have to click on utilities menu -> database utility, then click on activate and adjust database,
Even though I created all the key fields in first place it self, I tried data base utility also.
4) once you give the entries you might have forgotten to save the entries.
Entries in the table
100 A 31.03.2009 01.01.2009 5,000.00 0.12 0.123
100 A 30.06.2009 01.01.2009 5,000.00 0.12 0.230
Entries in the SM30
A 30.06.2009 01.01.2009 5,000.00 0.12 0.230
I even tried to create the new table. but the same result.
Regards,
Umesh Chaudhari -
Function module which sort the entries in Table maintance generator
hi
I want to know the function module which is used to sort the entirs in table maintance genrator.
ThanksHi,
Go to the TMG program .You can change the code there.
Rgds,
Anversha -
Who mainatined the entries in sap table
Hi,
Can someone please tell me how do I find which user mainatined the entries in table B006 or any sap table.
Also how will I know who has authorization to maintain the entries.hi
first go to SE16n and enter the table name as CDPOS and in the selection screen enter the table name as B006 and execute now you will get the following
change doc object
object value
document number
make a note of the above and now goto se16n and enter the table name as cdhdr and enter the above values which you got in CDPOS
like change doc object or object value and execute now you will get the user name who had maintained or changed the entries for that table
regards -
Problem in refreshing the data of the UI element Table
Hi Experts,
I am having a problem.
I have a screen which displays list of variants in table ( variant name , variant desc )
I am binding the entries of table in WDDOINIT method.
but when i go back to selection screen view and come back to display variants view, WDDOINIT is not triggering.
Now if i move the code written in WDDOINIT method to WDDOMODIFYVIEW method, its not retaining the lead selection as the binding happens on every server round trip. if i check with First_time = 'X'. its same as that of having it in WDDOINIT method.
How do i overcome this problem of refreshing the table data.
any clue is highly appreciated.
Regards,
Ajayhi Ajay ,
create a custom controller for this and when u want to move from selection screen view to display variant ,
call method of this custom controller
DATA lo_edit TYPE REF TO ig_edit .
lo_edit = wd_this->get_edit_ctr( ).
lo_edit->edit1(
here I am calling the edit1 method of my custom controller named EDIT.
try to move code of ur WDDOINIT here.
it shud help
rgds,
amit -
Validation: How to maintain the entry in GB02C
HI FI GURUS n EXPERTS,
My requirement is that - We want to restrict Negative posting for some GL i.e. For some GL balance should not be Zero.
When I have made the search on SDN, I found it can be done with the help of Validation: OB28 & GGB0.
Currently we are not using any validation. When we use T-Code GGB0 --> Financial Accounting --> Line Item --> New Validation
System shows a pop-up window to select Boolean Class & Message ID.
I also found that this information is maintained in Table GB02C.
When I use Se16 to see the detail of the table GB02C, I found there is only one entry Bool. Class: FP1 & Message ID 7F.
But I don't know How to maintain the entry in table GB02C & What is the T-Code for it. which message ID I have to create.
Please help.
DSCDear Alex,
When I use: GGB0 --> Financial Accounting --> Line Item --> New Validation
System shows a pop-up window to select Boolean Class & Message Class, I select the Message Class 9 and for Message Class Press F4 and select any message class. System gives an error message: Message ID must start with 'Z' Message no. GB116.
Basically, My question is that: Which T-Code we have to use to maintain Boolean Class & Message Class.
With thanks,
DSC -
How to create Infotype entry in table T777D
Hi All,
We have undergone Upgrade from 4.6C to ECC 6.0.
Now we get an error while maintaining certain data infotype 0122 does not exists.
I looked at the entries in table T777D in both the system. In older system the entry is there but not in the new system.
When i tried creating the entry in this table the error comes 'Module pool program MP012200 is not present'. This program was there in 4.6C but is not there in ECC 6.0.
How do we genrate this program or how do we create the entry for this infotype to correct the error.
Is there any customizing settings that is required?
Please advice.
Regards,
Vidya.Look at OSS [Note 546167 - Termination in PA10: Infotype 0122 does not exist|https://service.sap.com/sap/support/notes/546167]
>Symptom
>
>When you edit the master data (transaction PA10) after you upgrade Release 4.6C to Release 4.70 or higher, a termination occurs and an error message is issued informing you that infotype 0122 does not exist.
>
>Other terms
>
>No entry in table T777D
>
>Solution
>
>In the 'Infotype attributes (Customizing)' view (extended table maintenance for view V_T582A), delete the entry for infotype 0122.
>In the 'Infotypes - country-specific settings' view (extended table maintenance for view V_T582L), delete the entry for infotype 0122.
Regards -
Entries in table BWOM_SETTINGS for PARAM_NAME = 'OBJSELSIZE '
Hello All,
The entries in table BWOM_SETTINGS for PARAM_NAME = 'OBJSELSIZE ' in our ECC system were as follows originally:
OLTPSOURCE = ''
PARAM_NAME = 'OBJSELSIZE '
PARAM_VALUE = 'X'
At that point we started using delta extarctor 0PM_OM_OPA_2 and it had a very poor performance.
SAP asked us to implement note 1040072.
As a result of applying that note, the BWOM_SETTINGS table has 2 entries for PARAM_NAME = OBJSELSIZE.
1. OLTPSOURCE = ''
PARAM_NAME = 'OBJSELSIZE '
PARAM_VALUE = 'X'
2. OLTPSOURCE = '0PM_OM_OPA_2'
PARAM_NAME = 'OBJSELSIZE '
PARAM_VALUE = 'X'
Things were fine until we added more init selections to another CO extractor, 0CO_OM_OPA_6.
0CO_OM_OPA_6 deltas were taking around 2 hours for original init selections:
Fiscal year / period 2007001 2007012
Fiscal year / period 2008001 2020012
Controlling Area 3000
Recently we added more init selections and now selections are :
Fiscal year / period 2007001 2007012
Fiscal year / period 2007001 2020012
Fiscal year / period 2008001 2020012
Controlling Area 3000
Controlling Area 4000
Controlling Area 5000
The extraction is now taking unacceptably long time, about 15 hours.
I am not sure if it is because adding more inits.
I have a feeling the entries in BWOM_SETTINGS for OBJSELSIZE are incorrect.
According to note 836740 should they be as below?
OLTPSOURCE = '0CO_OM_OPA_6'
PARAM_NAME = 'OBJSELSIZE '
PARAM_VALUE = 'X'
OLTPSOURCE = '0PM_OM_OPA_2'
PARAM_NAME = 'OBJSELSIZE'
PARAM_VALUE= 'X'"
One more question. If we change the BWOM_SETTINGS entries to as above, will that affect other CO extractors?
For instance, we use 0CO_OM_CCA_9 very widely and it runs very fast currently. I just want to make sure we dont mess up its performance by modifying the entries in BWOM_SETTINGS. May be add one more entry in BWOM_SETTINGS for 0CO_OM_CCA_9 too?
Sorry about the lengthy post.
Any help is greatly appreciated.
Thank you.As stated in [OSS Note 836740 - Delta extractors CO: OBJSELSIZE DataSource specific|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=836740], there should be parameter OBJSELSIZE entries, with a value of X for the following CO DataSources:
0CO_OM_CCA_9
0CO_OM_OPA_6
0CO_OM_ABC_7
0CO_OM_WBS_6
0CO_OM_NAE_2
0CO_OM_NTW_2
0OC_OM_NWA_2
The independent entry, where the DataSource is blank, should also be prsent for the OBJSELSIZE parameter with a value of X. [OSS Note 1040072 - 0PM_OM_OPA_2: Poor performance|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1040072] shows that it's also needed for the 0PM_OM_OPA_2 DataSource.
Your entries for 0CO_OM_OPA6 and 0PM_OM_OPA_2 are correct. You should add 0CO_OM_CCA_9 and any other DataSource in the list above. If they're not listed, they are supposed to be taken care of by the independent entry (DataSource is blank). -
Adding new entry in table J_1INEXCGRP
Hi,
I am MM functional, due to some system error , for the excsie group I required to manitain the entry in table J_1INEXCGRP, as that customization part is not included in request, now I want to confirm which methode to be use
SE12->Utilities -> Table content -> create entry or with SE16N
can you please give the stpes for adding a new entry in this table it has only two fileds
MANDT
J_1IEXCGRP
regards,
zafar
Moderator Message: Spoon-feeding is not entertained here.
Edited by: kishan P on Jan 25, 2011 4:58 PMHi Alok,
Hope this steps - code will help you to resolve this issue.
1. Create A Group for your table control. In Screen Painter.
2. Write Screen modification routine for the same
it can be like this..
MODULE status_0100 OUTPUT.
SET PF-STATUS 'SCREEN_100'.
LOOP AT SCREEN.
IF screen-group1 = 'MOD'.
IF flag = ' '.
screen-input = '0'.
ELSEIF flag = 'X'.
screen-input = '1'.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDMODULE.
3. This will disable the display of the Fields in TABLE Control.
4. in the PBO loop of the table control. Identify the lines which u want to keep active.
Hope this will help
<i><b>** Reward points to helpful answer</b></i> -
Hi,
I am facing an issue with the entry in table T682. The entry corresponding to T682-RPTSX for a particular access sequence in is showing different values in development and testing systems.
I want to know how to make them both the same. I tried making the access sequence the same in both the environments but still the value for T682-RPTSX is different. Can you help me in identifying what is that i need to do in order to be able to change this value.
Thanks in advance,
NavinTry to reimport the access sequence from the development system to test system. If that does not resolve, then try run program RV12D001 for that access sequence in the test system and check again. You may take a look at OSS Note 886771 - Generation in condition maintenance.
Regards, -
Help on accessing tables in Java available in SAP system
Hi All
A day before I had posted a question regarding the accessing of tables available in SAP R/3 system in my Java code.
I got the following code as reply. This code is working fine.
But in the below example, the QUERY_TABLE IS BSAUTHORS.
In my case, the QUERY_TABLE is VBKD(Sales Document Table).
When I replace the table name with VBKD in place of BSAUTHORS, I am getting the following error:
ERROR BEGIN----
com.sap.mw.jco.JCO$AbapException: (126) DATA_BUFFER_EXCEEDED: Selected fields do not fit into structure DATA
at com.sap.mw.jco.JCO$Function.getException(JCO.java:17978)
at com.sap.mw.jco.JCO$Client.execute(JCO.java:3143)
at com.insync.JCO.UpdateSalesOrder.main(UpdateSalesOrder.java:34)
ERROR END----
Can anyone please give me a solution for this?
Thanks in Advace,
Vijay.
**********************Code**********************
import com.sap.mw.jco.*;
public class JcoTest {
private static JCO.Client theConnection;
private static IRepository theRepository;
public static void main(String[] args) {
createConnection();
retrieveRepository();
try {
JCO.Function function = getFunction("RFC_READ_TABLE");
JCO.ParameterList listParams = function.getImportParameterList();
listParams.setValue("BSAUTHORS", "QUERY_TABLE");
//listParams.setValue("VBKD", "QUERY_TABLE"); // ERROR
theConnection.execute(function);
JCO.Table tableList = function.getTableParameterList().getTable("DATA");
if (tableList.getNumRows() > 0) {
do {
for (JCO.FieldIterator fI = tableList.fields();
fI.hasMoreElements();)
JCO.Field tabField = fI.nextField();
System.out.println(tabField.getName()
+ ":t" +
tabField.getString());
System.out.println("n");
while (tableList.nextRow() == true);
catch (Exception ex) {
ex.printStackTrace();Hello,
VBKD is rearly a large table. I suggest to limit the number by filling the FIELDS Table. Also there can be many entries in VBKD and so you should limit the lines by a Where statement in OPTIONS.
I think a better way are the BAPIs:
- BAPI_SALESORDER_GETLIST
- BAPISDORDER_GETDETAILEDLIST
to get the details of an Salesorder.
Regards
Gregor
Maybe you are looking for
-
Why does it take hours to download a rented movie from iTunes.
When I rent a movie or TV show from iTunes with my AppleTV (2), the download starts and I get a message saying the download will take an an hour and 45 minutes to download. Then when the download it complete and I start to play it, I get a message s
-
External Monitor screen flicker fixed
I had a problem with my 3rd party external mornitor that kept flickering. It happened all of a sudden and was a constant flicker that was really annoying. Anyways, I discovered that when the mini-dvi connector is near my speakers(which are unshielded
-
I am trying to delete duplicate content in my iTunes library. I have stopped the download and I can see them on VIEW>Displaying Duplicates, but cannot delete them with the Delete button. Can anyone assist?
-
Purchased pse13 will not allow me to "create"
I purchase PSE13 and downloaded it as instructed. I tried to use the create feature of PSE13 but I get this message.
-
I am trying to connect a PC and Macbook Pro to the internet using the airport express. I have a cable broadband ISP. The PC was "wired" (basic modem/ethernet direct to PC). Everything worked fine. Installed the airport, followed set-up. The Mac recog