Problem in data entry in Z tables
Hi
I have created a Z table and when I try to enter the data in it, it says ' create a data processing function module ' at the bottom bar.
please help thnks
Hi,
Check the below links,
[http://sap.ittoolbox.com/groups/technical-functional/sap-basis/data-processing-function-module-vkoa-error-1891065]
[http://help.sap.com/saphelp_di46c2/helpdata/EN/dc/6b7df143d711d1893e0000e8323c4f/content.htm]
Similar Messages
-
Transport data entries along with table
How can we transport data entries along with table?
Do I need to declare of specific type??
Thank you,
APHi,
If you have created a table maintenance..
You can use SM30..
Press maintain button..
In the menu..Table view -> transport...Then select the entries include them in the CR.
If the transport menu is not enabled..
Go to SE11..
In the table maintenance generator...Choose the radio button which says "Standard recording routine" and then save..
Now the transport menu option will be enabled..
Thanks,
Naren -
Problem with data entry profile ESS ?
Hey All,
My problem is i have a data entry profile "ESS".
In CAT2 transaction i see the ESS data entry profile as follows (suppose)
<b>A1 A2 A3 Mon Tue Wed .... Sat Sun A4</b>
I assigned CVR parameter to this profile
Now in ESS i see the data entry section as
<b>A1 A2 A3 A4 Mon Tue Wed ......Sat Sun</b>
The order of the fields is getting sorted.
Is it anything to do with the settings you referred earlier?
SriramHello all,
can anyone help me on this , iam being stuck on this for a quite a long time
Regards
sriram -
How to set order of data entry in a table?
a simple question, i know, but i cannot seem to find out how to do it...
if i want to enter data in a two column table, how do i force Numbers to move the data entry box in a specified way on "enter", so i want to enter data in a1, b1, a2, b2, a3, b3 etc and want the correct cell is active after hitting enter. in excel, you just highlight the area you want to fill. this doesnt seem to work in numbers. any ideas?
TIA
niccoi rechecked that, yes, i must have been using enter.
but still 2 keys on opposite sides of the keyboard -
Hi All,
I havae a scenario..
I have one ztable with the foloowing fields:
1. enum
2. Ecnum
3. Add
4. Date
5. erole
what I did is I made enum and ecnum fields as the key fields in the table and rest I didn't make as key fields. Now when I tried to enter data in this table using sm30....I am facing a problem...I tried putting the following record:
1st rec.
123
012
xyz
010101
1
2nd record.
321
011
abc
020202
1
Now as soon as I enter the second record it says the record is already there..
so can you tell me what's the problem...I mean I didn't make erole as the key field but then also I ma having this error...
Thanks,
Rajeev
Edited by: Rajeev Gupta on Oct 3, 2008 4:09 PMHi Rob,
I did not mean that you should always define 1 key field in the table always
I was refering to the scenario he wants to create.
i.e the key field should not be repeated for another entry even if there are 2 key fields in the table.
It's is possible to achieve this with table maintenance modification events, But I guess the best way to restrict this would be to only define one key field for the table.
regards,
Advait -
Problem in deleting entries from internal table
i am selecting
vrgar
perio
paobjnr
belnr
gjahr
perde
budat
kndnr
artnr
frwae
kursf
rec_waers
kaufn
kdpos
bukrs
kokrs
werks
gsber
vkorg
vtweg
spart
rbeln
rposn
prctr
pprctr
kunnr
land1
regio
kunwe
kvgr1
wwpmg
zterm
wwcst
wwrst
mvgr3
wwseg
wwcls
wwesa
prdha
wwbun
wwexd
wwph1
wwph2
wwph3
wwph4
prat1
prat2
vrprs
vv510
vv508
vv509
vvqt2
vv515
INTO TABLE ct_ce11000 FROM ce11000
WHERE paledger EQ gv_ledbo AND
vrgar EQ lc_vrgar AND
belnr GT uv_belnr AND
gjahr EQ pa_gjahr AND
perde EQ pa_perd AND
bukrs EQ pa_bukrs.
now i awant to delete all those entries from my internal table ct_ce11000 where my plant (WEKRS) and company code (BUKRS)
i am writting
loop at ct_ce11000 into wa_ce11000.
if wa_ce11000-werks ne wa_ce11000-bukrs.
now how can i delete all the entries from nmy internal table (ct_ce11000) when plant and company code is not same
pls help me with logic.
thank you for helping meHello Guys,
It is not advisable to delete the entries from the internal table you are looping upon. See this thread: [Sy-tabix in loop : Doubt|Sy-tabix in loop : Doubt]
And to answer the OP's question select data into some local internal table & based on the condition populate your final table. Creating a local table of the same type as the final table will not create too much performance overhead
Cheers,
Suhas -
Problem reading data from nested internal table.
Hi,
Below is my code;
*********SAP Code********
TYPES: BEGIN OF v54a0_scdd,
fknum LIKE vfkk-fknum,
change LIKE vfkkd-updkz,
x TYPE v54a0_scd,
y TYPE v54a0_scd,
tvtf LIKE tvtf,
END OF v54a0_scdd.
SCD table for dialog
TYPES: v54a0_scdd_tab TYPE v54a0_scdd OCCURS 1.
*********SAP Code********
*Custom declaration*****
data: wa_freight_costs type v54a0_scdd_tab.
data: it_freight_costs type v54a0_scdd_tab occurs 0.
*****Here data is getting appended to it_freight_costs. P_frieght_costs is coming from standard program.
move p_freight_costs TO wa_FREIGHT_COSTS.
append wa_freight_costs to it_freight_costs.
clear wa_freight_costs.
***Now the problem is here. I am not able to read the data from the nested internal table x-item.
if i use <fs_f_costs> to move data from it_freight_costs in the outer loop, i get a syntax error; <i> "the line type of the table it_freight_costs is not compatible with field symbol type <fs_f_costs>" </i>
FIELD-SYMBOLS: <fs_f_costs> type line of v54a0_scdd_tab.
LOOP AT it_freight_costs assigning <fs_f_costs>.
LOOP AT <fs_f_costs>-x-item ASSIGNING <fs_freight_item>.
<b> I want to read <fs_freight_item>-vfkp-netwr.</b>
ENDLOOP.
Can anyone guide me?A quick look at how I would do this. Note I haven't checked if this compiles just done a quick brain-dump.
DATA: lr_f_costs TYPE REF TO v54a0_scdd_tab,
lr_f_cost TYPE REF TO v54a0_scdd.
LOOP AT it_freight_costs REFERENCE INTO lr_f_costs.
LOOP AT lr_f_costs->* REFERENCE INTO lr_f_cost.
ENDLOOP.
ENDLOOP.
As you can see I personally prefer pointers to field symbols - I don't believe there is any performance differences and because of my background in other languages pointers make more sense to me.
Cheers
Graham Robbo -
Problem in Date format display at table leve in 3.1i System
Hi Team,
I am facing an issue in 3.1i Prod System.
When i go and check at SE16 transaction and table name is TCURR. Execute the same i am getting date displayed in an unknown format.
For Eg:
Valid From Date
79908769
When i double click the same record, it displays the correct date format:
12/30/2009
when i download the table contents into excel sheet it should display the correct date format: instead of 79908769 to 12/30/2009.
But my problem is either to display the proper format of date at the table level.
Is there anyway to download the contents in correct dated format without disturbing the data elements or domain at table level.
Please let me know how to solve this problem.
Thanks,
Sunil KumarYou need to write abap program to download into the required format.
once you get the date field in your work area...
say you have date field in wa_data-budat , after that use the above syntax you will get the required format.
DATA :
v_date type sy-datum.
write wa_data-budat to v_date MM/DD/YYYY.
Please let me know if you need further information.
Regards
Satish Boguda -
Lock Objects Problem while updating entries in custom table
Hi Friends,
Iam updating a custom table ztable from internal table entries.
ie : Modify ZTABLE from table ITAB.
Now the entries are updating and inserting perfectly..
But my problem is i need to use lock objects before doing this..
I have created a lock obect EZTABLE with all th ekey fields of the table.. ie : it has 2 key fields
item & matnr .
Now how to use lock objects here.. do i need to loop the internal table and use enque & deque function module each and every time in loop or use it out side the loop..
Can any one explain me this..
Regards,
Kumarhi kumar,
**check if the equipment is already locked by user, if yes, trigger a mail
CALL FUNCTION 'ENQUEUE_EIEQUI'
EXPORTING
MODE_EQUI = 'E'
MANDT = SY-MANDT
equnr = lv_equi_temp
X_EQUNR = ' '
_SCOPE = '2'
_WAIT = ' '
_COLLECT = ' '
EXCEPTIONS
foreign_lock = 1
system_failure = 2
OTHERS = 3.
IF sy-subrc <> 0.
lv_subrc1 = sy-subrc.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
CALL FUNCTION 'DEQUEUE_EIEQUI'
EXPORTING
MODE_EQUI = 'E'
MANDT = SY-MANDT
equnr = lv_equi_temp
X_EQUNR = ' '
_SCOPE = '3'
_SYNCHRON = ' '
_COLLECT = ' '
ENDIF.
try like this to check if the object is locked....
u can also use
call function 'ENQUEUE,.
do the needful changes update the database then commit work
then call function 'DEQUEUE'
hope this helps,
tanmaya -
Problem with Date Format in a Table.
Hi, I have several views, in each views I have two tables with two fields of date.
This data are from an adaptive RFC function exported in Date ABAP format.
The webdynpro is showing me the date in mm/dd/yyyy format, and I want to change that to dd/mm/yyyy. Which is the easiest way to accomplish this.
ThxRodrigo,
Before you start to alter default behavior, take on acount that it was created with certain reason, namely support for internationalization(I18N) and localization (I10N). So WD application displays date, times, currencies in locale-specific manner.
Altering just date display leads to inconsistences with other formatting.
The locale is choosen by sevearl criterias, you may search WD forum to find out more. Briefly, WD consider settings in UME for logged-in user, browser headers and application url parameters.
For example, try to add the following sap-locale parameter with settings for Spanish/Argentina:
sap-locale=es_AR
<b>Notice, that unlike other options suggested here, this will affect all formating in your application. Moreover, if back-end is localized as well (R/3 for example) you will get localized data from back-end</b>
Valery Silaev
SaM Solutions
http://www.sam-solutions.net -
Hi All,
Can anyone please suggest me to enter data in SAP tables like - LINK and LINV.
Is there any transaction for the same.
Thanks & Regards,
Anuj SaraswatHi Anuj.
I would like to suggest,
These some related transactions to Tables - LINK and LINV
CX3F6 - Method for uploading inventory data
GJ93 - JV Goods receipt inventory orders
LD10 - Clear decentralized inventory diff.
LI12 - Change inventory count
LI12N - Change inventory count
LI15 - Evaluation of quant inventory
LM58 - Sys. guided dynamic inventory count
LN05 - Number ranges physical inventory
LX35 - Archived system inventory records
MI21 - Print physical inventory document
O4LB_OI - Loc Bal opening inventory calc
O4TB_PHYS - To update physical inventory figures
OMMG - Number ranges physical inventory
S_SO6_65000789 - Excise duty inventory check report
WVFD - Process phys. inventory doc. further
LS27 - Display quants for storage unit
LS28 - Display storage units / bin
Hope that's usefull.
Good Luck & Regards.
Harsh Dave -
Problem updating date field on user table
Hi,
I am having difficulty updating the value for a date field on a user defined table. All of the other fields update fine. Below is the code I am using. Does anyone have any suggestions? I have tried updating to both a date variable or a string variable. Thanks in advance for your help
Dim d As Date
d = CDate("01/01/2004")
pRecord.GetByKey (editForm.Items("Code").Specific.String)
pRecord.UserFields("U_CardCode").Value = editForm.Items("CardCode").Specific.String
pRecord.UserFields("U_CardNbr").Value = editForm.Items("CardNbr").Specific.String
pRecord.UserFields("U_CardType").Value = editForm.Items("CardType").Specific.String
pRecord.UserFields("U_ExpDate").Value = d
pRecord.UserFields("U_Name").Value = editForm.Items("Name").Specific.String
pRecord.UserFields("U_CVN").Value = editForm.Items("CVN").Specific.String
pRecord.UserFields("U_Addr1").Value = editForm.Items("Addr1").Specific.String
pRecord.UserFields("U_Addr2").Value = editForm.Items("Addr2").Specific.String
pRecord.UserFields("U_City").Value = editForm.Items("City").Specific.String
pRecord.UserFields("U_State").Value = editForm.Items("State").Specific.String
pRecord.UserFields("U_Zip").Value = editForm.Items("Zip").Specific.String
If editForm.Mode = fm_UPDATE_MODE Then
pRecord.Update
End IfI think I have figured it out. The cardtype field (which I was also updating) has a list of valid values. If I didn't specify a value for this field none of the other fields would update either. I'm still not sure of the reason for this behavior.
-
Data Entry into customized table
Hi All,
I have created a z-table and selection screen with four fields. Whenever I enter the data into these four fields, the data should go to the z-table through my report.
Will you please send me how to do this?
Thanks in Advance,
RamanaHi KCR,
You can do this by program or by generating a table maintanence generator using SM30.
IF you want to do this through program declare internal table with the same structure as that of your table and populate it with details as per the selection screen data and use "INSERT INTO <table name> FROM TABLE ITAB".
OR
Goto se11 give your table name change, in the attributes tab select display and maintanence allowed and then select menu path UTILITIES > Table maintanence generator . IN the next screen displayed
give Authorization groups as &NC& (if you dont want any auth check) Function group as your table name( you can give any name starting with Z), select maintanence type one step and give single screen as 100 ( you can give any number you want) and then select create button(located left top corner). this will generate a table maintanence for you.
After doing above steps go to sm30 and give your table name and select maintain which will display a nice table control with the table fields where you can maintain as many records as you want and click on save.
Thats it.
Reward if helpful.
Regards,
Kalyan. -
Problem with No entry in table T591B for 0015 08 E101
Hi all,
This is our first year using SAP and we're approaching our first Year End and so want to make the E Wage Types available for us in IT0015, E121 is already OK and I can enter data in IT0015 for that WT no problem. I've added WT E101 to the 0015 Additional Payments in the IMG and it shows as being allowed for IT0015, this has created entries in the Permissability, etc. in the IMG and I've updated permisability for the ESG to allow for all ESG / PS, etc. - so all looks fine when I work through the steps for Additional Payments in the IMG, but when I try to save E101 in IT0015 I get a message about 'No entry in table T591B for 0015 08 E101' .
When I look at this table it's called 'WT dependent retroactive accounting trigger' and I've not seen it before despite setting up many Wage Types and I can see E121 is in this table but E101 isn't - but I can't see how I can add or copy anything in this table - there are no options. So I'm assuming this is usually auto updated by creating an entry in another table but I have no idea how to find where and can't find any documentation or other forum messages for this table.
Has anyone else come accross this before or know anything about this table - has anyone else had trouble when wanting to allow E Wage Types to be used for Year End adjustments?
Thanks in advance for any advice anyone can give me
NyreeOlnly wt configured to be permissibled on a few infotypes (e.g. 0014, 0015, 0267) would need to be configured in V_T591B. The purpose of this is to control whether these wt are allowed to be changed after payroll is already run for the ee.
All you need to do is maintain this entry through view V_T591B - add entry for wt 'E101' for infotype 0015 / country '08'. The indicator (V5591B-ABWRU) can be '' (allow change to wt after proll is run), 'X' (warning if change after proll is run), 'E' (hard-error if change after payroll is run) .
Rgds. -
Problem retreving data from cluster table
Hi friends,
Iam facing a problem while retreving data from a cluster table..
select knumv
kposn
krech
kawrt
kbetr
waers
kpein
kmein
kwert
from konv
into table gt_konv
where knumv in s_agnm.
In s_agnm i have 8 entries ie: iam giving manually 8 entries in s_sgnm-low.
If i do the above way iam getting exactly the 82 entries which i have in KONV table.. This is perfect..
But when iam using for all entries iam getting only 58 records from the KONV table..
ie :
SELECT KNUMV
KPOSN
KRECH
KAWRT
KBETR
WAERS
WAERS
KPEIN
KMEIN
KWERT
FROM KONV
INTO TABLE ITAB1
FOR ALL ENTRIES IN ITAB
WHERE KNUMV = ITAB-F1
Here F1 is the field which is same as S_SGNM as above and it also contains same number of records as above
Now when iam running the 2nd select statment iam getting only 58 entries ... instead it should get 82 entries as above...
Can any one tell me how to correct..
Regards
Kumareven if i use all the key fields , its giving me the same results 58 reocrds, instead it should give me 82.
select knumv
kposn
stunr
zaehk
from konv
into table gt_tybh
where knumv in s_agnm.
if gt_tybh is not INITIAL.
sort gt_tybh by agreement_number kposn stunr zaehk.
select knumv
kposn
krech
kawrt
kbetr
waers
kpein
kmein
kwert
from konv
into table gt_konv
for all entries in gt_tybh
where knumv = gt_tybh-agreement_number and
kposn = gt_tybh-kposn and
stunr = gt_tybh-stunr and
zaehk = gt_tybh-zaehk.
In the above iam getting all the 82 records for the select-options s_sgnm..
later iam trying to get the other fields form the same konv table by using for all entries... here even if iam using all the key fields also its not getting me the total 82 records...
Initially for s_sgnm which contains 8 values , for those 8 values iam getting 82 records it table gt_tybh. But later when iam using for all entries iam not getting those 82 records in the 2nd select statment in the internal table gt_konv.
Why is this happening...
can any one correct it..
Regards
Kumar
Maybe you are looking for
-
SD Customization team member --Role and Profile
Dear All, I want to assign the roles to our SD customize person. Please tell me which role i should give him so that he can only customize its own area (SD). Same issue for FI customize person. Currently i gave sap_all to them and they disturb each o
-
How to use Progressive video in aggregated file
I'm using Captivate 5 and have several .swf modules to publish along with their supporting video files (progressive download). How can I package these into an executable or aggregated output so the videos play? I can't load the videos into the aggr
-
Iphoto and Itunes not showing the same number of photos in albums
why does the number of photos in an iphoto album is not the same when synching my iphone. For example, in iphoto, my "family" album has 2700 photos, but in Itunes it only shows 2675. I have included the videos also. Thanks
-
How to switch between displays in dual head?
sometimes I would like to move an app from one desktop to the next, and I can't seen to do that with enlightenment or xfce4. I can move between virtual desktops, but what if I want to move firefox from my right monitor to my left one? That doesn't se
-
Printer not working with one program
Recently upgraded my OS from 10.4 to 10.6 Reinstalled the printer as well. Printer: Lexmark X4650 It works fine printing pdf files from preview and documents from Open Office, but I can't get my insurance billing software to print anymore. Software: