Problem Regarding Changes in field in Table VBAK
Hi All,
I am facing problem with data extraction for data source 2LIS_11_VAHDR. There is a field Request Delivery Date -VDATU, which was not picking data as the settings in Sales Order Creation were not set. Now the changes have been made while creation of sales document and the field is now geting populated in table VBAK.
This table feeds the data source 2LIS_11_VAHDR. But the changes have not been reflected while extracting data to BW while checking in RSA3. The field Delivery date (VDATU) is still empty and in Transfer rules there is formula written to derive Posting date based on Request Delivery date(VDATU) and Fisc year Variant.
The extraction ends with error saying problem in Formula for Fiscper3(posting Period).
Do I have to run the setup tables in order to reflect the changes in the Data
sources.
Suggest with suitable solution.
Hi,
RSA3 picks data from set up tabel and since set up table is not refreshed since the new change done by you....... it will not bring the new data from the VBAK table...... but the old data from the set up table will be displayed in RSA3.
But in the delta in the BW you should get the records with the following filed populated since your old records will not change now but the new records will bring this change into BW.
If you want to see the data in RSA3 you will have to delete and fill the set up tables for that for the new data.
Thanks
Similar Messages
-
Regarding change pointers in CDHDR table.
Hi All
Can we write change pointers in CDHDR table when we change the status of the project (CJ20n).
When I change the status of the project then status of the network is also changed.
Now my requirement is , as soon as the status of the network is changed ,entry should be recorded in to CDHDR.
I am able to record the changes when description or other things of the nework are changed but facing problem for status change.
Can we achieve this if yes then how ?Hi Pranay,
Could you please let me know how you could able to resolve this issue? i am facing same kind of problem
Regards,
M, Manohar -
Problem regarding change of data type x to data type c
Hi,
Is there any way to change the data type x to data type c.
w_end_record TYPE x,
SPLIT i_data_file AT c_delimiter INTO i_ekko-rtype
i_ekko-ebeln
i_ekko-bsart
i_ekko-lifnr
i_ekko-loekz
w_end_record.
macro_append_internal_table i_ekko.
When I do syntax check in ECC6.0 it's showing the error "w_end_record" must be Character type(C,N,D,T).The error is due to Unicode.
I was using the class CL_ABAP_CHAR_UTILITIES but I am not able to find out appropriate attributes for it. Can anybody tell me the solution to resolve the problem.
Is there any other to solve the problem.
Thanks & Regards
PrabhatHi,
Try following this peice of code.
TYPES: BEGIN OF TAB_TYPE,
TEXT(10) TYPE C,
XTEXT(160) TYPE X,
END OF TAB_TYPE.
DATA: TAB TYPE STANDARD TABLE OF TAB_TYPE,
WA_TAB TYPE TAB_TYPE.
CONVERT TEXT TAB-TEXT INTO SORTABLE CODE TAB-XTEXT.
Hope it works.
Thanks,
Sandeep. -
Edit Problem after changing and transporting a table view
Hallo Experts,
I hope you can help me.
I changed a Z-table in the Data Dictionary. For this table there exists an Tableview.
After I added three new fields I generate a new tableview:
Utilities -> table maintenance generator
Change -> create maintenance screen -> ok
after this I optimized the layout of the screen.
On our Enviromentsystem my Tableview works perfect.
I can make changes in the table.
Then I transported the new tableview to our testsystem.
There I started the sm30 "Maintain table view" and tried to change table entries.
After a click on "Maintain" the following Message appears:
TK 730 Changes to Repository or cross-client Customizing are not permitted.
The strangest thing is, that before my transport, it worked, I could change table entries.
There were no changes on the userrights.
And I can change a similar table on the testsystem.
I compared the properties of both tables. But I could not find a difference.
Have anybody an idea where the error can be?Hi
Caution: The table is cross-client
Message no. TB113
Diagnosis
You are in the process of maintaining a cross-client table. You are using the standard table maintenance screen here, which is frequently used to maintain client-specific Customizing entries. This message serves to warn you that each change you make will have an effect on all other clients in the system.
System response
You have the authorization required for cross-client maintenance.
Procedure
Think carefully about the effect of your changes. Due to logical dependencies between client-specific Customizing and applications data on the one hand and cross-client Customizing data on the other hand, changing or deleting cross-client data could result in inconsistencies.
Therefore such changes should be carefully planned and coordinated, taking all the clients in the system into consideration. -
Problem with the date field in Table Control
I have created a table control in my module programming. One of the column in the table control is a date field which is I/O field.
Now if I enter a value in date field column and hit enter the date field is reset. I dont want the field to get reset and accept valid date field.
I have set type of the column as DATS and I havent used any dictionary fields. The column is from the internal table in the program.
Please suggestIn your PAI, in the LOOP AT <itab> did you
- check date validity
- update internal table
* Sample
LOOP AT itab.
FIELD itab-field MODULE checkfield.
MODULE updateitab.
ENDLOOP.
Look also at SAP documentation like [Table Controls|http://help.sap.com/abapdocu/en/ABENTABLE_CONTROL1_ABEXA.htm] or [Table Controls in ABAP Programs|http://help.sap.com/saphelp_nw04/helpdata/EN/9f/dbac9f35c111d1829f0000e829fbfe/frameset.htm]
Regards,
Raymond -
Problem regarding Update-Statement on se11 table
Hello I tried to update a dataset in a se11 table using UPDATE Statement.
It doesn't work and I get a sy-subrc = 4.
That is my code:
TABLES ZTDM_SAPOUTPUT.
* Arbeitsbereich definieren
DATA:
wa_ZTDM_SAPOUTPUT LIKE ZTDM_SAPOUTPUT.
wa_ZTDM_SAPOUTPUT-PK = '1'.
wa_ZTDM_SAPOUTPUT-FNCODE = '3'.
wa_ZTDM_SAPOUTPUT-MATNR = '3'.
wa_ZTDM_SAPOUTPUT-MAKTX = '3'.
wa_ZTDM_SAPOUTPUT-ZEINR = '3'.
wa_ZTDM_SAPOUTPUT-MATKL = '3'.
wa_ZTDM_SAPOUTPUT-STATE = '1'.
UPDATE ZTDM_SAPOUTPUT FROM wa_ZTDM_SAPOUTPUT.
Write: 'UPDATE returned' , sy-subrc.
SKIP.
The given Dataset having PK=1 doesn't get updated.
Maybe my understanding is wrong:
Is it correct that the updated dataset ist defined by the primary key in this workingarea?
My Primary Key is PK.
Can you see the error?UPDATE dbtab FROM wa. or
UPDATE (dbtabname) FROM wa.
Changes one single line in a database table, using a primary key to identify the line and taking the values to be changed from the specified work area, wa. The data is read out of wa from left to right, matching the line structure of the database table dbtab. The structure of wa remains unchanged. This means that wa must be at least as wide (see DATA) as the line structure of dbtab, and have the same alignment. Otherwise, a runtime error occurs.
If either the database table, dbtab, or the work area, wa, contain Strings, wa must be compatible with the line structure of dbtab.
Example
Changing the telephone number of the customer with customer number '12400177' in the current client:
DATA wa TYPE scustom.
SELECT SINGLE * FROM scustom INTO wa
WHERE id = '12400177'.
wa-telephone = '06201/44889'.
UPDATE scustom FROM wa.
When the command has been executed, the system field SY-DBCNT contains the number of updated lines (0 or 1).
Examples
Update discount for the customer with the customer number '00017777' to 3 percent (in the current client):
DATA: wa TYPE scustom.
SELECT SINGLE * FROM scustom INTO wa
WHERE id = '00017777'.
wa-discount = '003'.
UPDATE scustom FROM wa.
The Return Code is set as follows:
SY-SUBRC = 0:
The specified line has been updated.
SY-SUBRC = 4:
The system could not update any line in the table, since there is no line with the specified primary key.
rwrd if helpful
bhupal -
Problem regarding confirm password field
Hi all,
We are using two fields password and confirm password.
Now the thing is that we want to restrict the user to copy-paste the password value into confirm password field.
Is it possible in SIM forms? If possible, please suggest how.
ThanksHi all,
I am able to resolve the issue using the following script in the field of display class javascript
var el;
onload=function()
el = document.forms[0].elements;
for(var i=0;i<el.length;i++)
if(el.name=='display.form.confirmEmail')
el[i].onpaste=function(){return false; }
}But it is only working for IE not for Firefox.
Any idea how we can make it compatible for both the browsers.
Thanks
Gaurav -
Hi everyone I have to print a table in a form. But only when change a field of table i have to print the header... like this
Field1 Field2 Field3
A 1 2
A 3 4
B 1 1
C 1 2
C 3 4
I have to print
(header) A
1 2
3 4
(header) B
1 1
(header) C
1 2
3 4
Is it possible? Thank you...HI friend,
I think these links will be helpful for you.
Link : [Displaying Contents in Cells|http://help.sap.com/saphelp_nw70/helpdata/en/fa/0c1447d30111d3b568006094192fe3/content.htm]
Link : [Specifying Table Output|http://help.sap.com/saphelp_nw70/helpdata/en/0b/5da4de2cf511d5b692006094192fe3/content.htm]
I too studied all the documentation of the class which you have mentioned and its two methods. It should work fine, but you are facing an issue. So try using the methods which they have specified in the above links and see are you arriving to your required solution.
Revert back to me if you have any queries.
Thanks,
Sri Hari -
Problem with Change Document FM - Not all fields are tracked in CDPOS
Hello everybody,
Using transaction SCDO and following necessary steps described in forum, I have created a change document ZFBR to track changes of a table ZFBR. The problem is, the generated FM ZFBR_WRITE_DOCUMENT does not track changes of some fields of the table (inserts are always ok, problem is with updates). After some debugging I realized that the FM DDIF_NAMETAB_GET was returning the table DFIES_TAB where the LOGFLAG was empty for some fields (which are not tracked) so that changes of these fields were not visible in table CDPOS. However, fields with LOGFLAG = 'X' are tracked succesfully (changes are visible in table CDPOS).
I did not specify any fields to be get logged or not during the steps in SCDO (can we do such a specification anywhere?), does anyone know why the field LOGFLAG has the value '' (space)?
Best regards;
Ozcan.Hi again,
The problem has been solved.
The data elements used in a table are the reason for the problem I have described above. When displaying the details of a data element, under tab "Further Characteristics" , the "Change Document" checkbox has to be selected to enable change document tracking. I have copied the problematic data elements with Z prefix and made the necessary enabling. I have replaced the data elements with their Z equivalents.
Best regards.
Ozcan. -
Problem with S001 - Key field Sequence in table
Hi,
We want to use the extractor 2LIS_01_S001 with Delta. But delta is not working with these extractor. When I checked LBW0, I am getting error "The LIS environment is setup incorrectly".
According to note 115192, the key fields in tables S001, S001BIW1 and S001BIW2 have to be in the same sequence.
But we are on 4.7 with following Support Packs:
SAP_APPL 470 0025 SAPKH47025 Logistics and Accounting
PI 2004_1_470 0007 SAPKIPZI57 R/3 Plug-In (PI) 2004.1 for
R/3 Enterpri
PI_BASIS 2004_1_620 0010 SAPKIPYI5A Basis Plug-In
(PI_BASIS) 2004_1_620
And according to this note, solution is delivered with this Support Packs.
Can you please tell me that if this note is mandatory for all the releases..?
Did any one encounter this issue before..?
Thanks & Regards,
Samay MehtaI changed my entity: unchecked the X column to be primary key added RowID as a primary key. Now it works.
What's wrong with my CHAR(1) as a primary key ?
I also tried to add a Refresh button:
<af:commandButton text="Refresh" id="cb3"/>and in the table add a partialTarget to the button. Now when I add new row and press the Refresh button - then it works.
So it seems that the problem is when I add new row and enter data, the table is not refreshed and the row is missing it's primary key.
Any solutions?
Edited by: a.gruev on Nov 26, 2009 4:18 PM -
Problem Regarding Creation of Compound field
Hi all,
I have a problem regarding creation of a compound source field.
My source field is say for eg. SF1 and SF2
Destination Field is a look up flat field say LF which has 2 display fields D1 and D2
I mapped SF1 to D1 and SF2 to D2
But when i right click at source and select 'Create compound field' for SF1 and SF2, the compound field is not created automatically.
Can anyone give me a hint as to why is this happening?
Regards,
RoshaniHi Roshani,
Just check for couple of other things, like
1) I hope its not a qualified table and none of those fields are qualified.
2) None of the fields are ther currently in the matching set in the next tab.
3) You didnt map the main filed (look up table filed, which is there as a sub-table name)
4) There are no more display fields for that table.
I hope it should be one of the above issues. please check for them.
Cheers,
Cherry. -
How to change the Field Symbol, so Adobe Forms takes it as a Table?
Hi guys,
I created an Field Symbol, in a Interface which I use for Adobe Forms. The type of the Field Symbol is STANDARD TABLE, and this field symbol I fill with data from another program.
But the problem is that in adobe forms, this Field Symbol is taken as TEXT FIELD and not as Table... and this shows me a Dump because it can't convert Internal Table to type C (the dump is like that).
What I need, is how to change the Field Symbol, so Adobe Forms takes it as a Table?
I looked at Adobe Form, and found this:
The Type Category of the Field Symbol is DICTIONARY TYPE and I think I need to change it to Internal Table as shown in the right picture.
Does someone have any idea?Hello Taly,
To what i understand your requirement, you need to pass data from Field symbol to internal table in Adobe form.
You have done it correct partially. I have replicated your scenario and steps are below -
1) Create a Z structure
2) Create Z Table Type
3) Create Adobe Interface with Table & Field Symbol. Also do coding as shown to assign the internal table populated in driver program to filed symbol.
4) Design Form as -
5) Code driver as -
*& Report ZR_AF_FS_1
REPORT zr_af_fs_1.
DATA: fm_name TYPE rs38l_fnam,
fp_docparams TYPE sfpdocparams,
fp_outputparams TYPE sfpoutputparams,
it_kna1 TYPE ztt_fs_1.
* Sets the output parameters and opens the spool job
CALL FUNCTION 'FP_JOB_OPEN' "& Form Processing: Call Form
CHANGING
ie_outputparams = fp_outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
IF sy-subrc <> 0.
* <error handling>
ENDIF.
*&---- Get the name of the generated function module
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' "& Form Processing Generation
EXPORTING
i_name = 'ZAF_FS_1'
IMPORTING
e_funcname = fm_name.
IF sy-subrc <> 0.
* <error handling>
ENDIF.
*-- Fetch the Data and store it in the Internal Table
SELECT kunnr name1 name2 adrnr FROM kna1 INTO TABLE it_kna1 UP TO 15 ROWS.
* Language and country setting (here US as an example)
fp_docparams-langu = 'E'.
fp_docparams-country = 'US'.
*&--- Call the generated function module
CALL FUNCTION fm_name
EXPORTING
/1bcdwb/docparams = fp_docparams
it_data = it_kna1
* IMPORTING
* /1BCDWB/FORMOUTPUT =
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3.
IF sy-subrc <> 0.
* <error handling>
ENDIF.
*&---- Close the spool job
CALL FUNCTION 'FP_JOB_CLOSE'
* IMPORTING
* E_RESULT =
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
* <error handling>
ENDIF.
6) Output -
BR. -
Problem with adding new field to the mass change screen in FBL5N
Hi,
We have a problem with adding the field XREF3 to the mass change screen. We followed steps described in the SAP Note 640908, but the result is that when we try to mass change some documents in FBL5N and enter some values in the mass change screen, a message appears: "Please enter at least one new value" and nothing is changed.
If you have faced with such a problem, we would be grateful if you give us some tips.
Regards,
Miłosz WłodarczykThe problem has been resolved: we didn't activate a code in SE80.
-
Creating Change Document for Custom Field in Table PROJ
Hi,
We have a few Custom Fields in Table PROJ.
What needs to be done so that every time a particular custom field is changed, change document in table CDHDR and CDPOS are created.
Regards,
Tarun BahalHi Tarun,
Please refer [Link1|https://help.sap.com/saphelp_nwmobile71/helpdata/en/2a/fa018f493111d182b70000e829fbfe/content.htm] & [Link2|http://help.sap.com/saphelp_erp2005/helpdata/en/db/7a2a40ce93185de10000000a1550b0/content.htm]
Hope this helps!
Regards
Shital -
Processing on change of field values in internal table
I have a internal table eg
id type keyword
1 1 report
1 1 program
n02 4 event
n02 5 loop
n03 6 call
n03 6 do
No when even id changes from 1 to n02...i want to write " id id 1' similarily wenever id changes from n02 to n03 then id is " id is n02" and so on
How can do some sequential processing on change of field values in internal tablehi,
This code will resolve your purpose.
DATA:
BEGIN OF t_tab OCCURS 0,
int TYPE c,
str TYPE char10,
var TYPE char3,
END OF t_tab.
t_tab-var = '1'.
t_tab-int = 1.
t_tab-str = 'report'.
APPEND t_tab.
t_tab-var = '1'.
t_tab-int = 1.
t_tab-str = 'program'.
APPEND t_tab.
t_tab-var = 'n02'.
t_tab-int = 4.
t_tab-str = 'event'.
APPEND t_tab.
t_tab-var = 'n02'.
t_tab-int = 5.
t_tab-str = 'loop'.
APPEND t_tab.
t_tab-var = 'n03'.
t_tab-int = 6.
t_tab-str = 'call'.
APPEND t_tab.
t_tab-var = 'n03'.
t_tab-int = 6.
t_tab-str = 'do'.
APPEND t_tab.
LOOP AT t_tab.
ON CHANGE OF t_tab-var.
WRITE:
/ 'id' ,t_tab-var, t_tab-int.
ENDON.
ENDLOOP.
Thanks and regards
Sharath
Maybe you are looking for
-
This was only 1 page, not a large amt of printing?
This was only 1 page, not a large amount of printing?
-
My itunes is saying that I cant use it on my pc because the apple moble device is not started what do i do to fix it
-
Can we run a java class in a external server through abap program?
Dear Experts, Can we run a java class in an external server ( other than application server and client system )? I have tried running it in the client system through a program and it works. But i have the requirement of running it in another system.
-
EXSORT_NOT_ENOUGH_MEMORY
Dear All, We are getting this dump while blocking PO in ME32L in our production. Production is on Windows NT 32Bit with 4 GB physical RAM. Standard parameter-- ztta/roll_first 1 ztta/roll_area 2000000 ztta/roll_extension
-
Firefox prevents a new page from opening? why?
Each time I click on a link in my email, I get an error msg after a new tab is opened: "Firefox prevented this page from automatically redirecting to another page" And I have to always click the tab that says "ALLOW" Why????