No read access to field string MKPF in SLIN
Hi Friends,
while checking my program through extended program check it is giving warning message as "No read access to field string MKPF" in the TABLES statement. How to correct this?
Hi
The system is just only giving warning as if said to you:
- Hey Abaper! You have declared to use the headerline of MKPF, but perhaps you aren't using it. Check your code and if you don't use you delete that declaretion.
So if you don't use MKPF in your program, you can delete the declaretion, if you use it you can do nothing or you put the string "#EC NEEDED at the end of declaretion. If you do it, while checking program through extend program check, the system skips that message and doesn't show you.
We often use header line of dictionary table only to do an existence query, in this case the system can give that warning message.
For example:
TABLES: BKPF.
SELECT SINGLE * FROM BKPF WHERE BUKRS = P_BUKRS
AND BELNR = P_BELNR
AND GJAHR = P_GJAHR.
IF SY-SUBRC = 0.
WRITE: 'Hello'.
ENDIF.
So I made a query on bkpf, but after I haven't read or used its headerline, so the system give me that message.
If I write:
SELECT SINGLE BUKRS FROM BKPF INTO P_BUKRS
WHERE BUKRS = P_BUKRS
AND BELNR = P_BELNR
AND GJAHR = P_GJAHR.
IF SY-SUBRC = 0.
WRITE: 'Hello'.
ENDIF.
I've done the same thing but now I haven't declared to use the headerline BKPF and so the system won't give me that warning message.
Max
Message was edited by: max bianchi
Message was edited by: max bianchi
Similar Messages
-
No read access to field string
TYPES: BEGIN OF addr,
adrnr TYPE adrc-addrnumber,
END OF addr.
i_addr TYPE TABLE OF addr,
wa_i_addr TYPE addr,
After executing extended program check I get the following. What does it mean and how do I fix this.
<b>No read access to field string WA_I_ADDR
(The message can be hidden with "#EC NEEDED)</b>Hi,
Please try this.
TYPES: BEGIN OF addr,
adrnr TYPE adrc-addrnumber,
END OF addr.
DATA: i_addr TYPE addr,
wa_i_addr TYPE addr.
Regards,
Ferry Lianto -
Warning: No read access to field XYZ
Hello Experts.
How can I eliminate such a warning message ?
No read access to field XYZ
Regards
sashi
good
you have not mentioned where exactly you r getting this error,if you r getting as a message end of the screen than yo u have to debug the report and see where it is actually giving the message or wheather they have create da test it,
thanks
mrutyun^ -
No read access to field L_C_ATINN
Hi
I have the following error
No read access to field L_C_ATINN
for the code
data: l_c_atinn TYPE cabn-atinn.
in SLIN check please advice how to avoid thisKittu,
We can use comment #EC NEEDED to make the message ignore as the variable is used.
Declare as below.
data: l_c_atinn TYPE cabn-atinn. "#EC NEEDED
Kind Regards
Eswar -
I declared
Data: V_USRID TYPE SYSID.B
But in extended program check it is showing that
No read access to field V_USRID.
Every time i am hiddening this type of message, is there any solution for this. please guide meHi,
This is because the variable to get the name of SAP R/3 is declared and assigned the value sy-sysid, but no where the variable is assigned to other variable..
Since it is used for only assignment, in the extended program check it shows as no read access.
To avoid this you can avoid declaring the variable if it is not used anywhere in your code, else comment the code as given in extended check. -
Giving Read access to key fields explicitly
Hi sap gurus,
How to give read access to key fields explicitlyHi and thanks for the response.
The user has 2 security groups.
The first allows them "All" access to their entity, default and the RD security class for R&D accounts.
This group means they have read/write access to all accounts, which for their own entity is acceptable.
If in the second group I give them read access to all entities then they can read all accounts for all entities.
I need to stop them from seeing all accounts except the RD accounts for the other entities.
Is this possible? -
Is It possible to access checksum field of LIN frame?
Hi All,
I am using LabVIEW 8.2 and PCI 3072 LIN card (GÖPEL electronic GmbH) .
Is it possible to access checksum field of LIN frame? I have to test one LIN driver - LIN conformance test. So I need to access timing of each byte, value of checksum, sync field etc. Anybody please reply
Regards
Preejesh M RHi,
You should have found some examples along with the Drivers provided in the CD which comes along with the card. If not, you can contact Goepel and they can provide them. Which driver APIs are you using for this device? Is there a function for checksum in the API, if not you can create a logic to read the string and convert it to a number and add all the bits together. My first suggestion, however is to contact Goepel.
Thanks,
National Instruments
Applications Engineer -
How to access dynamic fields in a field symbol
hi
how do i access the dynamic fields created in side a field-symbol....
wht i mean is i have a table, whose workarea i assign to field symbol. but this table is runtime, altough i have debugged and found the values in this table, I want to accees the field symbol in a generic way.
say the table has 3 fields now fld1 fld2 and fld3 so i want to access the field symbol <fs> as <fs>-(name) where name can be anything fld1 or fld2 whichever i assign....
thanks. Let me know if you have any further questions.Field symbols are placeholders or symbolic names for other fields. They do not physically reserve space for a field, but point to its contents. A field symbol cam point to any data object. The data object to which a field symbol points is assigned to it after it has been declared in the program.
Whenever you address a field symbol in a program, you are addressing the field that is assigned to the field symbol. After successful assignment, there is no difference in ABAP whether you reference the field symbol or the field itself. You must assign a field to a field symbol before you can address it in a program.
Field symbols are similar to de-referenced pointers in the C programming language (that is, pointers to which the content operator * is applied). In ABAP, data references represent a real equivalent to pointers in the sense of variables that contain a memory address and can be used without the contents operator.
All operations programmed with field symbols are applied to the field assigned to it. A MOVE statement between two field symbols, for example, assigns the contents of the field assigned to another source field symbol to the field assigned to the target field symbol. The field symbols themselves point to the same fields after the MOVE statement as they did before the MOVEstatement.
You can create field symbols either without or with type specifications. If you do not specify a type, the field symbol inherits all of the technical attributes of the field assigned to it. If you do specify a type, the system checks during the field assignment whether the assigned field matches the type of field symbol.
Field symbols provide greater flexibility when you address data objects:
· You can assign one field symbol to another, which allows you to address subfields.
· Assignments to field symbols may extend beyond field boundaries. This allows you to address regular sequences of fields in memory efficiently.
· You can also force a field symbol to take different technical properties than those of the field assigned to it (casting).
The flexibility of field symbols provides elegant solutions to certain problems. On the other hand, it does mean that errors can easily occur. Since fields are not assigned to field symbols until runtime, the effectiveness of syntax and security checks is very limited for operations involving field symbols. This can lead to runtime errors or incorrect data assignments.
While runtime errors indicate an obvious problem, incorrect data assignments are dangerous because they can be very difficult to detect. For this reason, you should only use field symbols if you cannot achieve the same result using other ABAP statements.
For example, you may want to process part of a string where the offset and length depend on the contents of the field. You could use field symbols in this case. The MOVE statement (with your own auxiliary variables, if required) is much safer than using field symbols, since it cannot address memory beyond the boundary of a field. However, field symbols may improve performance in some cases.
To declare a field symbol, use the statement
FIELD-SYMBOLS .
For field symbols, the angle brackets are part of the syntax. They identify field symbols in the program code.
If you do not specify any additions, the field symbol.
in a static ASSIGN and:
ASSIGN (dobj) TO from the second loop pass onwards. -
Social comment control in custom page layout stucks at "Working" for read access users
Hi,
I created a custom page layout which is attched to my custom content type.
i have a custom field control which is derived from RichImageField.
i have also added a social comment control to the page layout using
<SharePointPortalControls:SocialCommentControl ID="SocialCommentControl1" runat="server" />.
Now the problem is, an user who have read access for a pages library should post comments. but its not working and when the user clicks post button it stucks at working. but when the user is given contribute access then it works and the comments are posted.
And one more thing is if i remove my custom field control from the page layout, then user with read access can post the comment without any issues.
i am sure the issue is caused by my custom field control but dont know how to solve it. i dont want to give contribute access to the users as they can edit the content of the page also. Any help would be appreciated.
This is the custom field control code.
public class mycompanyRichImageField : RichImageField
public static string webimage = null;
#region Private variables
/// <summary>
/// File upload control used to upload image.
/// </summary>
private FileUpload fileUpload;
/// <summary>
/// Upload button.
/// </summary>
private Button btnSave;
/// <summary>
/// Delete button.
/// </summary>
private Button btnClear;
/// <summary>
/// Article image.
/// </summary>
private Image imgPicture;
/// <summary>
/// Image width.
/// </summary>
private DropDownList ddlWidth;
/// <summary>
/// Temporary store image url.
/// </summary>
private Label lblFileName;
/// <summary>
/// Image text.
/// </summary>
private TextBox txtImage;
/// <summary>
/// Value of image field.
/// </summary>
private ImageFieldValue pageImage;
/// <summary>
/// List item - current article.
/// </summary>
private SPListItem ArticlePage = SPContext.Current.ListItem;
/// <summary>
/// The first image width dropdown list options, default value 240 px.
/// </summary>
// private int imageWidthWide = 400;
//private int height = 225;
/// <summary>
/// The second image width dropdown list options, default value 120 px.
/// </summary>
private int imageWidthNarrow = 126;
/// <summary>
/// Picture library to store the image files.
/// </summary>
private string imageLibrary = "Images";
/// <summary>
/// List field to store Article image.
/// </summary>
private string imageField = "Page Image";
/// <summary>
/// List field to store image text.
/// </summary>
private string imageTextField = "Image Text";
private string preview = "Preview";
/// <summary>
/// List field to store rollup image.
/// </summary>
private string rollupImageField = "Rollup Image";
/// <summary>
/// Whether to update the rollup image using the current image.
/// </summary>
private bool updateRollupImage = false;
/// <summary>
/// Whether to display image text.
/// </summary>
private bool enableImageText = true;
#endregion
#region Properties
/// <summary>
/// Gets or sets the first choice of image width.
/// </summary>
//public int ImageWidthWide
// get
// return this.imageWidthWide;
// set
// this.imageWidthWide = value;
//public int ImageHeight
// get
// return this.height;
// set
// this.height = value;
/// <summary>
/// Gets or sets the second choice of image width.
/// </summary>
public int ImageWidthNarrow
get
return this.imageWidthNarrow;
set
this.imageWidthNarrow = value;
/// <summary>
/// Gets or sets the name of the picture library that is used to store image files.
/// </summary>
public string ImageLibrary
get
return this.imageLibrary;
set
this.imageLibrary = value;
/// <summary>
/// Gets or sets the field name of image.
/// </summary>
public string ImageField
get
return this.imageField;
set
this.imageField = value;
/// <summary>
/// Gets or sets the field name of image text.
/// </summary>
public string ImageTextField
get
return this.imageTextField;
set
this.imageTextField = value;
/// <summary>
/// Gets or sets the field name of rollup image.
/// </summary>
public string RollupImageField
get
return this.rollupImageField;
set
this.rollupImageField = value;
public string Preview
get
return this.preview;
set
this.preview = value;
/// <summary>
/// Gets or sets a value indicating whether to update rollup image using current image.
/// </summary>
public bool UpdateRollupImage
get
return this.updateRollupImage;
set
this.updateRollupImage = value;
/// <summary>
/// Gets or sets a value indicating whether the image text should be displayed.
/// </summary>
public bool EnableImageText
get
return this.enableImageText;
set
this.enableImageText = value;
#endregion
#region Override methods
/// <summary>
/// Using get method instead of set method to set the value.
/// set method cannot be used here.
/// </summary>
public override object Value
get
ImageFieldValue value = new ImageFieldValue();
value.ImageUrl = string.IsNullOrEmpty(this.lblFileName.Text) ? this.imgPicture.ImageUrl : this.lblFileName.Text;
// value.Width = string.IsNullOrEmpty(this.ddlWidth.Text) ? this.ImageWidthWide : Convert.ToInt32(this.ddlWidth.Text);
// value.Height = this.ImageHeight;
////update the page rollup image.
if (this.UpdateRollupImage)
this.ArticlePage[this.RollupImageField] = value;
if (this.EnableImageText)
this.ArticlePage[this.ImageTextField] = this.txtImage.Text;
this.ArticlePage.SystemUpdate(false);
return value;
set
base.Value = value;
/// <summary>
/// Intialize all controls.
/// </summary>
protected override void CreateChildControls()
this.pageImage = (ImageFieldValue)this.ArticlePage[this.imageField];
this.ddlWidth = new DropDownList();
this.ddlWidth.Width = 99;
// this.ddlWidth.Items.Add(this.ImageWidthWide.ToString());
this.ddlWidth.Items.Add(this.ImageWidthNarrow.ToString());
if (this.pageImage != null && !string.IsNullOrEmpty(this.pageImage.ImageUrl))
// if (this.pageImage.Width >= this.ImageWidthWide)
// // this.ddlWidth.SelectedIndex = 0;
//else
// // this.ddlWidth.SelectedIndex = 1;
// this.Controls.Add(this.ddlWidth);
this.imgPicture = new Image();
if (this.pageImage != null && !string.IsNullOrEmpty(this.pageImage.ImageUrl))
this.imgPicture.ImageUrl = SPContext.Current.Site.Url + this.pageImage.ImageUrl;
this.Controls.Add(this.imgPicture);
this.fileUpload = new FileUpload();
this.fileUpload.Width = 180;
this.Controls.Add(this.fileUpload);
this.btnSave = new Button();
this.btnSave.Text = "Upload";
this.btnSave.CausesValidation = false;
this.btnSave.Visible = string.IsNullOrEmpty(this.imgPicture.ImageUrl) ? true : false;
this.Controls.Add(this.btnSave);
this.btnSave.Click += new EventHandler(this.BtnSave_Click);
this.btnClear = new Button();
this.btnClear.Text = "Delete";
this.btnClear.CausesValidation = false;
this.btnClear.Visible = !this.btnSave.Visible;
this.Controls.Add(this.btnClear);
this.btnClear.Click += new EventHandler(this.BtnClear_Click);
this.lblFileName = new Label();
this.Controls.Add(this.lblFileName);
if (this.EnableImageText)
this.txtImage = new TextBox();
this.txtImage.TextMode = TextBoxMode.MultiLine;
this.txtImage.Rows = 4;
this.txtImage.Text = this.ArticlePage[this.ImageTextField] == null ? string.Empty : this.ArticlePage[this.ImageTextField].ToString();
this.Controls.Add(this.txtImage);
/// <summary>
/// Render the field in page edit mode.
/// </summary>
/// <param name="output">Output stream.</param>
protected override void RenderFieldForInput(System.Web.UI.HtmlTextWriter output)
output.Write("<div style='padding-bottom:12px'>");
if (!string.IsNullOrEmpty(this.imgPicture.ImageUrl))
output.Write("<br />");
// this.imgPicture.Width = ((ImageFieldValue)this.Value).Width;
// this.imgPicture.Height = ((ImageFieldValue)this.Value).Height;
this.imgPicture.RenderControl(output);
if (this.EnableImageText)
this.txtImage.Width = this.imgPicture.Width;
if (this.EnableImageText)
output.Write("<br />");
this.txtImage.RenderControl(output);
output.Write("<br /><br />");
this.fileUpload.RenderControl(output);
this.btnSave.RenderControl(output);
this.btnClear.RenderControl(output);
output.Write("<br /><br />");
//output.Write("Width:");
//this.ddlWidth.RenderControl(output);
output.Write("</div>");
/// <summary>
/// Render the field in page display mode.
/// </summary>
/// <param name="output">Output stream.</param>
protected override void RenderFieldForDisplay(System.Web.UI.HtmlTextWriter output)
if (this.ListItemFieldValue != null)
output.Write("<div style='padding-bottom:12px'>");
base.RenderFieldForDisplay(output);
if (this.EnableImageText && this.ArticlePage[this.ImageField] != null
&& this.ArticlePage[this.ImageTextField] != null)
//string strImgWidth = string.IsNullOrEmpty(this.ddlWidth.Text) ? this.ImageWidthWide.ToString() : this.ddlWidth.Text;
//string strImgHgt = this.ImageHeight.ToString();
output.Write("<div style='width:");
// output.Write(strImgWidth);
// output.Write(this.imgPicture.ImageUrl);
// output.Write("<div style='height:");
// output.Write(strImgHgt);
output.Write(";margin-right:4px;' align='left'>");
output.Write(this.ArticlePage[this.ImageTextField].ToString());
output.Write("</div>");
output.Write("</div>");
#endregion
#region Button events
/// <summary>
/// Delete image file from the library and empty the image field.
/// </summary>
/// <param name="sender">Delete button.</param>
/// <param name="e">No arguments.</param>
protected void BtnClear_Click(object sender, EventArgs e)
////remove the image file from the Images library
using (SPSite site = new SPSite(
SPContext.Current.Web.Url,
SpSecurityHelper.GetSystemToken(SPContext.Current.Site)))
using (SPWeb currentWeb = site.OpenWeb())
SPDocumentLibrary imageList = (SPDocumentLibrary)currentWeb.Lists[this.ImageLibrary];
SPFolder rootFolder = imageList.RootFolder;
try
currentWeb.AllowUnsafeUpdates = true;
rootFolder.Files.Delete(this.imgPicture.ImageUrl);
rootFolder.Update();
catch
////cannot delete specified file, this means file doesn't exist, the file must be deleted
////directly in the Images library by someone
////don't do anything here
finally
currentWeb.AllowUnsafeUpdates = false;
if (this.pageImage != null)
this.pageImage.ImageUrl = string.Empty;
this.imgPicture.ImageUrl = string.Empty;
this.lblFileName.Text = string.Empty;
this.btnClear.Visible = false;
this.btnSave.Visible = true;
/// <summary>
/// Upload image file to library and fullfilled the image field.
/// </summary>
/// <param name="sender">Upload button.</param>
/// <param name="e">No argument.</param>
protected void BtnSave_Click(object sender, EventArgs e)
this.ArticlePage[this.ImageTextField] = this.txtImage.Text;
this.ArticlePage.SystemUpdate(false);
string fileName = this.fileUpload.FileName;
////validate file name
if (fileName == string.Empty || !this.fileUpload.HasFile)
this.lblFileName.Text = string.Empty;
if (this.pageImage == null)
this.Page.ClientScript.RegisterStartupScript(typeof(string), "NoImage", "<script>alert('No image found, please select an image.')</script>", false);
else
using (SPSite site = new SPSite(
SPContext.Current.Web.Url,
SpSecurityHelper.GetSystemToken(SPContext.Current.Site)))
using (SPWeb currentWeb = site.OpenWeb())
SPDocumentLibrary imageList = (SPDocumentLibrary)currentWeb.Lists[this.ImageLibrary]; ////Images
SPFolder rootFolder = imageList.RootFolder;
////the image file name must be unique except for the file name extension
string imageName = this.ArticlePage.UniqueId.ToString("N") + this.FieldName + Path.GetExtension(fileName);
////first delete the image file from the Images library.
////if a file with different file name extension is uploaded, the old file won't be overwritten,
////and will never be deleted from this page, so it must be deleted before adding a new one.
if (this.pageImage != null && !string.IsNullOrEmpty(this.pageImage.ImageUrl))
try
currentWeb.AllowUnsafeUpdates = true;
rootFolder.Files.Delete(this.pageImage.ImageUrl);
rootFolder.Update();
catch
////cannot delete specified file, this means file doesn't exist, the file must be deleted
////directly in the Images library by someone
finally
currentWeb.AllowUnsafeUpdates = false;
try
currentWeb.AllowUnsafeUpdates = true;
SPFile imageFile = rootFolder.Files.Add(imageName, this.fileUpload.FileBytes, true);
finally
currentWeb.AllowUnsafeUpdates = false;
// this.lblFileName.Text = currentWeb.Site.Url + imageList.RootFolder.ServerRelativeUrl + "/" + imageName;
this.lblFileName.Text = currentWeb.Site.Url + imageList.RootFolder.ServerRelativeUrl + "/_w/" + imageName.Substring(0, imageName.LastIndexOf(".")) + "_" + imageName.Substring(imageName.IndexOf(".") + 1) + "." + imageName.Substring(imageName.IndexOf(".") + 1);
// webimage = currentWeb.Site.Url + imageList.RootFolder.ServerRelativeUrl + "/_w/" + imageName.Substring(0,imageName.LastIndexOf("."))+"_"+imageName.Substring(imageName.IndexOf(".")+1) +"." + imageName.Substring(imageName.IndexOf(".")+1);
this.imgPicture.ImageUrl = this.lblFileName.Text;
this.btnClear.Visible = true;
this.btnSave.Visible = false;
#endregion
This is how i used it in my page layout
<Article:mycompnayRichImageField runat="server" ID="RichImageField1" InputFieldLabel="Keep image text short and precise" FieldName="PublishingPageImage" UpdateRollupImage="true"/>
ArunaHi,
For this issue, I'm trying to involve someone familiar with this topic to further look at it.
Thanks,
Jason Guo
TechNet Community Support -
Accessing dynamic field names?
I want to be able to create text fields with unique names and
set values in them within a For-loop without having to reference
the field names in the code.
Consider the following code snippet:
this.createTextField("field" + i, this.getNextHighestDepth(),
x1, y1, 250, 20);
It places a text field into a movie clip with name that is a
composite of a literal value and a variable value resulting in
names like field1, field2, etc. My question: Is there anyway to use
a composite field name to access the field properties? For example:
Can I set the text for the field using the same composite name
without having to express it as a literal field name? If I can't
then what is the point of having the composite name capability?You can drop the last question because the answer to the
prior one(s) is "yes".
this["field"+i].text = "whatever";
the bracket notation causes a string to be evaluated as an
object/instance. -
Access metadata fields through a custom Service Class
Hi all,
I have to create a custom component for Oracle Content Server. I need to access metadata fields from a custom Service Class.
Can you directly access metadata through a java class or to pass parameters (metadata fields) from a web page to java class? How?
Are there other solutions?
Thanks, aleI'm not sure if I understand exactly what you are after, but here is some information.
If your url is http://someserver/idc/idcplg?IdcService=CUSTOM_SERVERY&Parm1=A&Parm2=B
Then in your java code you can use the binder.getLocal method to get those values.
String strParm1 = binder.getLocal("Parm1");
you may have to use binder or m_binder (depends on the variable name in your specific situation). -
Accessing java fields from c++
I have created a JNI app that needs to access the fields of the java object but when I try to access them I get an error message saying "no such field."
When I created my header file with javah I got (JNIEnv *, jclass and jobject) as my parameter list not JNIEnv * and jobject like all the documentation does.
then i try to access the fields with :
fidZone = env->GetFieldID(cls, "zone","I");
which generates the error mentioned.
Any suggestions will be greatly appreciated.
Cheers.1. Here is the native code:
#include <jni.h>
#include <stdio.h>
#include "worldfl.h"
//header for external DLL I want to access
#include "GDAit.h"
JNIEXPORT jlong JNICALL
Java_worldfl_TransProjectPt(JNIEnv *env, jclass cls, jobject obj)
jfieldID fidx, fidy, fidStr, fidZone, fidTrDir;
long zone, agd2gda, iResult = 0;
double transX, transY, newX, newY, accX, accY;
/* GET the X & Y values of the coords in the world file */
cls = env->GetObjectClass(obj);
printf("%ld\n", cls);
if (cls != NULL)
fidZone = env->GetFieldID(cls, "zone","I");
fidTrDir = env->GetFieldID(cls, "agd2gda","I");
fidx = env->GetFieldID(cls, "transX","D");
fidy = env->GetFieldID(cls, "transY","D");
/*fidStr = env->GetFieldID(cls, "filename","Ljava.lang.String");*/
transX = env->GetDoubleField(obj, fidx);
transY = env->GetDoubleField(obj, fidy);
zone = env->GetDoubleField(obj, fidZone);
agd2gda = env->GetDoubleField(obj, fidTrDir);
iResult = 0;//TransProjPt("f:\\coordcalcs\\A66 National (13.09.01).gsb", agd2gda, transX, transY, zone, &newX, &newY, &accX, &accY);
else
printf("Class is NULL\n");
//env->GetDoubleField(obj, fidx) = newX;
//env->GetDoubleField(obj, fidy) = newY;
return(iResult);
2. Yes it is defined as static
private native static long TransProjectPt(worldRead wr); -
How to read and write a string into a txt.file
Hi, I am now using BEA Workshop for Weblogic Platform version10. I am using J2EE is my programming language. The problem I encounter is as the above title; how to read and write a string into a txt.file with a specific root directory? Do you have any sample codes to reference?
I hope someone can answer my question as soon as possible
Thank you very much.Accessing the file system directly from a web app is a bad idea for several reasons. See http://weblogs.java.net/blog/simongbrown/archive/2003/10/file_access_in.html for a great discussion of the topic.
On Weblogic there seems to be two ways to access files. First, use a File T3 connector from the console. Second, use java.net.URL with the file: protocol. The T3File object has been deprecated and suggests:
Deprecated in WebLogic Server 6.1. Use java.net.URL.openConnection() instead.
Edited by: m0smith on Mar 12, 2008 5:18 PM -
Procees for upload field in mkpf&mseg table
Hi friends,
i had return the code for uploading two fields in mkpf and mseg table .when i am executing through f8 the updated value is not founding when we checkd through debugging the value is updating and appering in screen plz tell me how i will solve the issue.
for u r referenece i am sending the code what i had return in logic.
types: BEGIN OF it_tab,
prueflos(16) type c,
MBLNR type mblnr,
TYP type QAMBTYPE,
END OF it_tab.
types: begin of it_tab1.
include type mkpf.
types: END OF it_tab1.
types:begin of it_mseg.
include type mseg.
types:end of it_mseg.
* end of it_tab1.
types: ts_tab1 type STANDARD TABLE OF it_tab1.
types: ts_mseg type STANDARD TABLE OF it_mseg.
data: ts_tab type STANDARD TABLE OF it_tab,
wa_tab type it_tab,
wa_tab1 type it_tab1,
ts_tab2 type ts_tab1,
ts_mseg type ts_mseg,
wa_mseg type it_mseg,
it_tab12 type it_tab1 OCCURS 0 WITH HEADER LINE.
select PRUEFLOS mblnr typ from QAMB
into table ts_tab where prueflos = it_final-prueflos
and typ = '3'.
if ts_tab[] is not INITIAL.
sort ts_tab[] by mblnr.
select * from mkpf into TABLE ts_tab2 FOR ALL ENTRIES IN ts_tab where mblnr = ts_tab-mblnr.
if ts_tab2[] is not INITIAL.
sort ts_tab2[] by mblnr.
select * from mseg into table ts_mseg FOR ALL ENTRIES IN ts_tab2 where mblnr = ts_tab2-mblnr.
endif.
endif.
loop at ts_tab into wa_tab .
READ TABLE ts_tab2 into wa_tab1 with key mblnr = wa_tab-mblnr.
wa_tab1-FRBNR = it_data1-FRBNR.
if sy-subrc eq 0.
wait UP TO 2 SECONDS.
update mkpf from wa_tab1.
COMMIT WORK .
endif.
read table ts_mseg into wa_mseg with key mblnr = wa_tab1-mblnr.
wa_mseg-sgtxt = it_data1-trucknum.
if sy-subrc eq 0.
wait UP TO 2 seconds.
update mseg from wa_mseg.
COMMIT WORK .
endif.
ENDLOOP.
thanks in advance,
siva
Edited by: Thomas Zloch on May 13, 2011 1:37 PM - please use code tagsit is added in bdc code only.
now i will explaing proccess of bdc . this is used for converting meterial type from 103 movement type to 105 move ment type so whaterver data they got through 103 movemet type (migo data) they are uploading through xl and uploading through our bdc
after uploading they are used QA11 tcode .record is done for this after recording completed it is converting 103 to 105 move ment type and it is displaying message like succesfully proceesed . inthis 105 movement type we are not getting bill of lading no and truck no so i am updating these two field in this table so i done like this so do u get any idea to update the fields in another way means plz help me
siva. -
Access to fields of a form through IAC
Hello everyone!
I created with Adobe LiveCycle Designer ES2 (included with Adobe Acrobat X Pro) an example form with several fields.
After that I wanted to access the fields through the Acrobat SDK's Interapplication Communication (IAC) capability by using OLE.
As programming language I choose C# from the .NET framework. But the only field that I could access was the signature field and only when it was signed. I could not figure out the mistake. Is my code wrong? Or is the created form wrong? Can somebody help?
The code that I used:
Acrobat.AcroApp app = null;
Acrobat.AcroAVDoc avdoc;
AFORMAUTLib.AFormApp formApp;
AFORMAUTLib.IFields fields;
app = new Acrobat.AcroApp();
avdoc = new Acrobat.AcroAVDocClass();avdoc.Open(@"Form.pdf", null);
formApp = new AFORMAUTLib.AFormApp();
fields = formApp.Fields;
int fieldsCount = fields.Count;
foreach (var item in fields)
AFORMAUTLib.IField field = (AFORMAUTLib.IField)item;
result = field.Name + " = " + field.Value + "[" + field.Type + "]";Yes, if the form is Reader Enabled, then a Reader user can add a graphic as the icon of a button via scripting to an AcroForm.
From: Adobe Forums <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
Date: Tue, 27 Sep 2011 00:31:26 -0700
To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
Subject: Access to fields of a form through IAC
Re: Access to fields of a form through IAC
created by gatch<http://forums.adobe.com/people/_gatch_> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/3939773#3939773
Maybe you are looking for
-
How do I set up a two or three column schedule in iCal? Looking to have multiple person listing appointment times.
-
How to restrict the st loc list applicable to particular plant mm01
Hi, While creating material master user after selecting a particular plant user sees all the storage locations available in the system.How to restrict the storage location list applicable to particular plant while material creation Best Regards, BM
-
I need the to activate the authorisation of s_tabu_cli
i need the spro s_tabu_cli authorization as i could not creat table in pricing in sd and i couldnot have the access to creat new text type also soplz tell me how to get the authorization of S_TABU_CLI thanks regards subrat
-
Lightbox widget horizontal load
I cannot get the Lightbox widget to load the images horizontally on one of my sites. It works on a simpler page. I have tried changing my css but what could be wrong?
-
MS Publisher pdf to spot color press
I have clients that keep bringing in supposed press-ready documents created by MS publisher and want them printed on a two color press! The Publisher document is converted to pdf on a PC and then sent to me on a Mac using CS3 to prepare for press. W