LSMW field reading problem
Hi Experts,
I am trying to create a LSMW for ROH type material to create materials for tcode MM01. I have 62 fields to upload but having a problem. When i am passing through step READ DATA i noticed that upto 50 fields it is getting read successfully but from 51th no field data is getting read from my .txt upload file. Let me discuss the problem in details. My 50th field is of size 3 characters. Now if i put value of size 3 characters for that field no data is getting read from 51 to 62 fields. But if i pass a value of say 1 character in the 50th field then, the first 2 characters of 51th field is getting read and the rest is blank. Can anyone explain this ? Please suggest me.
Thanks in advance.
Regards,
Surya
Hi Jürgen L. ,
Thanks for your reply.
I have created the source structure using table maintenance. From recording i copied all the required fields and created the table maintenance.
The problem field is : Consumption period: forward and the technical fiieldname is VINT2.
The fields before the problem field are as follows :
MATNR C 18 Material Number
MBRSH C 1 Industry sector
MTART C 4 Material Type
KZSEL_01 C 1 Checkbox
KZSEL_02 C 1 Checkbox
KZSEL_04 C 1 Checkbox
KZSEL_05 C 1 Checkbox
KZSEL_06 C 1 Checkbox
KZSEL_07 C 1 Checkbox
KZSEL_08 C 1 Checkbox
KZSEL_09 C 1 Checkbox
KZSEL_10 C 1 Checkbox
KZSEL_11 C 1 Checkbox
KZSEL_12 C 1 Checkbox
KZSEL_13 C 1 Checkbox
KZSEL_14 C 1 Checkbox
KZSEL_15 C 1 Checkbox
KZSEL_17 C 1 Checkbox
KZSEL_03 C 1 Checkbox
WERKS C 4 Plant
LGORT C 4 Storage Location
VKORG C 4 Sales Organization
VTWEG C 2 Distribution Channel
MAKTX C 40 Material Description (Short Text)
MEINS C 3 Base Unit of Measure
MATKL C 9 Material Group
SPART C 2 Division
MTPOS_MARA C 4 General item category group
GEWEI C 3 Weight Unit
SKTOF C 1 Cash discount indicator
TAXKM_01 C 1 Tax classification material
TAXKM_02 C 1 Tax classification material
MTPOS C 4 Item category group from mate
MTVFP C 2 Checking Group for Availabili
TRAGR C 4 Transportation Group
LADGR C 4 Loading Group
PRCTR C 10 Profit Center
WEBAZ C 3 Goods Receipt Processing Time
DISMM C 2 MRP Type
DISPO C 3 MRP Controller (Materials Pla
DISLS C 2 Lot size (materials planning)
PLIFZ C 3 Planned Delivery Time in Days
FHORI C 3 Scheduling Margin Key for Flo
EISBE C 13 Safety Stock
EISLO C 13 Minimum Safety Stock
PERKZ C 1 Period Indicator
STRGR C 2 Planning strategy group
VRMOD C 1 Consumption mode
VINT1 C 3 Consumption period: backward
Fields after the problem field are as follows :
SBDKZ C 1 Dependent requirements ind
IPRKZ C 1 Period Indicator for Shelf Li
ART_01 C 8 Inspection Type
APA_01 C 1 Preferred Inspection Type
AKTIV_01 C 1 Inspection Type - Material Co
BWTTY C 1 Valuation Category
BKLAS C 4 Valuation Class
VPRSV C 1 Price control indicator
PEINH C 5 Price Unit
EKALR C 1 Material Is Costed with Quant
LOSGR C 13 Lot Size for Product Costing
Regards,
Surya
Similar Messages
-
When I run the following query out of a CF script, no records
are returned:
<cfquery name="getTeams" datasource="#dsn#">
SELECT ID FROM teams
WHERE weight = #weight# AND division = '#division#'
</cfquery>
However, running the same query out of a MS ACCESS direct
query, the query returns the expected results. It appears to be
something with accessing more than one field at a time. Running the
following query works fine:
<cfquery name="getAllTeams" datasource="#dsn#">
SELECT ID
FROM teams
WHERE weight = #weight#
</cfquery>
Any help anyone can provide would be very much
appreciated!then your problem isn't with multiple items in your WHERE
clause, your problem is that specific check.
Put the following code right before the <cfquery> to
verify what's in that division coldfusion variable:
<cfoutput>Division = -#division#-</cfoutput>
Note the dashes. Now copy and paste the contents in between
the dashes (including any leading/trailing spaces that may be
there) into your query in MS Access. Does that work? No? Why? are
there extra leading/trailing spaces that need to be removed? If so,
put #trim(division)# in there instead of just #division#. -
How to make users to select the date from calendar control only, by my making the date text field read only (don't want to let users type the date) in date time control in external list in sharepoint 2010. I am looking for a solution which can
be done through sharepoint desginer / out of the box.
thanks.Congratulate you got the solution by yourself. I am new to a
WinForms calendar component, I feel so helpless on many problems even I'd read many tutorials. This question on the
calendar date selection did me a great favor. Cheers. -
How to make fields read only after form is filled in
I am creating forms to be used within our company. The customer srv representative (CSR) would fill in the form and send it to the customer for signature and initial. There are a few issues I can't solve.
1) I need to make the rate & services fields read only after the CSR initials the formWill the CSR have Acrobat or just Reader, and what type of computer will the CSR be using (Windows/Mac/mobile OS)? If just Reader (Wind/Mac), this is possible by setting the fields to read-only with JavaScript. The problem is this can't be considered secure, even if using a password as discussed here: Password-protect and hide one form field
With Acrobat you have the ability to flatten certain fields, which makes it a bit more difficult to change the "fields". -
How to Conditionally make some standard fields read only in OSC Simplified UI?
Hello everyone, We have a requirement to make certain group of fields read only based on the value in another field. For example if the status changes to "Closed" then make the Name and Address fields read only. All these fields are standard fields. Is this possible in Oracle Sales Cloud?
Post your problem in the forum for LiveCycle Designer.
-
How do I TRULY remove the CRLF (#) from the last field read in CSV dataset?
Good day, everyone!
PLEASE NOTE: I spent most of yesterday searching SDN and reading all kinds of threads on this topic. Yes, I know, there ARE other threads out there regarding this topic, but I spent all of yesterday afternoon trying every solution posted and nothing worked. So, to my knowledge, nobody has yet to post a definite solution to this problem.
I am reading a comma-delimited CSV file from our Application Server. It was originally in Microsoft Excel but saved as a CSV file. I open the file as follows:
OPEN DATASET p_fname FOR INPUT IN TEXT MODE ENCODING DEFAULT.
Here is my loop to read the entire file into an internal table, splitting it into individual fields:
READ DATASET p_fname INTO wa_unsplit.
WHILE sy-subrc EQ 0.
ADD 1 TO w_unsplit_tot.
SPLIT wa_unsplit AT w_comma INTO:
wa_split-massn
wa_split-massg
wa_split-curr
wa_split-persg
wa_split-pernr
wa_split-persid
wa_split-persk
wa_split-stat2
wa_split-fisc_year
wa_split-funds_center
wa_split-plans
wa_split-orgeh
wa_split-abkrs
wa_split-werks
wa_split-sem_posit
wa_split-ansal
wa_split-bsgrd
wa_split-adm_adj_amt
wa_split-hourly_rate.
APPEND wa_split TO it_split.
CLEAR: wa_unsplit,
wa_split.
READ DATASET p_fname INTO wa_unsplit.
ENDWHILE.
The problem is that the last field, wa_split-hourly_rate (defined as character length 17) gets a '#' appended to the end of it. This happens with each record, and it appears to be the CR/LF character (the value of it in hex is the same as cl_abap_char_utilities=>cr_lf).
I've tried everything previously recommended to strip this character from my hourly_rate field. I've tried another STRIP command. I've tried REPLACE and TRANSLATE and a whole slew of things. Despite all the threads that exist on SDN about this, I've yet to find something that truly works.
Certainly I can't be the first person reading a file from the Application Server and having this issue.
Please do NOT post links to solutions that DO NOT WORK! Full points will be awarded to anyone who can solve this challenge.
Thanks everyone!Success! Peluka and Naimesh, I had to combine your two recommendations, and I finally got it to work!
Thanks for the clarification, Rich. I ended up calling my "aux" field "junk" for lack of a better word, but in the end you confirmed what I thought it was.
For anyone else out there who has struggled finding a successful answer to this challenge, here's what worked for me:
CONSTANTS: c_comma(1) TYPE c VALUE ',',
c_crlf(1) TYPE c VALUE cl_abap_char_utilities=>cr_lf.
DATA: w_junk TYPE string.
READ DATASET p_fname INTO wa_unsplit.
WHILE sy-subrc EQ 0.
ADD 1 TO w_unsplit_tot.
SPLIT wa_unsplit AT c_comma INTO:
wa_split-massn
wa_split-massg
wa_split-curr
wa_split-persg
wa_split-pernr
wa_split-persid
wa_split-persk
wa_split-stat2
wa_split-fisc_year
wa_split-funds_center
wa_split-plans
wa_split-orgeh
wa_split-abkrs
wa_split-werks
wa_split-sem_posit
wa_split-ansal
wa_split-bsgrd
wa_split-adm_adj_amt
wa_split-hourly_rate.
And here is the line that removes the CR/LF character from the end of the Hourly Rate field!
SPLIT wa_split-hourly_rate AT c_crlf INTO:
wa_split-hourly_rate w_junk.
APPEND wa_split TO it_split.
CLEAR: wa_unsplit,
wa_split.
READ DATASET p_fname INTO wa_unsplit.
ENDWHILE.
Thanks so much, everyone! Once again, SDN folks save the day. Points awarded! -
I just burned through 10 dvds and they all look terrible. There are all these wavy lines. Is this a field order problem? If so, how do I correct it. I have missed my deadline and I am in big trouble. Please help.
ThanksI just burned through 10 dvds and they all look
terrible. There are all these wavy lines. Is this a
field order problem? If so, how do I correct it. I
have missed my deadline and I am in big trouble.
DV formats ALWAYS use field 1 dominance -- LOWER FIELD FIRST!
Since your content was created in a graphics program and not a DV camcorder, be sure to read through: http://www.greatdv.com/video/fields.htm
BTW, It's ALWAYS the best idea to create a disk image out of iDVD (an option under FILE). Verify the image plays correctly with Apple's Disk Utility and then make the actual burns to writable media with Apple's Disk Utility or Roxio's Toast. Use quality DVD-R media (Verbatim or Maxell) and burn at 4x speed or lower.
F Shippey -
Make field read only untill value within pciklist is choosen
Hello,
I am trying to establish if it is possible to make a field read-only until a value within a pick list is chosen. Basically we have a pick list called structure and if the field value called "Aligned" is selected then I want the text field called Aligned Name to be available for import all other times this field should not be available.
Has anyone done anything similar? I'm guessing that this could only be achieved through WF but I haven't been able to find any code to make fields read only.For those of you unable to download the document from MetaLink3 here it is:
As an example to illustrate this requirement, let’s say that once there is a checkbox field called "My_Check_Box". When this field is checked, the "Account Type" field need to become a required for entry by the user. To do this follow these steps:
1. In the Admin> Application Customization, select the appropriate Object and go into the Object Field Setup.
2. Edit the field called "My_Check_Box" and enter a Field Validation expression so it uses the following expression:
=[<bMy_Check_Box_ITAG>] AND NOT([<AccountType>] IS NULL AND [<bMy_Check_Box_ITAG >]='Y')
3. Enter an explicit error message.
This expression means that when the checkbox field is checked, the Account Type becomes required. Your custom error message will be raised when checking the checkbox, leaving the account type unpopulated and trying to save the account record.
4. Edit the Account Type field and enter the following expression as Field Validation:
=[<AccountType>] AND NOT([<AccountType>] IS NULL AND [<bMy_Check_Box_ITAG >]='Y')
5. Enter an explicit error message.
That validation handles the user case where a user changes the Account Type value from a NOT NULL value to a NULL value. Your custom error message will be raised when emptying out the account type from a populated value to nothing while the checkbox is checked and trying to save the account record.
Note that the expression in both fields validations begins with the field variable on which the statement is being written.** -
Field Read Only based on a value of another field
Hello,
In our project we´d like to have Field A made Read Only based on a value of Field B. Otherwise it should be R/W.
Would this be possible in OnDemand ?
Txs. a lot for any help.
AntonioIf your field is the key field that helps in dynamic layout then this is possible. If not try doing a validation on the field.
-
I created a Custom list New Form and need to make the text fields read only
When I use SharePoint Designer and add the read only attribute to the SharePoint form field, then it throws a web part error.
but here is the thing, I have current user Filters populating the Form Fields. So the form fields populate First name , last name etc. and I need these fields read-only....
the Client doesn t want the end user to Change those fields. Is there any way to "LOCK" the form fields?
As I have only 7 text fields that need to be locked down. and one field is a signature line that is a true input field.. where the user has to inter their initials.
Any ideas? as I have tried most of the items available thru searches nothing works, or it throws that web part error message.
Steve AtheyDaniel: ( I'm now at work, a different ID is logged on for me)
I used SharePoint Designer.
Steps:
created a web part page
then on the SharePoint Designer ribbon I then went to insert:
new item form
Then I selected my data source (list)
then I placed the 8 columns on the page
a page viewer web part to pull the manual that people have to read.
and 7 current user filter webparts. (1 for each form field) Yes it is over kill, but I'm trying to keep this straight out of box as much as possible...
then for the form fields
I added a parameter and the read only tag see below in bold:
<asp:TextBox runat="server" text="{$ParamEmployID}" id="ff17{$Pos}" __designer:bind="{ddwrt:DataBind('i',concat('ff17',$Pos),'Text','TextChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Employee_x0020_ID')}"
ReadOnly="True" />
I also added the parameters in the ribbon area
the error message doesn't tell me much, it just send me to web part maintenance page...
if I removed the ReadOnly = True then the error goes away..... So I was trying to find a quick simple JQuery and or javascript code item that would make the 7 text fields readonly and leave the
8th text field alone to allow people to place their initials on the page to say that they read the manual.
I have created hundreds of these types of pages .. this is the first time I have run into this issue, but it also the first time I have tried to use the ReadOnly = True item.
Any Ideas and or thought on how to make the items read only? and not throw the error.
Steve -
How to make few DFF fields read only in Forms
Hello.....
I am having an Issue in forms customization through custom.pll
I need to make few DFF fields read only in HRMS enter and maintain form through custom.pll
I tried with fnd_descr_flex.update_definition but in vain
So please help me how to rectify this issue.
Edited by: user.nazeer25 on Jul 9, 2010 5:27 AMHello,
Wrong forum.
Ask this kind of question in the E-Business Suite forum ;-)
Francois -
OA Framework,how to make field Read-Only which is used inside Switch case
Hi all,
Using Personalization in OA Framework, when I am trying to make field read only, which is inside Swich statement ,then that field get automatically hidden.but my purpose is to make that field read-only not hide.
My field name is Proposed Annual Increase Amount .
The Personalization swtich case lookslike this :-
Field Name Shown
Switcher: Proposed Annual Increase Amount Yes
case_name_HrPRateAnnTotInputSs
Message Text Input: New Annual Amount Yes
case_name_HrPRateAnnInputSs
Message Text Input: Annual Pay Rate Yes
case_name_HrPRateCurrAnnSalSs
Message Styled Text: Pay Rate
Regards,
Mxj2930Can you be a bit clear on your requirement. If you have a switcher to display a field based on some condition, the other fields will not get displayed. I did not get as to what you mean by "my purpose is to make that field read-only not hide.".
Are you talking about the case, when the "New Annual Amount" (or) "Annual Pay Rate" fields are displayed conditionally, you want them to be read-only and not editable. If this is the case, set the read-only property of these fields to true. -
While I may allow a customer to see their billing address, I don't want them to change it. How can I make certain fields read-only?
Hi Thomas,
If you are using 2007, find the ~/common/controls/accountaddressblock.ascx and make the templatefields that hold the delete button and the edit button invisible.
<asp:TemplateField Visible="false">
You will probably also want to make the add button invisible.
If you are on 5.9, this may not work. I think the address block is also used in the admin area. -
How to make fields Read only on all tabs in one go with the help of feeder classes in SAP EHS?
I have a requirement where once we press SAVE button i have to make all the fields read only in tabs highlighted below.Which is the best method to do it.?
There are number of fields in all these tabs and we want to make them read only on particular Action event.How to do it?
Thanks,
VimalHi Vimal,
As I understood you reformulate this question at this page. I will try to help you there.
Kind regards, Aliaksandr. -
Make "File name" and "Files of type" fields read-only in JFileChooser
I try to make the "File name" and "Files of type" fields read-only in JFileChooser dialog. Anybody
knows how to do? Thanks.You mean so the user can't choose the name of the file to open or save? Not much point in even using a JFileChooser, then, is there? Or did I misunderstand the question?
Maybe you are looking for
-
Help me with birthdays in iCal
I have not used iCal very much because I have been using a Treo calendar. I bought an iPhone this week and want to start using iCal for all of my schedules, appointments and birthdays. I understand a little about how iCal works. Here is what is bothe
-
How can I sort movies by price in iTunes?
How can I sort movies by price in iTunes?
-
Open a PDF link in safari or adobe.
I am on a website that pulls up a single page PDF. On my laptop I can click on the bookmarks chain to the left to open another PDF book. In safari on my ipad 2 I cannot find a bookmarks tab. If I open the web page in adobe I can click on the bookmark
-
Need to put contents of a file stored in FileContents into a ByteBuffer
As the title says. Can't find anything that shows how to accomplish the goal. Have a file stored in FileContents. Need to get the file's contents into a ByteBuffer. Any ideas how I can go about doing that? Thanks
-
OWB 904: DBLINK user does not have tables in its schema ?
For an external Oracle source module, there is a dblink that has been defined. But the user that has been used for this dblink does not have any tables/views in its schema. The tables are in a different schema. How do I get acces to those tables thro