Table for the program code
Hi Freinds,
is there any table to store the program code , i mean whatever we write in SE 38 will it be stores any data base tables? we have one option to get the code that is READ REPORT INTO ITAB. other than this is there any database tables for this?
Regards,
Tirumal.
Hi Reddy,
Table: REPOSRC there is only programm name but not code by using program name you can get code into your report by using Read Report syntax.
Example,
parameters: p_pname type reposrc-PROGNAME.
data: Begin of table occurs 10,
line(150),
end of table.
read report p_pname into table.
loop at table.
write / table.
endloop.
Plzzzzzz Reward if useful,
Mahi.
Similar Messages
-
Table for the program name description
hi,
i want to know the table which stores the description of the table.
i having the TADIR(Directory of R/3 Repository Objects) which stores the data about a program but i want to have the description of the program also.
plzz provide me guidelines for getting the description of the program.Hi Ricx.s,
Dont ask these type of simple questions, you might have got the answer if you have done a search.
So do have a Habit of searching before posting a question.
Anyhow a Must to have book for Technical Consultants;
[SAP Tables for Technical Consultants|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e944e133-0b01-0010-caa2-be2cb240f657]
Download the above PDF and check it, it has all important technical and functional module tables.
Regards
Karthik D -
Performance for the below code
Can any one help me in improving the performance for the below code.
FORM RETRIEVE_DATA .
CLEAR WA_TERRINFO.
CLEAR WA_KNA1.
CLEAR WA_ADRC.
CLEAR SORT2.
*To retrieve the territory information from ZPSDSALREP
SELECT ZZTERRMG
ZZSALESREP
NAME1
ZREP_PROFILE
ZTEAM
INTO TABLE GT_TERRINFO
FROM ZPSDSALREP.
*Preparing Corporate ID from KNA1 & ADRC and storing it in SORT2 field
LOOP AT GT_TERRINFO INTO WA_TERRINFO.
SELECT SINGLE * FROM KNA1 INTO WA_KNA1
WHERE KUNNR = WA_TERRINFO-SALESREP.
SELECT SINGLE * FROM ADRC INTO WA_ADRC
WHERE ADDRNUMBER = WA_KNA1-ADRNR.
IF NOT WA_ADRC-SORT2 IS INITIAL.
CONCATENATE 'U' WA_ADRC-SORT2 INTO SORT2.
MOVE SORT2 TO WA_TERRINFO-SORT2.
MODIFY GT_TERRINFO1 FROM WA_TERRINFO.
APPEND WA_TERRINFO TO GT_TERRINFO1.
CLEAR WA_TERRINFO.
ENDIF.
CLEAR WA_KNA1.
CLEAR WA_ADRC.
ENDLOOP.
ENDFORM. " RETRIEVE_DATAHi
The code is easy so I don't think you can do nothing, only u can try to limit the reading of KNA1:
FORM RETRIEVE_DATA .
CLEAR WA_TERRINFO.
CLEAR WA_KNA1.
CLEAR WA_ADRC.
CLEAR SORT2.
*To retrieve the territory information from ZPSDSALREP
SELECT ZZTERRMG
ZZSALESREP
NAME1
ZREP_PROFILE
ZTEAM
INTO TABLE GT_TERRINFO
FROM ZPSDSALREP.
SORT GT_TERRINFO BY SALESREP.
*Preparing Corporate ID from KNA1 & ADRC and storing it in SORT2 field
LOOP AT GT_TERRINFO INTO WA_TERRINFO.
IF KNA1-KUNNR <> WA_KNA1-KUNNR.
SELECT SINGLE * FROM KNA1 INTO WA_KNA1
WHERE KUNNR = WA_TERRINFO-SALESREP.
IF SY-SUBRC <> 0.
CLEAR: WA_KNA1, WA_ADRC.
ELSE.
SELECT SINGLE * FROM ADRC INTO WA_ADRC
WHERE ADDRNUMBER = WA_KNA1-ADRNR.
IF SY-SUBRC <> 0. WA_ADRC. ENDIF.
ENDIF.
ENDIF.
IF NOT WA_ADRC-SORT2 IS INITIAL.
CONCATENATE 'U' WA_ADRC-SORT2 INTO SORT2.
MOVE SORT2 TO WA_TERRINFO-SORT2.
* MODIFY GT_TERRINFO1 FROM WA_TERRINFO.
APPEND WA_TERRINFO TO GT_TERRINFO1.
CLEAR WA_TERRINFO.
ENDIF.
ENDLOOP.
ENDFORM. " RETRIEVE_DATA
If program takes many times to upload the data from ZPSDSALREP, you can try to split in sevaral packages:
SELECT ZZTERRMG ZZSALESREP NAME1 ZREP_PROFILE ZTEAM
INTO TABLE GT_TERRINFO PACKAGE SIZE <...>
FROM ZPSDSALREP.
SORT GT_TERRINFO BY SALESREP.
*Preparing Corporate ID from KNA1 & ADRC and storing it in SORT2 field
LOOP AT GT_TERRINFO INTO WA_TERRINFO.
IF KNA1-KUNNR <> WA_KNA1-KUNNR.
SELECT SINGLE * FROM KNA1 INTO WA_KNA1
WHERE KUNNR = WA_TERRINFO-SALESREP.
IF SY-SUBRC <> 0.
CLEAR: WA_KNA1, WA_ADRC.
ELSE.
SELECT SINGLE * FROM ADRC INTO WA_ADRC
WHERE ADDRNUMBER = WA_KNA1-ADRNR.
IF SY-SUBRC <> 0. WA_ADRC. ENDIF.
ENDIF.
ENDIF.
IF NOT WA_ADRC-SORT2 IS INITIAL.
CONCATENATE 'U' WA_ADRC-SORT2 INTO SORT2.
MOVE SORT2 TO WA_TERRINFO-SORT2.
* MODIFY GT_TERRINFO1 FROM WA_TERRINFO.
APPEND WA_TERRINFO TO GT_TERRINFO1.
CLEAR WA_TERRINFO.
ENDIF.
ENDLOOP.
ENDSELECT.
Max -
Problem when filling Node and Item tables for the metho add_nodes_and_items
Hi Experts,
I am facing problem when filling Node and Item internal tables for the method add_nodes_and_items.
as i have written the below logic:
LOOP AT gt_partner INTO wa_partner.
CLEAR lvs_tc_root.
l_key = l_key + 1.
lvs_tc_root-node_key = l_key. "wa_partner-sndprn.
* lvs_tc_root-relatkey = lvf_tc_node_key.
* lvs_tc_root-relatship = cl_gui_column_tree=>relat_last_child.
lvs_tc_root-last_hitem = wa_partner-sndprn.
lvs_tc_root-hidden = ' '.
lvs_tc_root-disabled = ' '.
lvs_tc_root-isfolder = 'X'.
lvs_tc_root-n_image = icon_folder.
lvs_tc_root-exp_image = icon_folder.
lvs_tc_root-expander = 'X'.
APPEND lvs_tc_root TO gvt_tc_node_table.
CLEAR lvs_tc_root.
lvs_tc_root-node_key = 'A'. "Successfull
lvs_tc_root-relatkey = l_key.
lvs_tc_root-relatship = cl_gui_column_tree=>relat_last_child.
lvs_tc_root-last_hitem = wa_partner-sndprn.
lvs_tc_root-hidden = ' '.
lvs_tc_root-disabled = ' '.
lvs_tc_root-n_image = icon_green_light.
APPEND lvs_tc_root TO gvt_tc_node_table.
CLEAR lvs_tc_root.
lvs_tc_root-node_key = 'B'. "Errors
lvs_tc_root-relatkey = l_key .
lvs_tc_root-last_hitem = wa_partner-sndprn.
lvs_tc_root-hidden = ' '.
lvs_tc_root-disabled = ' '.
lvs_tc_root-n_image = icon_red_light.
APPEND lvs_tc_root TO gvt_tc_node_table.
CLEAR lvs_tc_root.
lvs_tc_root-node_key = 'C'. "Deleted
lvs_tc_root-relatkey = l_key .
lvs_tc_root-last_hitem = wa_partner-sndprn.
lvs_tc_root-hidden = ' '.
lvs_tc_root-disabled = ' '.
lvs_tc_root-n_image = icon_yellow_light.
APPEND lvs_tc_root TO gvt_tc_node_table.
* LOOP AT gt_partner_item INTO wa_partner_item WHERE sndprn = wa_partner-sndprn
LOOP AT gt_partner INTO wa_partner_item WHERE sndprn = wa_partner-sndprn.
CLEAR lvs_item.
lvs_item-node_key = l_key.
lvs_item-item_name = 'Column1'.
lvs_item-text = wa_partner-sndprn.
lvs_item-class = cl_gui_column_tree=>item_class_text.
APPEND lvs_item TO gvt_tc_item_table. CLEAR lvs_item.
lvs_item-node_key = 'A'.
lvs_item-item_name = 'Column1'.
lvs_item-text = 'Successful'.
lvs_item-class = cl_gui_column_tree=>item_class_text.
APPEND lvs_item TO gvt_tc_item_table. CLEAR lvs_item.
lvs_item-node_key = 'B'.
lvs_item-item_name = 'Column1'.
lvs_item-text = 'Errors'.
lvs_item-class = cl_gui_column_tree=>item_class_text.
APPEND lvs_item TO gvt_tc_item_table. CLEAR lvs_item.
lvs_item-node_key = 'C'.
lvs_item-item_name = 'Column1'.
lvs_item-text = 'Deleted'.
lvs_item-class = cl_gui_column_tree=>item_class_text.
APPEND lvs_item TO gvt_tc_item_table. CLEAR lvs_item.
ENDLOOP.
ENDLOOP.
CALL METHOD go_tree->add_nodes_and_items
EXPORTING
node_table = gvt_tc_node_table
item_table = gvt_tc_item_table
item_table_structure_name = 'MTREEITM'
EXCEPTIONS
failed = 1
cntl_system_error = 3
error_in_tables = 4
dp_error = 5
table_structure_name_not_found = 6.
If the internal table has more than 1 record getting dump...Runtime Errors MESSAGE_TYPE_X
Plase let me know how to overcome the problem..
Thanks,
Rajasekhar
Edited by: RajasekharReddy Nevali on Nov 29, 2010 3:43 PM
Edited by: Neil Gardiner on Nov 30, 2010 12:41 PMHi ,
U can undestand the code and one more thing dynamically display record for automcally here i am using root nodes please look at that one Same requiremtn i done previously.
cLEAR item.
item-node_key = c_nodekey-root. "partner1
item-item_name = c_column-column1.
item-class = cl_gui_column_tree=>item_class_text.
item-alignment = cl_gui_column_tree=>align_at_top.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = 'APPLICATION'.
item-length = 30.
APPEND item TO item_table.
DATA:lv_name TYPE tv_itmname VALUE '1',
lv_nkey TYPE i,
lv_nkey2 TYPE i,
lv_nkey_c TYPE string,
lv_nkey_c2 TYPE string,
lv_nkey_c3 TYPE string,
lv_nkey_c4 TYPE string,
LV_NKEY_C5 TYPE STRING,
lv_itmkey TYPE i,
lv_itmkey_c TYPE string,
LV_INDEX TYPE I.
************************************************LOOP FOR APPLICATION*********
LOOP AT i_otypes INTO wa_otypes.
read table it_appl into wa_appl with key appl = wa_otypes-applic." BINARY SEARCH.
if sy-subrc = 0.
lv_apdes = wa_appl-text1.
endif.
CLEAR:item,lv_nkey_c.
lv_nkey_c = sy-tabix.
LV_INDEX = SY-TABIX.
CONDENSE lv_nkey_c.
CONCATENATE 'N' lv_nkey_c INTO lv_nkey_c.
node-node_key = lv_nkey_c.
node-relatkey = c_nodekey-root.
node-relatship = cl_gui_list_tree=>relat_last_child.
node-isfolder = 'X'.
APPEND node TO node_table.
CLEAR item.
item-node_key = lv_nkey_c.
item-item_name = c_column-column1.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = wa_otypes-APPLIC.
item-length = 30.
APPEND item TO item_table.
CLEAR item.
item-node_key = lv_nkey_c.
item-item_name = c_column-column2.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = lv_apdes.
item-length = 30.
APPEND item TO item_table.
v_acount = v_acount + 1.
v_acount1 = v_acount1 + 1.
clear lv_apdes.
*****************************************LOOP FOR ARCHIV OBJECTS***************************
loop at it_obj into wa_obj where applic = wa_otypes-applic.
CLEAR:item,lv_nkey_c2.
lv_nkey_c2 = SY-TABIX.
CONDENSE lv_nkey_c2.
CONCATENATE 'SN' lv_nkey_c2 INTO lv_nkey_c2.
node-node_key = lv_nkey_c2.
node-relatkey = lv_nkey_c.
node-relatship = cl_gui_list_tree=>relat_last_child.
node-isfolder = 'X'.
APPEND node TO node_table.
CLEAR item.
item-node_key = lv_nkey_c2.
item-item_name = c_column-column1.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = wa_obj-object.
item-length = 30.
APPEND item TO item_table.
CLEAR item.
item-node_key = lv_nkey_c2.
item-item_name = c_column-column2.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = wa_obj-objtext.
item-length = 30.
APPEND item TO item_table.
****count all object for final displaying*******
v_ocount1 = v_ocount1 + 1.
LV_STR = LV_STR + 1.
ENDLOOP.
*********************LOOP FOR ARCH OBJECT ALL PROGRAMS*******************************************
LOOP AT IT_PRG INTO WA_PRG WHERE OBJECT = WA_OBJ-OBJECT.
****************1PRG**********************
IF wa_PRG-REORGA_PRG IS NOT INITIAL.
read table it_trdirt into wa_trdirt with key name = wa_prg-reorga_prg BINARY SEARCH.
if sy-subrc = 0.
lv_text = wa_trdirt-text.
endif.
CLEAR:item,lv_nkey_c3.
data : v_no type sy-tabix.
v_no = v_no + 1.
lv_nkey_c3 = v_no.
CONDENSE lv_nkey_c3.
CONCATENATE 'SSN' lv_nkey_c3 INTO lv_nkey_c3.
node-node_key = lv_nkey_c3.
node-relatkey = lv_nkey_c2.
node-relatship = cl_gui_list_tree=>relat_last_child.
node-isfolder = 'X'.
NODE-N_image =' '.
APPEND node TO node_table.
CLEAR NODE.
CLEAR item.
item-node_key = lv_nkey_c3.
item-item_name = c_column-column1.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = 'WRIT'."wa_PRG-REORGA_PRG.
item-length = 30.
APPEND item TO item_table.
CLEAR item.
item-node_key = lv_nkey_c3.
item-item_name = c_column-column2.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = 'WRITE PROGRAM'."lv_text."'WRITE PROGRAM'.
item-length = 30.
APPEND item TO item_table.
clear lv_text.
************************SSSN NODE***********************
CLEAR:item,lv_nkey_c4.
data : v_no1 type sy-tabix.
v_no1 = v_no1 + 1.
lv_nkey_c4 = v_no1.
CONDENSE lv_nkey_c4.
CONCATENATE 'SSSN' lv_nkey_c4 INTO lv_nkey_c4.
node-node_key = lv_nkey_c4.
node-relatkey = lv_nkey_c3.
node-relatship = cl_gui_list_tree=>relat_last_child.
node-isfolder = 'X'.
NODE-N_image =' '.
APPEND node TO node_table.
CLEAR NODE.
CLEAR item.
item-node_key = lv_nkey_c4.
item-item_name = c_column-column1.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = wa_PRG-REORGA_PRG.
item-length = 30.
APPEND item TO item_table.
CLEAR item.
item-node_key = lv_nkey_c4.
item-item_name = c_column-column2.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = lv_text."'WRITE PROGRAM'.
item-length = 30.
APPEND item TO item_table.
clear lv_text.
*******COUNT TYPE WRITE PROGRAMS****************
V_WCOUNT = V_WCOUNT + 1.
CLEAR item.
V_WCOUNT = V_WCOUNT.
item-node_key = lv_nkey_c3.
item-item_name = c_column-column3.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = V_WCOUNT."lv_text."'WRITE PROGRAM'.
item-length = 30.
APPEND item TO item_table.
CLEAR V_WCOUNT.
ENDIF.
*endif.
*****************2PRG*****************
IF wa_PRG-RETRIE_PRG IS NOT INITIAL.
read table it_trdirt into wa_trdirt with key name = wa_prg-retrie_prg.
if sy-subrc = 0.
lv_text = wa_trdirt-text.
endif.
CLEAR:item, NODE, lv_nkey_c3.
v_no = v_no + 1.
lv_nkey_c3 = v_no.
CONDENSE lv_nkey_c3.
CONCATENATE 'SSN' lv_nkey_c3 INTO lv_nkey_c3.
node-node_key = lv_nkey_c3.
node-relatkey = lv_nkey_c2.
node-relatship = cl_gui_list_tree=>relat_last_child.
node-isfolder = 'X'.
APPEND node TO node_table.
CLEAR item.
item-node_key = lv_nkey_c3.
item-item_name = c_column-column1.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = 'successful'."wa_PRG-RETRIE_PRG.
item-length = 30.
APPEND item TO item_table.
CLEAR item.
item-node_key = lv_nkey_c3.
item-item_name = c_column-column2.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = 'sucessful PROGRAM'.
item-length = 60.
APPEND item TO item_table.
*********************************SSSN NODE*******************************
CLEAR:item,lv_nkey_c4,node.
data : v_no1 type sy-tabix.
v_no1 = v_no1 + 1.
lv_nkey_c4 = v_no1.
CONDENSE lv_nkey_c4.
CONCATENATE 'SSSN' lv_nkey_c4 INTO lv_nkey_c4.
node-node_key = lv_nkey_c4.
node-relatkey = lv_nkey_c3.
node-relatship = cl_gui_list_tree=>relat_last_child.
node-isfolder = 'X'.
NODE-N_image =' '.
APPEND node TO node_table.
CLEAR NODE.
CLEAR item.
item-node_key = lv_nkey_c4.
item-item_name = c_column-column1.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = wa_PRG-RETRIE_PRG.
item-length = 30.
APPEND item TO item_table.
CLEAR item.
item-node_key = lv_nkey_c4.
item-item_name = c_column-column2.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = lv_text."'WRITE PROGRAM'.
item-length = 30.
APPEND item TO item_table.
clear lv_text.
**********COUNT THE RELOADPR*******************
V_WCOUNT = V_WCOUNT + 1.
CLEAR item.
V_WCOUNT = V_WCOUNT.
item-node_key = lv_nkey_c3.
item-item_name = c_column-column3.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = V_WCOUNT."lv_text."'WRITE PROGRAM'.
item-length = 30.
APPEND item TO item_table.
CLEAR V_WCOUNT.
ENDIF.
ENDIF.
****************3PRG**********************
IF wa_PRG-DELETE_PRG IS NOT INITIAL.
read table it_trdirt into wa_trdirt with key name = wa_prg-delete_prg.
if sy-subrc = 0.
lv_text = wa_trdirt-text.
endif.
CLEAR:item, NODE, lv_nkey_c3.
v_no = v_no + 1.
lv_nkey_c3 = v_no.
CONDENSE lv_nkey_c3.
CONCATENATE 'SSN' lv_nkey_c3 INTO lv_nkey_c3.
node-node_key = lv_nkey_c3.
node-relatkey = lv_nkey_c2.
node-relatship = cl_gui_list_tree=>relat_last_child.
node-isfolder = 'X'.
APPEND node TO node_table.
CLEAR item.
item-node_key = lv_nkey_c3.
item-item_name = c_column-column1.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = 'DELETE'."wa_PRG-DELETE_PRG.
item-length = 30.
APPEND item TO item_table.
CLEAR item.
item-node_key = lv_nkey_c3.
item-item_name = c_column-column2.
item-class = cl_gui_column_tree=>item_class_text.
item-font = cl_gui_column_tree=>item_font_prop.
item-text = 'NAME OF DELETE PROGRAM'.
item-length = 60.
APPEND item TO item_table.
CLEAR:item,lv_nkey_c4,node.
data : v_no1 type sy-tabix.
v_no1 = v_no1 + 1.
lv_nkey_c4 = v_no1.
endloop. -
GTS table linking the commodity code/tariff num to the declaration
Does anyone know the GTS table linking the commodity code / tariff number field (ccnst or ccncu) to the customs declaration item. I have search through the tables with entries of doman ccngn looking for a GUID reference but cannot find a link to CUIT.
We want to write out the text description in an IDOC IWTX but cannot find the link.
Thanks
ChrisYes, it helped us understand the EDI process better. However, we went a different route. Somehow the module to write out IWTX in the transit document started working.
So we decided to populate the text field. When we call the programs to create a transit declaration from a customs declaration we perform the following steps.
We are using a hardcode number scheme "CAPNL"
1. We read the reference customs document number from the call stack.
2. We used the customs document to get the CUHD
3. We loop through all the items on CUIT getting the product (PR)
4. Then we go to PRCTS with PR plus hardcoded number scheme
5. Then finaly we go to CTSNUM to get the commodity code
Chris -
Problem while filling the Setup Table for the DS 2LIS_02_SCL.
Hi All,
When I am trying to fill the Setup table for the DataSource 2LIS_02_SCL and only for one specific Purchase Order, it is showing me a message like
u201CDataSource 2LIS_02_ITM contains data still to be transferredu201D
I have deleted the Setup Table and I want to delete the entries from SM13, but I do not have Authorization.
Also, here I am trying to fill the Setup Table for 2LIS_02_SCL and not for 2LIS_02_ITM, but the message displayed above is showing as 2LIS_02_ITM DataSource. I think the Setup Table will be same for both the DataSources.
Waiting for your valuable inputs.
Thanks in Advance.Hi,
When you want to fill the setup tables first you need to delete setup tables to avoid the duplicate entires in setup tables ( you can delete the setup tables by using t.code LBWG with application no is 02)
In your case, the data souce is 2LIS_02_SCL for purchasing.
when you want to delete the setup tables by using t.code LBWG with 02 application no it will delete all the purchasing related data from all the data sources like
2LIS_02_SCL
2LIS_02_ITM
Before the deletion of setup tables you need to clear the delta Queues and stop the V3 jobs, which loads the data to Delta Queues (RSA7) and Update tables(LBWQ).
you need to run the V3 jobs manually by using LBWE > Job control > and schedule the jobs until the delta queues will get 0 records. that means no data will be available in RSA7 and LBWQ
go to SM37 to see the jobs LIS-BW-VB_APPLICATION_02,
once the delta queues gets 0 records by running V3 Jobs manullay.
Then remove the released state jobs > remove from schedule means delete the jobs in LBWE > Go to job control > you can delete the released jobs.
Becuase No postings to be done in application tables, while running setuptable filling you should take some down time to fill the setup tables.( OLI*BW) *=Application number.
Once you clear the Queues and delete the v3 jobs, then you need to fill the setup tables after deletion of setup tables.
once you fill the setup tables , by running intialization to BW side the delta Queue is formed for the data source in R3 side
Now the postings can be done in R3 side, so you need schedule back the V3 jobs, which you already delted from LBWE to load the data from application tables to RSA7 or LBWQ.
I hope this may help yoou.
Regards.
Rambabu
Edited by: Rambabu velanati on Jun 9, 2010 4:41 PM
Edited by: Rambabu velanati on Jun 9, 2010 4:52 PM -
Authorization group - to restrict other users to not see the program code
Hi,
I have developed report program. Is it possible to restrict the other users to don't see the program code.
Thanks in advance.
Regards,
EswarEswar:
SAP does not allow you to restrict access to your report programs. Anybody with the right autorizations can see your programs.
There are some tricks to achieve someting like that. Tricks consists basically in write your code without enter between lines. I think there are no effective way in SAP or ABAP to protect programs source code from curious eyes.
Ex.:
REPORT ztest. TABLES: ztable. DATA: g_var1...
Regards.
Rafael Rojas. -
Master table for the field BSART
hi friends
pls tell me, which is the master table for the field BSART.
because i want to get the search help fo that field....Hi babu,
If u want know what the table and where the fields are resued go to T-code SE15. u can find ...
Regards,
Bharani. -
Reg : Enhacement for the transaction code MD04
Hi experts,
I have implemented an user exit for the transaction code MD04 where in the stock/requirement list I am supposed to add a new column for the exception number which displays the exception description for the corresponding exception number.
The coding part for fetching the exception description for the corresponding exception number is done in the include 'ZXM61U03'.
The problem is in the importing parameter IMDEZEXIT in which all the screen data will be present basing on which the data fetching is done .The AUSKT(Exception number) value is not getting populated . All the other data in the row is getting populated.
Please suggest e a solution for this.
Regards,
Ramkishore.Hi
Hope it will help you.
reward if help.
Please use FM MD_STOCK_REQUIREMENTS_LIST_API to get all information for transaction MD04/MD05.
You might also want to check out the function module API.
MD_MRP_LIST_API
and also
check this link for extracting data from MRP tables:
http://www.sap-img.com/pp001.htm -
Validate/madatory in order to avoid long time for the program execution.
Below is my selction screen. I would like to do validations for specific fields to make them mandatory fields as well.
Could you please suggeste me what are the fields that I can validate/madatory in order to avoid long time for the program run.
*Program selections
SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-h01.
SELECT-OPTIONS : o_as4loc FOR v_as4local,
o_ddlang FOR ddlanguage,
o_vkorg FOR vkorg MEMORY ID vko,
o_auart FOR auart MEMORY ID aat,
o_fdnam FOR fdnam,
o_spart FOR spart MEMORY ID spa,
o_vbeln FOR vbeln MEMORY ID aun,
o_posnr FOR posnr,
o_matnr FOR matnr MEMORY ID mat,
o_pltyp FOR pltyp MEMORY ID vpl,
o_j_3ar FOR j_3arqda,
o_kzr00 FOR kbetr, " -ZR00
o_kalsm FOR kalsmasd,
o_kmwst FOR kbetr, " -MWST
o_kbmen FOR kbmeng,
o_land1 FOR land1 MEMORY ID LND
SELECTION-SCREEN : END OF BLOCK b1.
Thanks in advance.Hi,
Make key fields as well as fields on which there in an index in the database table mandatory.
Regards,
Abhijit G. Borkar -
Filling of set up tables for several company codes
hi
i am filling a set up table for the application specific inventory control statistical data. But while setting up data filling selection parameters contains selection parameters for the single Company code.
But in my scenarios there are several company codes whose data resides in the R/3 and i need to bring data for all company codes in the set up table.
so now filling up the data in set up table, shall i have to fill up data for individual company code, OR i have to fill data for one company only and on delta load data pertainig to other company codes will be populated to the set up tables.
kindly give ur expert advice in this situation.Hello,
i dont understand why should it be mandatory to fill the company code on r/3 side while initialisation!!
But even if it is mandatory, u have to do one by one init runs on R/3 side for all company codes that you need.
Check in rsa3 for records after the init runs.
If it was not mandatory, u could have run the setup(init) run on r/3 side for all company codes at a time by keeping the field blank!!
Also again in the BW side you can have company code for selection in the infopakage!! there u can also have it as a range rather than running for one at a time.
Hope it is helpful now..
regards, -
What to know the master table for the following fields
I want to know the master table for the following fields.
Company code ( BUKRS )
Chart of depreciation ( AFAPL)
Main Asset Number (ANLN1)
Asset Sub Number ( ANLN2 )
Asset Class ( ANLKL )hi,
1) t001 (<b>for assets T093C</b>)
2) t096
3 and 4) anla
5) anka
rgds Andreas
Message was edited by:
Andreas Mann -
URGENT HELP ME OUT !!! NO FILED DEFINED FOR THE FUNCTION CODE
hello friends,
I am working with module programming t-se80,
i have made a simple screen with some filed on it.Along with this i have made gui staus with 2 icons create and display and i have assiged text to them also , also they appear in screen when i run the t-code.
problem is that when i click on any of icon i am unable to debug my code and system prompts an information message
"NO FILED DEFINED FOR THE FUNCTION CODE ".
In the screen elements with elemnt ok if have assigned ok_code in the screen and also a data statement in the code.
Still i m unable to monitor the debuger.
when ever i run the t-code and on the debuger and when i click on the create icon nothing happens?/
kindly help me urgently
with thanks
samHi,
It seems you have not assigned Function codes to your buttons in GUI. Assign them d relevant fct codes in Screen Painter (if u've created 2 push buttons) or menu painter.
Hope this wil soleve your problem.
Reward points if helpful.
Thnx
Pradipta K Mishra -
Need to know the base tables for the QM datasources
Hello SAP Experts,
I want to know the base tables for the below mentioned datasources which stores the transaction data.
1. 2LIS_05_QE1: Inspection Characterstics Results
2. 2LIS_05_QE2: Inspection Characterstics Results (Quan)
3. 2LIS_05_QVUDN: Usage decision for Inspection
Need your inputs.
Thanks,
Lasya.
Edited by: lasya john on Dec 10, 2008 8:28 PMHi Lasya,
You can use help.sap.com for this.
If you do not find this data source there...then
You can go to LBWE t-code in R/3 and then infront of the data source...you have maintenance option.
Click on that ...and go inside it in the display mode.
Here you can see a generic pool of fields on the left side which can be included in the data source........ field present in the data sources in the right side of the pool.
For every field you have a tructure name infront of it like MCXXXX where XXXX is the table name.
So the field is being from that particular table.
Even I would the same thing to reply to your thread.
You can follow the same procedure to find the table for any LO data source.
This is accurate in 99% cases...only in very few cases like purchasing...we get one or two fields from different tables.
Hope it helps.
Thanks
Ajeet -
How to reset data for the company code 1000
Hi Gurus,
I am practicing SAP SD on a sandbox server as am learning it.
But i see that the standard data for the company code 1000 has been altered by previous users and most of the standard setttings have been changed.
Due to this am having a lot of issues while configuring a new company code by copying it from 1000.
Please help me reseting the data for the company code 1000 so that it will be easier for customizing and learning.
Regards,
HarishHi Harish,
Follow the step given below
SPRO --> Enterprise Structure --> Definition --> Financial Accounting --> Edit, Copy, Delete, Check Company Code
A pop screen will appear which will give you two options
1) Copy, delete, check company code
2) Edit Company Code Data
Select option one
On next screen --> Click at " Check org. object" or press F8 --> It will ask your company code --> enter your company code 1000 --> Enter
It will check all the related table and if it find any discrepency
then it will show you one pop up screen
Errors in
foreign key dependencies
Do you want the error log
displayed now?
Click at Display now --> correct all the fields which are wrongly maintained.
Hope this helps
Regards,
MT
Maybe you are looking for
-
Change SOAP Address Location in the WSDL
When deploying a BPEL service the SOAP Address location is automatically generated to have the http://{SERVER}:{PORT} of the SOA server where you are deploying the service but i need to have a different address location. I basically needs this becaus
-
External HD will not Mount on desktop
I have a MBP and I have been working with an external Lacie HD and then yesterday when I go to hook it up it won't mount on my desktop. I checked my firewire connection in the system profiler and it is reading the drive. I just cannot see the icon on
-
hi experts. i got a problem in fcc to db scenario. everything is working. in the runtime workbench also no error regarding adapter monitoring. still it could not pick up the file from input directory. why this is happened and where it went wrong.
-
Single business group Vs. multiple business groups
Hi, I have a case where the user wants to implement Oracle HRMS (Core HR, Payroll, Self Service) in 4 countries. All countries have common procedures but there is some procedures like end of service, Taxation differ from country to another. There is
-
Hi Experts, How to assign ABAP programs and customized transactions to authorization groups. R3 4.71, oracle 9.2.0.7, Sun Solaris. Can some one help me... Thanks in advance. . .