No Entry in Table T030 Argument 1200 130 Fld: KONTS
Hello All,
while using Travel management on approving the trip I am getting the error
"No Entry in Table T030 Argument 1200 130 Fld: KONTS" I dont know whats going on with it and how can i get rid of this error.
Your help and advice would be highly appraciated.
Regards
Hi,
Can you let me know which activity for Symbolic Accounts in the IMG you are referring to? I'm getting a similar error but don't see where the link is. I can see the activities to define symbolic accounts for payroll. How do the entries in T030 tie back to Travel Mgt?
Thanks for your help!
Similar Messages
-
No entry in table T030 for argument Fld: KONTS
Hi experts,
I'm getting this error message "No entry in table T030 for argument Fld: KONTS" when I try to save travel request from travel manager (TRIP).
do you know how to solve it?
because, I did googling on tabel T030 and it is table for warehouse management not travel.
T030 = WM Storage Bin Types tables
how to solve this?
thanks.Hi ,
This looks like a config issue. Make the config changes in the table T030 via the below path.
SPRO --> Financial Accounting --> Travel Management --> Travel Expenses --> Transfer to Accounting --> Conversion of Symbolic account to Expense Account.
Check the below threads for more info.
No entry in table T030 for arguement HRT 1X2 and 1X3
Hope this helps..
Regards,
Praisty -
No entry in table T549Q for argument 04 at time 10-03-2011
This is an error I received while trying to create a trip:
No entry in table T549Q for argument 04 at time 10-03-2011
What are the necessary steps for fixing this issue, I am new to travel management. Thanks for your help!Hi,
Periods parameters need to be define in that particular month and year..
You can define it in V_T549Q for 04(bi-weekly)
Regards,
Muhammad Umer -
"The entry is missing in table T030"
Hi,
I'm trying to close a period but, after all the selections made, when I execute I get this message: "The entry is missing in table T030". I mention that I'm trying to do this in localization for Romania. Maybe somebody could tell me what this message means and what should I do?!
Thanks, AndreeaHi Andrea
It looks like there is some account determination that is missing. Please recheck using TCode OBYC(relating to MM). Also please provide detailed information as to what transaction was exceuted when you got the error message.
However do check your automatic posting procedures in OBYC.
Regards,
Karthik
Message was edited by:
Karthik Coneru -
Error: No entry exists in table TA20B argument (Create Expense Report page)
Hello,
I'm using SAP EP7 and configuring Travel&Expenses (ESS). When trying to display Create Expense Report page, I get the following errror: No entry exists in table TA20B argument and before this error: TA20C argument 01.
Please, could you help me so as to show the correct content?
ThanksHi,
it looks like there is missing record in the table AGR_FLAGS. But I do not know why it's not there. You can try to find some relevant OSS note. There are couple of notes related to the table AGR_FLAGS. Check this one 770358. It looks like it describes your problem. Btw this question is more suitable for Security forum and you will have higher chance of getting answer there.
Cheers -
How to insert multiple entries in table control
Hi All,
I want to insert multiple entries in table control in BDC program.Can any body help in this regard.
Thanks,
Satish.Hi,
Go through the following 2 example programs:
THis is example to upload the Bank details of the Vendor which has the TC.
REPORT zprataptable2
NO STANDARD PAGE HEADING LINE-SIZE 255.
DATA : BEGIN OF itab OCCURS 0,
i1 TYPE i,
lifnr LIKE rf02k-lifnr,
bukrs LIKE rf02k-bukrs,
ekorg LIKE rf02k-ekorg,
ktokk LIKE rf02k-ktokk,
anred LIKE lfa1-anred,
name1 LIKE lfa1-name1,
sortl LIKE lfa1-sortl,
land1 LIKE lfa1-land1,
akont LIKE lfb1-akont,
fdgrv LIKE lfb1-fdgrv,
waers LIKE lfm1-waers,
END OF itab.
DATA : BEGIN OF jtab OCCURS 0,
j1 TYPE i,
banks LIKE lfbk-banks,
bankl LIKE lfbk-bankl,
bankn LIKE lfbk-bankn,
END OF jtab.
DATA : cnt(4) TYPE n.
DATA : fdt(20) TYPE c.
DATA : c TYPE i.
INCLUDE bdcrecx1.
START-OF-SELECTION.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
filename = 'C:\first1.txt'
filetype = 'DAT'
TABLES
data_tab = itab.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
filename = 'C:\second.txt'
filetype = 'DAT'
TABLES
data_tab = jtab.
LOOP AT itab.
PERFORM bdc_dynpro USING 'SAPMF02K' '0100'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RF02K-KTOKK'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'RF02K-LIFNR'
itab-lifnr.
PERFORM bdc_field USING 'RF02K-BUKRS'
itab-bukrs.
PERFORM bdc_field USING 'RF02K-EKORG'
itab-ekorg.
PERFORM bdc_field USING 'RF02K-KTOKK'
itab-ktokk.
PERFORM bdc_dynpro USING 'SAPMF02K' '0110'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFA1-LAND1'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'LFA1-ANRED'
itab-anred.
PERFORM bdc_field USING 'LFA1-NAME1'
itab-name1.
PERFORM bdc_field USING 'LFA1-SORTL'
itab-sortl.
PERFORM bdc_field USING 'LFA1-LAND1'
itab-land1.
PERFORM bdc_dynpro USING 'SAPMF02K' '0120'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFA1-KUNNR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFBK-BANKN(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTR'.
cnt = 0.
LOOP AT jtab WHERE j1 = itab-i1.
cnt = cnt + 1.
CONCATENATE 'LFBK-BANKS(' cnt ')' INTO fdt.
PERFORM bdc_field USING fdt jtab-banks.
CONCATENATE 'LFBK-BANKL(' cnt ')' INTO fdt.
PERFORM bdc_field USING fdt jtab-bankl.
CONCATENATE 'LFBK-BANKN(' cnt ')' INTO fdt.
PERFORM bdc_field USING fdt jtab-bankn.
IF cnt = 5.
cnt = 0.
PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFBK-BANKS(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=P+'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFBK-BANKN(02)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTR'.
ENDIF.
ENDLOOP.
PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFBK-BANKS(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTR'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0210'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFB1-FDGRV'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'LFB1-AKONT'
itab-akont.
PERFORM bdc_field USING 'LFB1-FDGRV'
itab-fdgrv.
PERFORM bdc_dynpro USING 'SAPMF02K' '0215'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFB1-ZTERM'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0220'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFB5-MAHNA'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0310'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFM1-WAERS'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'LFM1-WAERS'
itab-waers.
PERFORM bdc_dynpro USING 'SAPMF02K' '0320'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RF02K-LIFNR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTR'.
PERFORM bdc_dynpro USING 'SAPLSPO1' '0300'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=YES'.
PERFORM bdc_transaction USING 'XK01'.
ENDLOOP.
PERFORM close_group.
ABAP Name : ZMM_PR_UPLOAD_MAT
Description : PR Upload BDC Program(With Material)
Created by : Anji Reddy V
Created on : 04/11/2004
Description : This Program is used to Upload the Purchase
Requisition data Using the Transaction ME51N.
Modification Log:
Date Programmer Correction Description
04/11/2004 Anji Reddy Initial
REPORT zmm_pr_upload_mat
NO STANDARD PAGE HEADING
LINE-SIZE 255.
Standard Include for Selection Screen
INCLUDE bdcrecx1.
Internal Table for Upload Data
DATA: BEGIN OF i_pr OCCURS 0,
Header Screen
sno(3), " SNo
bsart(004), " PR Type
epstp(001), " Item Category
knttp(001), " Account Assignment
eeind(010), " Delivery Date
lpein(001), " Category of Del Date
werks(004), " Plant
lgort(004), " Storage Location
ekgrp(003), " Purchasing Group
matkl(009), " Material Group
bednr(010), " Tracking No
afnam(012), " Requisitioner
Item Details
matnr(018), " Material No
menge(017), " Quantity
badat(010),
frgdt(010),
preis(014), " Valuation Price
waers(005), " Currency
peinh(005),
wepos(001),
repos(001),
sakto(010), " GL Account
kostl(010), " Cost Center
bnfpo(005),
END OF i_pr.
Internal Table for header Data
DATA: BEGIN OF it_header OCCURS 0,
sno(3), " SNo
bsart(004), " PR Type
epstp(001), " Item Category
knttp(001), " Account Assignment
eeind(010), " Delivery Date
werks(004), " Plant
lgort(004), " Storage Location
ekgrp(003), " Purchasing Group
matkl(009), " Material Group
bednr(010), " Tracking No
afnam(012), " Requisitioner
END OF it_header.
Internal Table for Item Data
DATA: BEGIN OF it_item OCCURS 0,
sno(3), " SNo
matnr(018), " Material No
menge(017), " Quantity
preis(014), " Valuation Price
sakto(010), " GL Account
kostl(010), " Cost Center
END OF it_item.
Data Variables & Constants
CONSTANTS : c_x VALUE 'X'. " Flag
DATA : v_l(2), " Counter
v_rowno(5), " Row No
v_2(2), " Counter
v_rows LIKE sy-srows, " Rows in TC
v_field(45). " String
Parameters
PARAMETERS: p_file LIKE ibipparms-path. " Filename
At selection-screen on Value Request for file Name
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
Get the F4 Values for the File
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
IMPORTING
file_name = p_file.
Start of Selection
START-OF-SELECTION.
Open the BDC Session
PERFORM open_group.
Upload the File into internal Table
CALL FUNCTION 'UPLOAD'
EXPORTING
filename = p_file
filetype = 'DAT'
TABLES
data_tab = i_pr
EXCEPTIONS
conversion_error = 1
invalid_table_width = 2
invalid_type = 3
no_batch = 4
unknown_error = 5
gui_refuse_filetransfer = 6
OTHERS = 7.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
SORT i_pr BY sno.
LOOP AT i_pr.
MOVE-CORRESPONDING i_pr TO it_item.
APPEND it_item.
CLEAR it_item.
AT END OF sno.
READ TABLE i_pr INDEX sy-tabix.
MOVE-CORRESPONDING i_pr TO it_header.
APPEND it_header.
CLEAR it_header.
ENDAT.
ENDLOOP.
SORT it_header BY sno.
SORT it_item BY sno.
v_rows = sy-srows - 6.
Upload the Data from Internal Table
LOOP AT it_header.
Header Data
PERFORM bdc_dynpro USING 'SAPMM06B' '0100'.
PERFORM bdc_field USING 'BDC_CURSOR'
'EBAN-BEDNR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'EBAN-BSART'
it_header-bsart.
PERFORM bdc_field USING 'RM06B-EPSTP'
it_header-epstp.
PERFORM bdc_field USING 'EBAN-KNTTP'
it_header-knttp.
PERFORM bdc_field USING 'RM06B-EEIND'
it_header-eeind.
PERFORM bdc_field USING 'RM06B-LPEIN'
it_header-lpein.
PERFORM bdc_field USING 'EBAN-WERKS'
it_header-werks.
PERFORM bdc_field USING 'EBAN-LGORT'
it_header-lgort.
PERFORM bdc_field USING 'EBAN-EKGRP'
it_header-ekgrp.
PERFORM bdc_field USING 'EBAN-MATKL'
it_header-matkl.
PERFORM bdc_field USING 'EBAN-BEDNR'
it_header-bednr.
PERFORM bdc_field USING 'EBAN-AFNAM'
it_header-afnam.
Item Details
v_l = 0.
To add no. of rows
v_2 = 0 .
As the screen is showing 13 rows defaulted to 130
v_rowno = 130 .
LOOP AT it_item WHERE sno = it_header-sno.
v_l = v_l + 1.
IF v_l = 14 .
IF v_2 = 12 .
v_2 = 12 .
v_l = 2 .
From second time onwards it is displaying 12 rows only
v_rowno = v_rowno + 120 .
PERFORM bdc_dynpro USING 'SAPMM06B' '0106'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RM06B-BNFPO'.
PERFORM bdc_field USING 'RM06B-BNFPO'
v_rowno.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
ELSE.
V_2 initialized to 12 for second screen purpose
v_2 = 12 .
v_l = 2 .
PERFORM bdc_dynpro USING 'SAPMM06B' '0106'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RM06B-BNFPO'.
PERFORM bdc_field USING 'RM06B-BNFPO'
v_rowno .
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
ENDIF.
ENDIF.
PERFORM bdc_dynpro USING 'SAPMM06B' '0106'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
CLEAR v_field.
CONCATENATE 'EBAN-MATNR(' v_l ')' INTO v_field.
PERFORM bdc_field USING v_field it_item-matnr.
CLEAR v_field.
CONCATENATE 'EBAN-MENGE(' v_l ')' INTO v_field.
PERFORM bdc_field USING v_field it_item-menge.
PERFORM bdc_dynpro USING 'SAPMM06B' '0102'.
PERFORM bdc_field USING 'BDC_CURSOR'
'EBAN-PREIS'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'EBAN-PREIS'
it_item-preis.
PERFORM bdc_dynpro USING 'SAPMM06B' '0505'.
PERFORM bdc_field USING 'BDC_CURSOR'
'EBKN-SAKTO'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTE'.
PERFORM bdc_field USING 'EBKN-SAKTO'
it_item-sakto.
Cost Center
PERFORM bdc_dynpro USING 'SAPLKACB' '0002'.
PERFORM bdc_field USING 'BDC_CURSOR'
'COBL-KOSTL'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTE'.
PERFORM bdc_field USING 'COBL-KOSTL'
it_item-kostl.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTE'.
ENDLOOP.
PERFORM bdc_dynpro USING 'SAPMM06B' '0106'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RM06B-BNFPO'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=BU'.
Call The Transaction
PERFORM bdc_transaction USING 'ME51'.
ENDLOOP.
Close the BDC Session
PERFORM close_group.
reward for useful answers.
Regards,
Anji -
Problem with Updation of entires in table T030
Hi,
We have written a program to update some entires in the standard table T030.We tried writing INSERT as well as modify statemnt for updating these entirs in internal table.All these entires are new and they donot exist in the table.
However there are in total 1347 entires to be updated in the table.However my final updation count is only 1299.
Can anybody suggest what must be going wrong with respect to this.
I tried making a 'Z' table which copy of existing table T030 and then update this 'Z' table.However still the number of entires are still 1299.
Request you suggestions on the same.
ReghIf u observe T030 table key combination will be (KTOPL, KTOSL, BWMOD, KOMOK, BKLAS)Check your entries, i guess you might have had the same key of the entries which is not updating into the table.
Also try to put a break point and check sy-subrc while the records are inserting.
Regards
VEnk@
Edited by: Venkat Reddy on Feb 11, 2011 12:45 PM -
Miro Error in account determination: table T030 key PCOA KDT
WHEN USER IS USING MIRO WITH CREDIT MEMO.HE GOT FOLLORING ERRO.
ERROR MESSAGE IS AS FOLLOWS
Error in account determination: table T030 key PCOA KDT
Message no. FF709
Diagnosis
In the chart of accounts to be posted to, no accounts are defined for the tax code you used.
Procedure
Contact your system administrator.
Define the accounts to which a tax posting is to be made with the tax code entered in Customizing
for taxes on sales/purchases.
To do this, choose Maintain entries (F5).
Miro Error in account determination: table T030 key PCOA KDTDear Venkat
actually we have only one currency that is INR and last month also we have posted same but no error.KDT Is not suppose to maintain as per discussion with client.
if select with out tax code its posting now.No error from that1
NOTE:And 1 more imp thing in MIRO if i select calculate tax button automatically tax amount cloum is closing. i am not able to visable
let me know any possibilities
Edited by: sumathi lakshmi on Feb 20, 2009 6:33 AM
Edited by: sumathi lakshmi on Feb 20, 2009 7:36 AM
Edited by: sumathi lakshmi on Feb 20, 2009 1:07 PM -
Error table T030 when posting invoice
Hi Expert,
I'm having error when posting invoice :
"Table T030 : Entry HASA WRX AA_____4000 does not exist"..
Is there anything missing in config? Please guide me to fix the problem.
ThanksHi
May be looking at the entries, account modifier is blank. Were you able to post GR for this PO, if your invoice is in reference to a PO.
Thanks !
E.Avudaiappan -
How can i add entry in table BSP_DL_XMLSTRX2 for creating a copy of a view
hi
i want to copy in a CRM_UI component view the configuration of the view and want to save the copy with a
different object type. But F4 value help only provides ( in crm_ui component workbench) me the value <DEFAULT> as for that view there is only one entry in table
BSP_DL_XMLSTRX2 and for object type = <DEFAULT> and when i enter something different i get the error that this object type does not exist.
(call method CL_BSP_DLC_XML_STORAGE2=>GET_EXISTENCE_FOR_VIEW
exporting
IV_COMPONENT = ME->CURRENT_CONFIG_KEY-COMPONENT
IV_VIEWNAME = ME->CURRENT_CONFIG_KEY-VIEWNAME
importing
ET_CONTEXT_SEM_KEY = LT_CONTEXT
ET_CONFIG_INFO = LT_CONF_INFO.
---> result in only one line but i want to add another
*so my questioin:
where can i enter a new object type for a existing crm_ui view configurationHello Britta,
Its useful program to copy a view configuration.
Best Regards,
zafer,
Edited by: Zafer Kuru on Dec 5, 2011 3:51 PM
REPORT z_copy.
TABLES bsp_dcls_conf_semantic_key.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS fr_comp TYPE bsp_wd_component_name OBLIGATORY.
PARAMETERS fr_view TYPE o2pageext OBLIGATORY.
PARAMETERS fr_role TYPE bsp_dlc_role_key OBLIGATORY.
PARAMETERS fr_couse TYPE bsp_dlc_component_usage OBLIGATORY.
PARAMETERS fr_obty TYPE bsp_dlc_object_type OBLIGATORY.
PARAMETERS fr_obsty TYPE bsp_dlc_object_sub_type OBLIGATORY.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
PARAMETERS to_comp TYPE bsp_wd_component_name OBLIGATORY.
PARAMETERS to_view TYPE o2pageext OBLIGATORY.
PARAMETERS to_role TYPE bsp_dlc_role_key OBLIGATORY.
PARAMETERS to_couse TYPE bsp_dlc_component_usage OBLIGATORY.
PARAMETERS to_obty TYPE bsp_dlc_object_type OBLIGATORY.
PARAMETERS to_obsty TYPE bsp_dlc_object_sub_type OBLIGATORY.
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
PARAMETERS request TYPE trkorr OBLIGATORY.
PARAMETERS d_mode TYPE flag.
SELECTION-SCREEN END OF BLOCK b3.
DATA : iv_from_component TYPE bsp_wd_component_name,
iv_from_viewname TYPE o2pageext,
iv_from_role_key TYPE bsp_dlc_role_key,
iv_from_component_usage TYPE bsp_dlc_component_usage,
iv_from_object_type TYPE bsp_dlc_object_type,
iv_from_object_sub_type TYPE bsp_dlc_object_sub_type,
iv_to_component TYPE bsp_wd_component_name,
iv_to_viewname TYPE o2pageext,
iv_to_role_key TYPE bsp_dlc_role_key,
iv_to_component_usage TYPE bsp_dlc_component_usage,
iv_to_object_type TYPE bsp_dlc_object_type,
iv_to_object_sub_type TYPE bsp_dlc_object_sub_type,
is_transport_data TYPE bsp_dlc_config_transport_data.
DATA:
ls_from_config_data TYPE bsp_dlcs_conf_data,
lr_from_text_rep TYPE REF TO cl_bsp_dlc_stext_repository2,
lr_to_text_rep TYPE REF TO cl_bsp_dlc_stext_repository2,
lt_from_text TYPE bsp_dlt_stxtrep2,
ls_from_text TYPE bsp_dl_stxtrep2,
lv_to_context_id TYPE bsp_dlc_context_id,
lv_config_data_origin TYPE bsp_dlc_config_data_origin.
DATA lt_xmlconf TYPE TABLE OF bspc_dl_xmlstrx2.
DATA ls_xmlconf TYPE bspc_dl_xmlstrx2.
DATA ls_xmlconf_check TYPE bspc_dl_xmlstrx2.
is_transport_data-request = request.
is_transport_data-display_mode = d_mode.
SELECT SINGLE * FROM bspc_dl_xmlstrx2 INTO ls_xmlconf_check
WHERE component = fr_comp
AND viewname = fr_view
AND role_key = fr_role
AND component_usage = fr_couse
AND object_type = fr_obty
AND object_sub_type = fr_obsty.
CHECK sy-subrc EQ 0.
TRY.
CALL METHOD cl_bsp_dlc_xml_storage2=>get_config_data
EXPORTING
iv_component = fr_comp
iv_viewname = fr_view
iv_role_key = fr_role
iv_component_usage = fr_couse
iv_object_type = fr_obty
iv_object_sub_type = fr_obsty
iv_only_spec_parameter = abap_true
IMPORTING
es_config_data = ls_from_config_data
ev_config_data_origin = lv_config_data_origin.
CATCH cx_bsp_dlc_config_not_found.
RAISE config_not_found.
ENDTRY.
lr_from_text_rep = cl_bsp_dlc_stext_repository2=>get_instance(
iv_component = fr_comp
iv_viewname = fr_view
iv_role_key = fr_role
iv_component_usage = fr_couse
iv_object_type = fr_obty
iv_object_sub_type = fr_obsty
CASE lv_config_data_origin.
WHEN cl_bsp_dlc_xml_storage2=>config_data_origin_c.
CALL METHOD lr_from_text_rep->get_texts_c_for_context_id
EXPORTING
iv_all_langu = 'X'
IMPORTING
et_text = lt_from_text.
WHEN cl_bsp_dlc_xml_storage2=>config_data_origin_s.
CALL METHOD lr_from_text_rep->get_texts_s_for_context_id
EXPORTING
iv_all_langu = 'X'
IMPORTING
et_text = lt_from_text.
ENDCASE.
Edited by: Zafer Kuru on Dec 5, 2011 3:54 PM -
To delete multiple entries in table control in module pool
Hi,
Please help me out to know , <b>how to delete multiple entries from table control</b> when multiple lines in table control are selected.
Regards,
Irfan Hussainhai,
you can do it inthis way.
in the PAI event.
loop at <table control name>
module del_itab.
endloop.
in the nodule,write the folowing code.
if <tablecontrol>-fieldname = 'X'.
delete <tablecontrol-itab>
endif.
cheers -
SRM-EBP: How to delete multiple entries in table BBP_DOCUMENT_TAB easier?
We are running SRM 4.0 EBP on classic scenario. I want to delete entries in table BBP_DOCUMENT_TAB easier and faster using FM BBP_DELETE_FROM_DOCUMENT_TAB. Is there a standard program that calls this FM so that inputting the entries will be faster? I see only CLEAN_REQREQ_UP but does not serve the purpose. If none, how can I develop a program to achieve this? Please help SRM Consultants.
Hi,
Please check note 535765, in it there is a special report that deletes entries from this table.
I hope this helps,
Kind Regards,
Lisa -
I have to make Multiple entry at table maintanance at a time
Hello all,
My requirment is to enable the multple user can loginto the same table for making there entry simultaneosuly .
i have created the table and table maintance as well. and i have created the new lock object and added the code accrdingly and i have used the custom fm which is generated in the tablemainta function group.
forex: table xyz
user 1 , 2, 3, 4, 5,so on..
table should allow all user tomake there entry at time and the entry edited one user should be disabled to other user.
I have gone the forum i didnt found the correct one ..plz guide me ..plz find the attached code .i got this code and referredthe samein my prog ..any suggestions on the below.
1. Create table ZTEST_SHUKS3.
2. Create table maintenance generator for the table.
3 Create lock object EYTSS_E433SH in SE11. Give it name as EZTEST_SHUKS3.
4 create a report ZREP_SHUKS3 and transaction code ZTEST_SHUKS3 to call this report. This tcode will call table mainatance generator of table ZTEST_SHUKS3 .
5 create the report as below
6 Now open table maintenance function group(ZTEST_SHUKS3) in SE80.We know for table maintenance SAP automatically creates code in the function group. Now we will make some modification in that existing code to change the behavior. Open the screen you created through table maintenance and add one module.
screen: 0001
double clik on screen and add one module in PBO of the screen
loop at extract with control
tctrl_ZTEST_SHUKS3 CURSOR NEXTLINE.
MODULE LIST SHOW LISTE
ADD HERE
MODULE m_change_locking
Check the code below to be added in the module m_change_locking.
MODULE m_change_locking OUTPUT.
*Call the function module corresponding to the lock object we created
CALL FUNCTION 'ENQUEUE_EZTEST_SHUKS3'
EXPORTING
matnr = ztest_shuks3-matnr
werks = ztest_shuks3-werks
EXCEPTIONS
foreign_lock = 1
system_failure = 2
OTHERS = 3.
IF sy-subrc NE 0.
row is locked..hence gray..
LOOP AT SCREEN.
screen-input = 0.
MODIFY SCREEN.
ENDLOOP.
ENDIF.
ENDMODULE. " m_change_locking OUTPUT
REPORT zrep_shuks3.
**Selection range for view maintenance
DATA:
BEGIN OF selekttab OCCURS 1. "Selektionsbereich
INCLUDE STRUCTURE vimsellist.
DATA: END OF selekttab,
**Table of inactive CUA functions for view maintenance
BEGIN OF excl_cua_funct OCCURS 1. "inaktive CUA-Fkt bei View-Pflege
INCLUDE STRUCTURE vimexclfun.
DATA: END OF excl_cua_funct.
DATA: lt_enq_del TYPE STANDARD TABLE OF seqg3,
lt_enq_read TYPE STANDARD TABLE OF seqg7,
lw_enq_read TYPE seqg7,
lw_enq_del TYPE seqg3,
lv_subrc TYPE sy-subrc.
*Read all the lock details in system
CALL FUNCTION 'ENQUE_READ2'
EXPORTING
gclient = sy-mandt
gname = ' '
guname = '*'
TABLES
enq = lt_enq_read.
*We will search entry for table level lock for our table
LOOP AT lt_enq_read INTO lw_enq_read
WHERE gname EQ 'RSTABLE'
AND garg CS 'ZTEST_SHUKS3'.
MOVE-CORRESPONDING lw_enq_read TO lw_enq_del.
APPEND lw_enq_del TO lt_enq_del.
ENDLOOP.
*Delete table level lock entry for our table
CALL FUNCTION 'ENQUE_DELETE'
EXPORTING
check_upd_requests = 1
IMPORTING
subrc = lv_subrc
TABLES
enq = lt_enq_del.
*Now call the table maintenace generator.
CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
EXPORTING
action = 'U'
view_name = 'ZTEST_SHUKS3'
show_selection_popup = 'X'
TABLES
dba_sellist = selekttab
excl_cua_funct = excl_cua_funct.
I followed the same steps but still not getting the multiple user enable .
plz help
regards
Raju
Edited by: abaprthree on Jul 22, 2009 7:54 PMHi,
I think you are looking for the report which will allow only for entries not for change. In this case, at PBO you write the code to make all the rows in display mode which have records using LOOP at SCREEN .....ENDLOOP. When you click on on NEW ENTRY button, add blank rows and put user entries. When you save,check for existing entries in the table because many users are entering the data at the same time, so check for duplicates KEY entries and UPDATE the table on SAVE button. If you will go in this way, I don't think you have to go for LOCK object. It's required only if you are going for EDIT mode. -
I am receiveing error while creating Z table: Entry in table TAORA missing
Hi Experts,
I am receiving "Entry in table TAORA missing" while creating Z table.
Please help
Edited by: N_niki on Jun 11, 2011 9:22 AMHi
1) Check for the DB System. The Table name in "Entry in table TAORA missing", meant to save the "DATA CLASS of the ORACLE application"., OR
2) check for the Data Class you Selected, on Creation of the Z Table, for which an Entry exists in the TAORA or the Available DATA CLASS in the TAORA Table to fix it.
Regards
Gopu -
Error "No entry in table T589A for P" while creating new Infotype
HI,
I've created a new infotype (9605). All the tables, structures, screens etc. have been created using transaction PM01 successfully. But upon execution of Infotype from PA30, the infotype screen is displayed with the following error:
"No entry in table T589A for P"
Any input will be highly appreciated.
Thank you,
Farooq.Hi Farooq,
Untill and unless the the field PSYST-IOPER is cleared explicitly in the program MP960500 (in PBO modules), this error should not occur.
Also is this error is coming only for 9605 infotype ? Also is any other info availaible in the error message such as entry in table t589a is not available for which value of OPERA (INS, MOD, DEL, LIS etc) ?
Regards,
Shrinivas
Maybe you are looking for
-
37 Status code in IDoc to File Scenario
Hi Experts, I developed Idoc to file scenario, in the PI side all the design time and configuration objects are good . while I am testing from SAP backend system (All required configuration steps are also good). I was send the Vendor information deta
-
Error in self increment varible value using "FORALL"
CREATE OR REPLACE PROCEDURE BULK_COLLCT_PASS AS TYPE VAR_TYP IS VARRAY (32767) OF VARCHAR2 (32767); V_DSH_CM_NUMBER VAR_TYP; V_DSH_DATE VAR_TYP; V_DSH_TIME VAR_TYP; V_DSD_CM_NUMBER VAR_TYP; V_PLU_CODE VAR_TYP; V_DSD_DATE VAR_TYP; V_str_id VAR_TYP; LN
-
Alert data is not present in SCOM 2012 Data Warehouse database since two weeks
Alert data is not present in SCOM 2012 Data Warehouse database since a week though I could see Performance data for the latest dates. Old Alert data is present but I think the latest Alert data is not being inserted to Data warehouse. No activity was
-
Changing the back of iPhone 3GS
I would really like to change my black back to a white one. If I took my phone to the store - could this be arranged? I'll pay whatever.
-
Royally Screwed -- please help
Hi Finally got an email back from SAP for renewing license for ABAP NW2004S system NSP. This came back as a text attachment with a HUGE long Key I deleted the temporary license and tried to install the new one I point to the license text file I got w