FIELD-SET , FIELD-TRANSPORT?

Hi All,
what is the use of FIELD-SET and FIELD-TRANSPORT?There is no enough documentation available in HELP..
Thanks,
Rakesh.

they are macros but they are used for ITS.
Rakesh, kindly avoid double posting
FIELD-SET , FIELD-TRANSPORT?
Raja

Similar Messages

  • Retreiving and setting fields from pdf

    Hi Everyone,
    I hope that you may be able to help. I'm working on putting together an extention to my program to allow users to load a pdf file from a database, and also save what the user has entered into the pdf, into a database. I started out using the ActiveView sample app and have gotten it to load a seleted pdf into my app. I am currently trying to get the fields from the pdf. I am using the FormsAutomation sample as a reference. Here is some code :
    This funtion is used to open the pdf (just like in the ActiveView sample)
        Public Sub OpenChartFile(ByRef Filename As String, PatientId As String, ChartId As Integer, isNew As Boolean )
            Dim ok As Integer
            Dim fIndex As Short
            ' change mousepointer to an hourglass
            System.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.WaitCursor
            ' change form's caption and display new text
            fIndex = FindFreeIndex()
            Document(fIndex) = New frmPDFView
            Document(fIndex).PatientId = PatientId
            Document(fIndex).ChartFileId = ChartId
            Document(fIndex).ChartFileName = Filename
            Document(fIndex).isNew = isNew
            Document(fIndex).Tag = fIndex
            Document(fIndex).Show()
            Document(fIndex).Text = UCase(Filename)
            Document(fIndex).MdiParent = gShell
            ' open the selected file
            AcroExchAVDoc(fIndex) = CreateObject("AcroExch.AVDoc")
            ok = AcroExchAVDoc(fIndex).OpenInWindowEx(Filename, Document(fIndex).Handle.ToInt32, AV_DOC_VIEW, True, 0, PDUseBookmarks, AVZoomFitWidth, 0, 0, 0)
            ' See IAC.bas and the Acrobat Viewer IAC Overview for information on the
            ' OpenInWindowEx open modes
            If Not ok Then
                MsgBox("Can't open file: " + Filename)
                Document(fIndex).Close()
                System.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.Default
                Exit Sub
            End If
            FState(fIndex).Dirty = False
            Document(fIndex).Show()
            Document(fIndex).FillChart() 'Used to fill the pdf from the DB
            ' reset mouse pointer
            System.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.Default
        End Sub
    Here is were I try and get the fields which is located in the PDFView form
        Public Sub FillChart()
            If Not pisNew then
                formApp = CreateObject("AFormAut.App")
                acroForm = formApp.Fields  '<-----******Errors here, "No document is currently open in the Acrobat Viewer"
                FillChartData( pPatientId,acroForm,pChartFileId, Me.tag )
            End If
        End Sub
    Here is where I plan to fill the pdf file (Located in a module file): I
    Public Sub FillChartData(PatientId As string, acroForm As AFORMAUTLib.Fields, ChartFileId As Integer, FormIndex As integer )
        Dim field As AFORMAUTLib.Field
    Try
        field = acroForm.Item("PatientName")
    Catch ex As Exception
        MsgBox(ex.Message, MsgBoxStyle.Critical, "ModChartSupport.FillChartData")
    End Try
    End Sub
    Is it possible to get the list of fields in the current setup using the ActiveView forms? If so, what am I missing? In the FormAutomation sample it seems to get the fields this way:
            avDoc = CreateObject("AcroExch.AVDoc")
            Dim file As String = System.Windows.Forms.Application.StartupPath & "\..\..\..\..\TestFiles\FormsAutomation.pdf"
            bOK = avDoc.Open(file, "Forms Automation Demo")
            'If everything was OK opening the PDF, we now instantiate the Forms Automation object.
            If (bOK) Then
                formApp = CreateObject("AFormAut.App")
                acroForm = formApp.Fields
            Else
                System.Runtime.InteropServices.Marshal.ReleaseComObject(avDoc)
                avDoc = Nothing
                MsgBox("Failed to open PDF Document. Aborting...")
                End
            End If
    The OpenChartFile function has already created the avDoc object for the form, so I think I'm alright there. What am I missing? Thanks for any help you can provide.

    So let's say you have the following fields in your file:
    Incident_Report
    ClientsName
    Date
    You can then add this code to the file's WillSave action (under Tools - JavaScript - Set Document Actions):
    var newFileName = this.getField("Incident_Report").valueAsString + "_" + this.getField("ClientsName").valueAsString + "_" + this.getField("Date").valueAsString + ".pdf";
    app.response("Please copy the text below and use it as the new file-name:","", newFileName)
    Of course, you can adjust the message to the user, and even the format of the file-name, although I've used the format you specified.

  • Setting Fields value via reflection

    I'm starting from a c# code:
              internal void RefreshFromObject(object objFromUpdate)
                   if (this.GetType()==objFromUpdate.GetType())
                        PropertyInfo[] fieldsFrom = objFromUpdate.GetType().GetProperties();
                        PropertyInfo[] fieldsThis = this.GetType().GetProperties();
                        for(int idxProp=0; idxProp<fieldsFrom.Length;idxProp++)
                             if (fieldsThis[idxProp].CanWrite && fieldsFrom[idxProp].CanRead)
                                  fieldsThis[idxProp].SetValue(this, fieldsFrom[idxProp].GetValue(objFromUpdate,null),null);
                   else
                        throw new ObjectTypeNotValidException("Object type from which update current instance not valid. Use same type.");
    Now I have to translate it in Java:
    Class clazz = objFromUpdate.getClass();
    Class thisClazz = this.getClass();
    do {
         Field[] fieldsFrom = clazz.getDeclaredFields();
         Field[] fieldsThis = thisClazz.getDeclaredFields();
         try {
              fieldsThis[idxProp].set(thisClazz, fieldsFrom[idxProp].get(clazz));
         catch (IllegalAccessException iaccEx) {
              System.out.println("IllegalAccessException");
         catch (IllegalArgumentException iaccEx) {
              System.out.println("IllegalArgumentException");
    clazz = clazz.getSuperclass();
    thisClazz = thisClazz.getSuperclass();
    } while (clazz != null && clazz != Object.class);
    My problem is that I don't know if the field type is one of primitive, for which I should use the particular setters and getters.
    My questions are:
    1) is there in Java a more elegant way to set fields values via reflection?
    2) how can I know if a field i changable (equivalent to the method CanWrite of c#?
    Thanks a lot to each one that will answer me.
    Marco

    Hi georgemc,
    thanks for replying. I-m new with java forum, so I don't know if it is correct the code tags...
    Anyway... the problem is that the Field of reflected object could be both of Object types or primitive types. So I cannot use the general method "set" when changing Field's value.
    Maybe somebody else had the same problem...
    Seems in C# it is a very easy thing... not in java :(
    Marco
    Class clazz = objFromUpdate.getClass();
    Class thisClazz = this.getClass();
    do {
    Field[] fieldsFrom = clazz.getDeclaredFields();
    Field[] fieldsThis = thisClazz.getDeclaredFields();
    try {
    fieldsThis[idxProp].set(thisClazz, fieldsFrom[idxProp].get(clazz));
    catch (IllegalAccessException iaccEx) {
    System.out.println("IllegalAccessException");
    catch (IllegalArgumentException iaccEx) {
    System.out.println("IllegalArgumentException");
    clazz = clazz.getSuperclass();
    thisClazz = thisClazz.getSuperclass();
    } while (clazz != null && clazz != Object.class);

  • Setting fields on html page from servlet

    I have a HTML Page1 on ServerA that calls a servlet on ServerB. I want the servlet to load Page2 on ServerA and set fields on Page2.
    I know I can do so by using Redirect and passing parameters in the URL that can be loaded in the onLoad event of Page2 but I was wondering if there is some way I can cause the servlet to set the fields directly.
    I have looked a getRequestDispatcher("url").forward but it seems to me that the page being called would have to be on ServerB (the servlet's server). Am I correct? If not how do I get this to work? I have tried getRequestDispatcher("Page2").forward() and getRequestDispatcher("/Page2").forward() but neither seem to work. I assume because the pages are expected to be found on the servlet's server?

    thank you!
    I do put a bounch of System.out.println statements in it. one is just before the out.println("<html>") statement. another is before response.sendRedirect(). My program can print out each of the System.out.println(). but stop after that.I really do not know why!
    Sean

  • How to create Field Set in flex

    I need to know best way to do create Field Set as following
    You can see the HTML field set reference from here..
    HTML CODE
    <form>
      <fieldset>
        <legend>Personalia:</legend>
        Name: <input type="text" size="30" /><br />
        Email: <input type="text" size="30" /><br />
        Date of birth: <input type="text" size="10" />
      </fieldset>
    </form>
    So,how can I do it?

    This link should set you off on the right track.
    http://livedocs.adobe.com/flex/3/html/help.html?content=layouts_08.html

  • Change fields via field.set

    I don't quite know if this is the right approach for the problem, but I hope, anyone can make that clear to me:
    I got two Applications called "app1" and "app2". app2 is a simple swing-application which, to make it simpler, only consists of a JTextField (pseudocode following).
    JTextField vlaue_1 = new JTextField("test");
    ...The application app1 now starts app2 (using Class.forName and Method.invoke). Then, it gets all of app2's fields, in this case value_1, via getDeclaredFields.
    import java.lang.reflect.Field;
    import java.lang.reflect.Method;
    public class app1 {
         public app1() {
              super();
           public static void main(String[] args) throws Exception {
                Class testClass = Class.forName("app2");
                Method mainMethod = findMainMethod(testClass, "main");
                mainMethod.invoke(null, new Object[] { String[] arguments });
                Field[] fields = testClass.getDeclaredFields();
         private static Method findMainMethod(Class clazz) throws Exception {
              Method[] methods = clazz.getMethods();
              for(int i = 0; i < methods.length; i++){
                   if(methods.getName().equals(name))
                        return methods[i];
              return null;
    Now, app1 knows about the TextField in app2.
    And finally, the question is: Can I change the String in app2's value_1 into something different out of app1? For example, app1 says "Hey TextField, you are no 'test' any longer, you are now a 'foo'" and app2 updates its swing-GUI instantly?
    I already tried a field.set(Obj arg1, Obj arg2) and got only exceptions, but probably because I don't quite know which objects are meant for arg1 and arg2.
    Perhaps someone has some (pseudo-)code to clarify this issue.
    Any help would be nice. Thanks

    Ok, the original code for app2 is the following (the app doesn't make much sense, was only created for testing this issue):
    import java.awt.BorderLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JTextField;
    public class TestApp extends JFrame implements ActionListener{
         public static JTextField wert1 = new JTextField("15");
         public static JTextField wert2 = new JTextField("12");
         public static JLabel ergebnis = new JLabel("0");
         public static JButton berechnen = new JButton("Berechnen");
         public TestApp() {
              JFrame frame = new JFrame("TestApp");
              JPanel north = new JPanel();
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.getContentPane().add(north, BorderLayout.NORTH);
              north.add(wert1, BorderLayout.CENTER);
              north.add(wert2, BorderLayout.CENTER);
              frame.getContentPane().add(ergebnis, BorderLayout.CENTER);
              frame.getContentPane().add(berechnen, BorderLayout.SOUTH);
              berechnen.addActionListener(this);
              frame.pack();
              frame.setVisible(true);
         public static void main(String[] args) {
              TestApp gui = new TestApp();
         public void actionPerformed(ActionEvent event) {
              double ergebnis_1;
              double wert_1 = Double.parseDouble(wert1.getText());
              double wert_2 = Double.parseDouble(wert2.getText());
                  ergebnis_1 = wert_1 + wert_2;
                  ergebnis.setText(Double.toString(ergebnis_1));
    }The code for app1 follows here:
    import java.lang.reflect.Field;
    import java.lang.reflect.Method;
    public class JavaTester {
         public JavaTester() {
              super();
         public static void main(String[] args) throws Exception {
              Class testKlasse = Class.forName(args[0]);
              String[] neueArgs = uebergebeArgs(args);
              Method mainMethode = findeMethode(testKlasse, "main");
              mainMethode.invoke(null, new Object[] { neueArgs });
              Field[] felder = testKlasse.getDeclaredFields();
         private static String[] uebergebeArgs(String[] args) {
              String[] rueckgabe = new String[args.length - 1];
              for(int i=1; i<args.length; i++) {
                   rueckgabe[i-1] = args.toLowerCase();
              return rueckgabe;
         private static Method findeMethode(Class klasse, String name) throws Exception {
              Method[] methoden = klasse.getMethods();
              for(int i = 0; i < methoden.length; i++){
                   if(methoden[i].getName().equals(name))
                        return methoden[i];
              return null;
    I'm sorry that I can't print the stacktrace, because I just don't know, how to call the field.set function.
    Is it for e.g. felder[0].set(???, ???)?

  • How to set field type choice using csom (c#)

    I have a field type: Choice (menu to choose from) which is not multichoice. How do I set a value?
    I have found code for multiple choice but it doesn't seem to work for single choice.

    Hi,
    The following code snippet for your reference:
    newListItem["ChoiceFieldName"] = "ChoiceValue";
    newListItem.Update();
    clientContext.Load(newListItem);
    clientContext.ExecuteQuery();
    If you are assigning a Value which is not in the Choice Column, You need to create a choice value then assign it to the item.
    More information is here:
    http://sharepoint.stackexchange.com/questions/124999/how-to-set-field-type-choice-using-csom-c
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Enhance Component BP_CONT with additional Field Set

    Hi Experts,
    I want to achieve following scenario. In sales account master, when you create a contact out of an account you get view BP_CONT/ContactQuickCreateEF. This view does not offer the the field set STANDARDADDRESS which is the one used for contact individual address.
    Hence, I want to enhance the view BP_CONT/ContactQuickCreateEF with the field set STANDARDADDRESS from view BP_ADDR/StandardAddress.
    Can you give me a solution on how to enhance view BP_CONT/ContactQuickCreateEF with the wizard. I want to make the STANDARDADDRESS fields (from contact master main address) available here. We do not want to use the Work/Relationship address for contacts.
    Any help on this is higly appreaciated, as I am new to WebUI dev.
    thx
    Makroeis

    For button creation, code in DO_PREPARE_OUTPUT of the result IMPL class after redefining. Once done. On-Click event name should be created in the same IMPL class. This method id where you will code the logic.
    Since the netity would be available from the context node RESULT, you will have the collection for all the entities. STRUCT.BP_GUID  will give you the necessary GUID of the concerned contact person.
    Rg,
    Harshit

  • Reflection and the field.set method

    OK, I've made 2 classes, a ClearParent and ClearChild (which extends ClearParent). I'd like to have a "clear" method on the parent which dynamically sets all the fields to null. I'd like to be able to have any child that inherits from the parent be able to call clear and dynamically have all it's fields set to null.
    Part of the restriction that I'm facing is that the fields are Objects (Integer) but the getter and setter methods take and return types (int). So I can't just loop through the Methods and call the setters with null.
    I'd like to be able to loop through the fields and call set for all the fields with the parent class.
    I'm inserting the code that I have for the parent and child classes at the end. Basically, the problem that I'm seeing is that if I do a
    this.getClass().getName()
    from the parent (when clear is called from the child) it shows me the child name ("ClearChild"). But when I try to do the
    field.set(this, null)
    it tells me this:
    Class ClearParent can not access a member of class
    ClearChild with modifiers "private"
    How come when I get the name it tells me that it's the child but when I pass "this" to the set method, it says that it's the parent?
    Any one know what's going on here? Is there anyway that I can have the parent set all the fields to null?
    Thanks in advance.
    Here's the code:
    ClearParent
    import java.lang.reflect.*;
    public class ClearParent {
        public boolean clear() {
            try {
                System.out.println(this.getClass().getName());
                Field[] fields = this.getClass().getDeclaredFields();
                Field   field;
                for (int i = 0; i < fields.length; i++) {
                    field = fields;
    field.set(this, null);
    } catch (Exception e) {
    e.printStackTrace();
    return true;
    ClearChild
    public class ClearChild extends ClearParent {
    private Float f;
    public ClearChild() {
    super();
    public float getF() {
    if (f == null) {
    return 0;
    return f.floatValue();
    public void setF(float f) {
    this.f = new Float(f);
    public static void main (String[] args) throws Exception {
    ClearChild cc = new ClearChild();
    cc.setF(23);
    cc.clear();
    System.out.println("cc.getF: " + cc.getF());

    It is an instance of ClearChild that is being used so
    that class name is ClearChild. However, the method
    exists in the parent class and thus cannot act upon a
    private field of another class (even if it happens to
    be a subclass).Ahh...makes sense.
    Why don't you just override clear in the child?We were trying to avoid this because we run into problems in the past of people adding fields to the class, but not adding to the clear, and things not being cleared properly.
    I talked it over with the guys here and they have no problem making the fields protected instead of private. If it's protected, then the parent has access to it and my sample code works.
    Thanks for your help KPSeal!
    Jes

  • Dynamically setting field attributes based on input

    Hi all,
    I am trying to see if it is possible to dynamically set field attributes depending on other fields.  For example, in screen 1100 of IQ01, I want to make it so that "Certification number" becomes mandatory if "certification status" = 1, and becomes optional if "certification status" = 2,3 or 4.
    Is this possible?  If so, how?
    Regards,
    D.

    Have you checked this
    http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbab6f35c111d1829f0000e829fbfe/content.htm
    if your requirement is to do this in Tcode IQ01 then the above answer is not sufficient
    Edited by: Abhishek Jolly on Aug 15, 2008 5:41 PM

  • How to set field alignment in a table in jdev 11.1.2.3?

    hi,
    How to set field alignment in a table in jdev 11.1.2.3?
    eg: to diplay a number field in a table as right aligned.
    I have tried to set field(amount) VO UI Hint Format Type:Number; Format: 0000.00
    and jspx as flowing, but it doesnot work.
    Thanks.
    bao
    <af:column sortProperty="#{bindings.VO1.hints.Amount.name}"
    sortable="true"
    headerText="#{bindings.VO1.hints.Amount.label}"
    id="c44" width="60"
    align="center">
    <af:inputText value="#{row.bindings.Amount.inputValue}"
    label="#{bindings.VO1.hints.Amount.label}"
    required="#{bindings.VO1.hints.Amount.mandatory}"
    columns="#{bindings.VO1.hints.Amount.displayWidth}"
    maximumLength="#{bindings.VO1.hints.Amount.precision}"
    shortDesc="#{bindings.VO1.hints.Amount.tooltip}"
    id="it58"
    secret="false"
    inlineStyle="text-decoration:overline;">
    <f:validator binding="#{row.bindings.Amount.validator}"/>
    </af:inputText>
    </af:column>

    Works for me:
            <af:column sortProperty="#{bindings.EmployeesView1.hints.Salary.name}" sortable="false"
                       headerText="#{bindings.EmployeesView1.hints.Salary.label}" id="c7" align="right">
              <af:inputText value="#{row.bindings.Salary.inputValue}" label="#{bindings.EmployeesView1.hints.Salary.label}"
                            required="#{bindings.EmployeesView1.hints.Salary.mandatory}"
                            columns="#{bindings.EmployeesView1.hints.Salary.displayWidth}"
                            maximumLength="#{bindings.EmployeesView1.hints.Salary.precision}"
                            shortDesc="#{bindings.EmployeesView1.hints.Salary.tooltip}" id="it6">
                <f:validator binding="#{row.bindings.Salary.validator}"/>
              </af:inputText>
            </af:column>JDeveloper 11.1.2.3
    Salary is shown right-aligned.
    What happens if you get rid of your inlineStyle on the af:inputText

  • Tables listed in Result set field selction tab against Standard Data Objects in MDO configuration

    On what basis are the tables gettting filled in the Result set field selction tab against Standard Data Objects in MDO configuration.
    Only the handler class is specified before it gets filled.
    Vivek.
    Tags edited by: Michael Appleby

    Hi Vivek,
    I would also recommend providing the version of the product either in the body of your discussion or in the tags (or both, preferred).  If you are installing it on SMP 2.3 or some other platform, please add that as well.  I have updated your tags and assigned the correct Category.  Since there are so many different technologies in SAP for Mobile, tags and Categories help the helpers find your post and help you find a solution.
    Thanks, Mike

  • Set field separator for whitespace

    Hi,
    We have a set of flat files (around 12000) and it need to be load using oracle external table. we have concatenated all the files into one single file and loading the files into oracle database successfully.
    But there is a problem, in the flat files we have identified that the field separator is "whitespace" and we gave whitespace as field separator in oracle external table statement. But there are some fields where there is null values for many rows and since the field separator is whitespace so the next field's value is being inserted into the null value field in place of null.
    I am stuck in a very hard situation and really do not know how to come out of it. I have little idea that using awk or sed utilities we can set field separator.
    Do you have any idea how to set the field separator in this case?
    Your assistance is highly appreciated.
    Below is the sample of one of those flat files:
    051 419040086626885 55407914 P 00016731 01007644 02 Internet 0160638830 11121906182700021 016 00204 I TEST MNC004.MCC419.GPRS 094.124.161.023 094.124.006.197 094.124.006.010 1275741768 99999
    Thanks in advance.

    Can you clarify some things about your data?
    1. The sample data you posted only shows 20 values but the table has 21 columns. Is the last value NULL?
    2. The sample data you posted shows 99999 for the last column but that corresponds to LAST_UPDATE_DATE which is a DATE field
    Why the descrepancy?
    3. Are the records delimited by CRLF or by LF? or by some other whitespace. CR and LF are considered whitespace
    >
    If TERMINATED BY WHITESPACE is specified, data is read until the first occurrence of a whitespace character (spaces, tabs, blanks, line feeds, form feeds, or carriage returns). Then the current position is advanced until no more adjacent whitespace characters are found. This allows field values to be delimited by varying amounts of whitespace. For more information about the syntax, see Syntax for Termination and Enclosure Specification.
    >
    so if the first record has one column with a missing (NULL) value the first column from record #2 will be used
    as the last column of record #1. The data in the entire file will continue to shift forward causing every record to be wrong.
    4. Have you contacted the vendor providing the files to find out how other clients are loading these files into a database?
    5. Are there any data columns that cannot be NULL?
    In order to properly parse record-oriented data you have to be able to locate the record boundaries; that is determine how many data values there are for each record. Using WHITESPACE alone you will not be able to do that if a NULL value is not represented in the file by some character.
    Then for each set of data belonging to one record you need to be able to identify the data that belongs to each column. Using WHITESPACE alone
    you will not be able to do that if a NULL value is not represented in the file by some character.
    You need to contact the vendor for assistance in having the files produced in a way that they can be properly loaded again. Ask the vendor if they can reload their own files and, if so, what utility they are using to do it. The vendor should be able to use a different delimiter or replace NULL values with a special character so that they are represented in the data.

  • Abap2xlsx create worksheet how to set fields in header line without filtersymbol?

    Hello Forum,
    I am using a package of abap2xlsx (Excel Export ABAP 2 XLSX)   and some methods from zcl_excel classes to create a worksheet for internal table gt_table and download it.
    Following is some Koding I am using,
    When the excel worksheet is downloaded, the header line contains filter symbols in all header fields, when using method bind_table (see A:).
    Is there a way to set the header line fields without a filtersymbol?
    if I replace the call on method bind_table (see A:)  by call on method convert (see B:)
    then there are no filtesymbols, but in this method I cannot give a fieldcatalog table as exporting parameter.
    And I want to change the texts in the header.
    Thanks for any suggestions,
    Regards Henricus Kroft
    DATA: lo_excel         TYPE REF TO zcl_excel,    
               lo_converter    TYPE REF TO zcl_excel_converter,
               lo_worksheet  TYPE REF TO zcl_excel_worksheet,
               lo_writer          TYPE REF TO zif_excel_writer,
    Data:
    gt_rawdata      TYPE solix_tab.
    ls_table_set-table_style  = zcl_excel_table=>builtinstyle_light1.
       lo_worksheet = lo_excel->get_active_worksheet( ).
      A begin:   lo_worksheet->bind_table( ip_table    = gt_table
                              it_field_catalog  = lt_field_catalog
                              is_table_settings = ls_table_set ).
      A end
       B begin:   lo_converter->convert( EXPORTING
                                    it_table     = gt_table
                                    i_row_int    = 1
                                    i_column_int = 1
                                    io_worksheet = lo_worksheet
                                 CHANGING
                                    co_excel     = lo_excel ) .
    B end
    * " create output file in EXCEL format as type RAW
      lf_xdata = lo_writer->write_file( lo_excel ).
    * After 6.40 via cl_bcs_convert
      gt_rawdata = cl_bcs_convert=>xstring_to_solix( iv_xstring  = lf_xdata ).
      lf_bytecount = xstrlen( lf_xdata ).
      OPEN DATASET gf_datn1_str FOR OUTPUT IN BINARY MODE.
      CHECK sy-subrc = 0.
      lf_bytes_left = lf_bytecount.
      LOOP AT gt_rawdata ASSIGNING <ls_rawdata>.
        AT LAST.
          CHECK lf_bytes_left >= 0.
          TRANSFER <ls_rawdata> TO gf_datn1_str LENGTH lf_bytes_left.
          EXIT.
        ENDAT.
        TRANSFER <ls_rawdata> TO gf_datn1_str.
        SUBTRACT 255 FROM lf_bytes_left.  " Solix hat Länge 255
      ENDLOOP.
      CLOSE DATASET gf_datn1_str.

    Dear SeánMacGC thanks for reply,
    But "a.changed" is not a field in GNMT_CUSTOMER_MASTER_CHG. what i am doing in this procedure is i am collecting bulck data and validating field by field from GNMT_CUSTOMER_MASTER_CHG with GNMT_CUSTOMER_MASTER table as their structure is same.. if v_name is not same as v_name_chg then i am setting changed flag to "Y" changed is "changed dbms_sql.varchar2_table" and updating GNMT_CUSTOMER_MASTER in bluck where changed flag ='Y'...
    type custRec is record
    n_cust_ref_no dbms_sql.number_table,
    v_name dbms_sql.varchar2_table,
    v_name_chg dbms_sql.varchar2_table,
    rowid rowidArray,
    *changed dbms_sql.varchar2_table*
    i cannot use simple SQL as i need to validate field for each records with GNMT_CUSTOMER_MASTER_CHG and insert into log file as well.....
    to run this procedure:
    execute DO_DC_NAME_UPDATE_OTHER_TAB.DO_NAME_UPDATE_OTHER_TAB;
    Thanks...

  • DATE FIELD SET TO NO UPDATE IN UPDATE RULES

    DATE FIELD SET TO NO UPDATE IN UPDATE RULES :
    hi friends,
    i have a keyfigure(custom) of type date , but while creating the update rule it is automatically set to
    no update and i have no option to change it ,
    could any one suggest me how to handle this..
    thaks,
    raky.

    Hi Rakesh,
    select "source chracteristics" radio button and MAP the date field which you have in your infosource though the color will be gray after selecting the radio button but system will allow you to map that field (I mean do not care about gray color).
    Hope this will help you.
    Suneel

Maybe you are looking for