Call all elements with similar id in symbol

Hi,
I use this
var text = $("[id*='Text']");
for call all of elements says Text1_01, Text1_02, Text2_01,....
And this works perfectly but when the elements are in a symbol this don't work.
Why?
How i can do this variable?
Thanks

var text = sym.getSymbol('symbolname'). $("[id*='Text']");
This ignore me and selection all of "Text" out of symbols
var all = sym.getChildSymbols(). $("[id*='Text']");
And this ignore all of "Text"

Similar Messages

  • XPath to select elements with specific namespace attribute?

    To select all elements with a specific attribute, i can use
    //*[attribute::val1='true']for elements that look like
    <Name val1="true">hello</Name>But how can i select them, if the attribute has a namespace:
    <Name myns:val1="true">hello</Name>?

    If JDOM is used to parse a node with XPath, node namespace should be added to the XPath.
    XPath xpath=XPath.newInstance("/@myns:val1='true');                
      xpath.addNamespace("myns", "http://www.w3.org/2001/XMLSchema-Instance");

  • How can i add css styling to all elements within a symbol.

    How can i add css styling to all elements within a symbol.
    For instance.
    If i have a symbol call "data" and within this i have 4 elements called 1,2,3,4 how do i add styling to all these elements without having to re-write code for each element.
    I know i can style a symbol called "data" by :
    sym.$("data").css("font-family", "baumans, sans-serif", "font-size", "15px");
    ...But this does not style the content of the elements 1,2,3 and 4
    If i were using standard CSS and HTML then all div's within a div called "data" would be styled the same.
    help "my friends of the code"

    Hi Justin,
    1) You have a syntax error here: sym.$("data").css("font-family", "baumans, sans-serif", "font-size", "15px");
    sym.$("data").css({ "font-family": "baumans, sans-serif", "font-size": "15px"} ); // correct
    sym.$("data").css( "font", "15px baumans, sans-serif" ); //correct
    2) Then, loading the jQuery file is not required. You can create a class or change tags.
    How to add a class:
    Changing tags:
    You've got 2 demo files (Edge 5.0) here: class or tag.zip - Box

  • My late 2009 iMac 27 inch hard drive just failed and is being replaced. It did not qualify for call back but I am wondering if there is others with similar issue

    As I stated my late 2009 iMac 27 inch hard drive failed and is being replaced.. I am being charged as machine does not qualify for the call back program..call backs are on 2011 machines.. However i am in shock that my segate internal iMac hard drive failed in less than two years.. are there others with similar issue? Also when I get machine back will new hard drive be stable .. How do I make sure my working environment is reliable.. I have all my data and work backed up and will be able to rebuild my system but I really do not want to have to go through this down the line again.

    Just to update everyone and maybe help people down the road .... It has been a week of **** .... I may have finally solved a problem that I have seen a ton of people in all different types of discussions around the world having trouble with ...... I am going to upload some pictures of what I was getting in the beginning and it came out of no where .... I had the random pixel problem with my display and to make a long story short I came across an article two days ago regarding internal temperatures and fan speed ...... I kept reading about apples approach which is not the point  .....  More importantly I dug deeper into temperature control and fan settings .... I discovered all kinds of software and there is only one in my eyes that can help anyone dealing with this display problem .... I will be honest,  I do not have the money right now for anything extra and am barely getting by and that is why I kept at it ... I figured keep trying different things because  a repair is out of the question ... http://www.crystalidea.com/macs-fan-control   -   This program has solved my problem - I get to adjust three internal temperatures inside my Imac and slowly but surely as the temperatures remained constant the display is fine .... Like new again .... I cant believe it ..... Turns out the ATI Radeon HD 4850 512 MB graphics card gets very hot causing it to not do what it is supposed to   ..... Anyone that has any questions do not hesitate to contact me ...... I am going to upload some pics .... They are not that clear but if you are going through this you will recognize the images for sure - There was   so many more variations but this should help out - Thanks to everyone that takes the time out to help people on this support site .... I want to send a shout out to The Art Of Sound .... He is the most knowledgeable Apple person I have ever come across and I am an Apple user for 20+ years
    a to

  • Trying to install final cut express keep getting error message "FCE" can't install on this disk.  A newer version of this software already exists on this disk.  Have remove all FCE elements with no success.

    Keep getting error message "FCE" can't install on this disk.  A newer version of this software already exists on this disk.  Have remove all FCE elements with no success.

    http://www.digitalrebellion.com/fcsremover/

  • TS2776 i've lost all my entries in my calendar. I was able to call them up with the magnifying glass icon . now it just goes to a search entry. and all my calendar/months have no entries. help please

    i've lost all the entries in my calendar.  i had been able to call them up with the magnifying glass list function, but now it only opens a search function and all my calendars/ entries are blank.  help please

    Lord K.  Thank you. Yes I am within the 90 time period, however I travel Intertionally and I can not receive not make a call to Apple. I was just at the Genius Bar in Chicago and they said, don't worry about it.  It just floats out there, however, I can not recover my messages on a flash drive. I need to go back to my old computer which I don't have with me.  My messages were in folders for a lawsuit.  It is going to take an incredible amount of work for me to, you have no Idea.  We are talking thousands of pages!  I the defendent will have them during discovery so I am not so worried.  However, I can not bring them to him on a Flashdrive when I meet with him without an extraordinary amount of presssure on my part.  THis is not just some little email issue. This is suing EXPEDIA and Tripadviosr.com

  • Xsd:complexType with extension and unordered (sometimes not all) elements

    Hello, I have a schema definition that I need to change.
    I have the following BASE (from which I extend) elements Entity and Record Info, and I have a Quote element that extends from entity.
    Some times a Quote (title, context, quoted, written) will have all its elements and some times the user will not enter the [context] for example (as the quote maybe self explanatory),
    so I am in need of a definition that will allow me that.
    Also I have a User entity that is working fine, but when I run the JUnit test it changes the order of userName and userPassword and what happens is that it throws an error because it is expecting the order (userName then userPassword, and not userPassword firs, and userName second) is this possible to change also?
    The ideal would be a Definition that will allow me unordered elements and some of the elements can be missing also, well now that I think about it I could just put the element with an empty string, but what could I do about the order?
    I need some field like id and record info, but the rest, I really don't care if title is the first element or the last.
    These are my schema parts I used to have sequence but I am trying with xsd:all but it crashes:
        <xsd:complexType name="entity">
            <xsd:sequence>
                <xsd:element name="synapseId" type="xsd:string"></xsd:element>
                <xsd:element name="recordInfo" type="tns:recordInformation" xmlns:tns="http://xml.fdt.com/Schemas/Cognoscere/mainRepository"></xsd:element>
            </xsd:sequence>
            <xsd:attribute name="id" type="xsd:string"/>
            <xsd:attribute name="languageCode" type="xsd:string"/>
            <xsd:attribute name="countryCode" type="xsd:string"/>
            <xsd:attribute name="regenerateAs" type="xsd:string" use="optional"/>
        </xsd:complexType>
        <xsd:complexType name="recordInformation">
            <xsd:sequence>
                <xsd:element name="createdBy" type="xsd:string"></xsd:element>
                <xsd:element name="createdDate" type="xsd:long"></xsd:element>
                <xsd:element name="modifiedBy" type="xsd:string"></xsd:element>
                <xsd:element name="modifiedDate" type="xsd:long"></xsd:element>
            </xsd:sequence>
        </xsd:complexType>
        <xsd:complexType name="quote">
            <xsd:complexContent>
                <xsd:extension base="tns:entity">
                    <xsd:sequence>
                            <xsd:element name="title" type="xsd:string"></xsd:element>
                            <xsd:element name="context" type="xsd:string"></xsd:element>
                            <xsd:element name="preface" type="xsd:string"></xsd:element>
                            <xsd:element name="quoted" type="xsd:string"></xsd:element>
                            <xsd:element name="written" type="xsd:long"></xsd:element>
                    </xsd:sequence>
                </xsd:extension>
            </xsd:complexContent>
        </xsd:complexType>by the way, when I tried with xsd:all minOccur etc, this is the error it threw:
    s4s-elt-must-match.1: The content of 'sequence' must match (annotation?, (element | group | choice | sequence | any)*). A problem was found starting at: all. [58]
    f(t)

    sorry the error was
    cos-all-limited.1.2: An all model group must appear in a particle with {min occurs} = {max occurs} = 1, and that particle must be part of a pair which constitutes the {content type} of a complex type definition.
    not the other one.
    I found it is working with choice. Is this ok?
    <xsd:complexType name="quote">
            <xsd:complexContent>
                <xsd:extension base="tns:entity">
                    <xsd:choice minOccurs="0" maxOccurs="unbounded">
                        <xsd:element name="title" type="xsd:string"></xsd:element>
                        <xsd:element name="context" type="xsd:string"></xsd:element>
                        <xsd:element name="preface" type="xsd:string"></xsd:element>
                        <xsd:element name="quoted" type="xsd:string"></xsd:element>
                        <xsd:element name="written" type="xsd:long"></xsd:element>
                    </xsd:choice>
                </xsd:extension>
            </xsd:complexContent>
        </xsd:complexType>Doesn't look right to me, but my app is working, I would like to do it well not just have it working. (welcome to the nice happy and easy going place that is my mind) ;-)
    f(t)

  • Call all instances of a symbol

    Hej,
    i need to place 10 different kinds of symbols, a hundred times each on my stage. Theses symbols have the same shape, but different colors. I need to filter them out in a tiny top-menu.
    So, if i click e.g. on a red circle, i want all non red symbols to set there opacity to 0.5.
    It could be simple if i place all red symbols into a container "$color-symbols" and set the opacity to them. But that is not possible, because I need to place each symbol manually. And if they are childs of another symbol, drag and drop is horrible.
    Now i am wondering if it is possible to call all symbols on stage that are instances of a symbol in my library.
    And is there a nice way to call "all-other-colors" instead of
    sym.$("color-1").animate({opacity:0.5},500);
    sym.$("color-9").animate({opacity:0.5},500);
    sym.$("my-own-color").animate({opacity:1},500);
    on every button on stage?

    Thanks for your help,
    i use the classes to specify a target url for each symbol.
    For Example:
    I have three red symbols and three blue symbols.
    The classes for the red-ones are:
    33451, 56789 and 45678
    for the blue ones:
    983, 4, 1002
    Inside of my symbols i have a script:
    var names = (e.target.id).split("_");
    var page = names[2];
    var link = "http://www.url.no/subpage/"+page;
    window.open(link, "_self");
    If i find another way to put a specific ID (and it must be a number) on to each Instance, i could use the way you describe.
    Because your idea is to use the class-names, there is no way to call all instances of a given symbol?
    Is it possible to use wildcards for my array?
    So i could name them "red-33451#1", "red-56789#2", "red-45678#3". And cut out everything between "-" and "#".
    But remember that i need to place a few hundreds of them, which isn't fun. And if i need to insert one later or if i delete another one, i need to verify all my functions.

  • Program to get all the query elements with UIDs with EN texts of a BW query

    Hi All,
    Need a program to get all the query elements with UIDs with EN and Other language texts, of a BW query.
    We are doing a global implementation.
    We are implementing Translations in French.
    We need to see, the list of all UID's of a query, their EN texts and the FR texts.
    Tried a bit, we are having the problem in getting the UIDs of the structure elements.
    Thanks in advance,
    Best Regards,
    - Shashi

    Hi ,
    Below is the list of important tables related to query.
    RSZELTDIR Directory of the reporting component elements
    RSZELTTXT Texts of reporting component elements
    RSZELTXREF Directory of query element references
    RSRREPDIR Directory of all reports (Query GENUNIID)
    RSZCOMPDIR Directory of reporting components
    RSZRANGE Selection specification for an element
    RSZSELECT Selection properties of an element
    RSZELTDIR Directory of the reporting component elements
    RSZCOMPIC Assignment reuseable component <-> InfoCube
    RSZELTPRIO Priorities with element collisions
    RSZELTPROP Element properties (settings)
    RSZELTATTR Attribute selection per dimension element
    RSZCALC Definition of a formula element
    RSZCEL Query Designer: Directory of Cells
    RSZGLOBV Global Variables in Reporting
    RSZCHANGES Change history of reporting components
    Hope this will help you...
    Thanks,
    Jitendra

  • Grouping Checks, All element from a group present with all option available in group

    Respected Techie....May i get help on this how to design a query for below condition, if possible.declare @myTable table (PT varchar(50), MK varchar(50), MO varchar(50),
    YR varchar(50), REMARKS varchar(50), PART varchar(50))
    Table Structure:-
    insert into @myTable values ('Battery' ,'Dodge','Ram 50', '1989', 'Four Wheel Drive', '51C') --This will be in Output, as Group of PT, MK,MO,YR have 2 remarks and part are available with both the remarks
    insert into @myTable values ('Battery' ,'Dodge','Ram 50', '1989', 'Rear Wheel Drive', '51X') --This will be in Output, as Group of PT, MK,MO,YR have 2 remarks and part are available with both the remarks
    insert into @myTable values ('Battery' ,'Dodge','Ram 50', '1989', 'Rear Wheel Drive', '51C') --This will be in Output, as Group of PT, MK,MO,YR have 2 remarks and part are available with both the remarks
    insert into @myTable values ('Battery' ,'Dodge','Ram 50', '1989', 'Four Wheel Drive', '51X') --This will be in Output, as Group of PT, MK,MO,YR have 2 remarks and part are available with both the remarks
    insert into @myTable values ('Air Filter','Dodge','Colt', '1990', 'Four Wheel Drive', '46264') -- This will be in Output, as Group of PT, MK,MO,YR have 2 remarks and part are available with both the remarks
    insert into @myTable values ('Air Filter','Dodge','Colt', '1990', 'Four Wheel Drive', '875') --This will be in Output, as Group of PT, MK,MO,YR have 2 remarks and part are available with both the remarks
    insert into @myTable values ('Air Filter','Dodge','Colt', '1990', 'Front Wheel Drive','46264') --This will be in Output, as Group of PT, MK,MO,YR have 2 remarks and part are available with both the remarks
    insert into @myTable values ('Air Filter','Dodge','Colt', '1990', 'Front Wheel Drive','875') --This will be in Output, as Group of PT, MK,MO,YR have 2 remarks and part are available with both the remarks
    insert into @myTable values ('Bull Bar' ,'Ford','F-250', '1997', 'Four Wheel Drive', '1330371971') --All element from a group of PT,MK,MO,YR should be Removed from output, as Part 1330371971 is not available with all the remarks available in a group. (1330371971 is not available with Rear Wheel Drive.)
    insert into @myTable values ('Bull Bar' ,'Ford','F-250', '1997', 'Four Wheel Drive', 'NR-301') --All element from a group of PT,MK,MO,YR should be Removed from output, as Part 1330371971 is not available with all the remarks available in a group. (1330371971 is not available with Rear Wheel Drive.)
    insert into @myTable values ('Bull Bar' ,'Ford','F-250', '1997', 'Rear Wheel Drive', 'NR-301') --All element from a group of PT,MK,MO,YR should be Removed from output, as Part 1330371971 is not available with all the remarks available in a group. (1330371971 is not available with Rear Wheel Drive.)
    insert into @myTable values ('Controls', 'Cadillac','Chasis','1992', 'Rear Wheel Drive', 'CK620158') --Removed from output, as group by PT,MK,MO,YR contain only 1 remarks and 1 distinct part
    insert into @myTable values ('Controls', 'Cadillac','Chassis','1992','Rear Wheel Drive', 'CK620159') --Removed from output, as group by PT,MK,MO,YR contain only 1 remarks and 1 distinct partThank You Very Much

    It would certainly help with some more details on the business rules.
    I am puzzled over these two rows:
    insert into @myTable values ('Bull Bar'   ,'Ford','F-250',   '1997',   'Four Wheel Drive',   'NR-301')  
       --All element from a group of PT,MK,MO,YR should be Removed from output, as Part  1330371971 is not available with all the remarks available in a group. (1330371971 is not available with Rear Wheel Drive.)
    insert into @myTable values ('Bull Bar'   ,'Ford','F-250',   '1997',   'Rear Wheel Drive',   'NR-301')  
       --All element from a group of PT,MK,MO,YR should be Removed from output, as Part  1330371971 is not available with all the remarks available in a group. (1330371971 is not available with Rear Wheel Drive.)
    Overlooking the fact that the part number in the comment does not match, how this is different from parts 51C and 51X which also has a Four Wheel Drive and a Rear Wheel Drive?
    I guess the real question is how do I know what "all available options" are? I would kind of expect a table which defines this.
    And please don't forget to tell us which version of SQL Server you are using!
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Since upgrading to Mountain Lion, I cannot restore emails with time machine. In Lion TM created a folder in Mail called recovered emails(or similar) No such folder is created since ML. I am able to see the email I want to restore, but it then disappears

    Since upgrading to Mountain Lion, I cannot restore emails with time machine. In Lion TM created a folder in Mail called recovered emails(or similar) No such folder is created since ML. I am able to see the email I want to restore, but it then disappears

    I am inside Mail, waiting for the TM 'recovered mail' folder to appear - which it doen't.
    I only looked in my home folder after trying several times from within my Main app.
    Marion

  • I created several pdfs & saved them in adobe acrobat pro.  I want to start all over & want to delete these pdfs so I am not confused with more than one document with similar titles.  How do I delete the document

    I am working on a big project & creating everything in word.  I then am turning the documents into PDF format so they will be easy for everyone to open.  I have several PDFs that are not the way I want them & want to delete them so I don't have so many documents with similar names.  Is there a way to delete a pdf from my saved document??  This is probably very simple & I am over thinking it, but appreciate any help.

    I was able to figure it out, & just as I thought way to simple!  UGH!

  • Issue with working on a webservice that has  xml elements with attributes

    This is  a branchout of Thread: Some more complex sample of invokin WS needed_
    We are working on a project that involves a outbound SALT Web service call that includes complex elements with attributes..We are looking for options of how to use FML API's to pass these attribute values from the application code.
    We opened a ticket with oracle where we were suggested to frame the entire xml and pass the xml using the FML32 of the complex element. But when we framed the xml for Service and put the entire XML which includes the attributes using the FML ID of Service.
    Please find a sample Schema and XML similar to the one we are working on...its associated code
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
         <xs:element name="Service" type="Service_Type" nillable="true">
              <xs:annotation>
                   <xs:documentation>Comment describing your root element</xs:documentation>
              </xs:annotation>
         </xs:element>
         <xs:complexType name="Service_Type">
              <xs:sequence>
                   <xs:element name="DateTime" type="xs:dateTime" nillable="true">
                   </xs:element>
                   <xs:element name="UUID" nillable="true">
                   </xs:element>
                   <xs:element name="Status" type="xs:string" nillable="true" minOccurs="0" maxOccurs="unbounded">
                   </xs:element>
              </xs:sequence>
              <xs:attribute name="Version" type="xs:string" use="required">
              </xs:attribute>
              <xs:attribute name="Name" type="xs:string" use="required">
              </xs:attribute>
         </xs:complexType>
    </xs:schema>
    The sample XML is :
    ___<?xml version="1.0" encoding="UTF-8"?>___
    ___<!--Sample XML file generated by XMLSpy v2010 rel. 2 (http://www.altova.com)-->___
    ___<Service Name="TestService" Version="1.1" xsi:noNamespaceSchemaLocation="Untitled6.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">___
    ___     <DateTime>2001-12-17T09:30:47Z</DateTime>___
    ___     <UUID>text</UUID>___
    ___</Service>___
    wsdlcvt generated the mif file with Service as a FML32 type and all its child elements as "mbstring". We tried to leave as it is and we also tried to replace all the child elements and just had a mif entry for "Service" as a mbstring neither produced a different output...Tried to dump using Ferror32 which did not dump any..._
    The sample C/C++ code as per suggestions were to do the following...
    _1) Have a string with the entire XML for Service_
    xmldata="<Service Name=\"TestService"\ Version="1.1\"_ xsi:noNamespaceSchemaLocation=\"Untitled6.xsd\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">_
    _     <DateTime>2001-12-17T09:30:47Z</DateTime>_
    _     <UUID>text</UUID>_
    _</Service>";_
    _2) Use Fmbpack32 to create a mbstring data_
    _memcpy(reqmbptr, (char*)xmldata.data(),xmldata.length());_
    _len=xmldata.length();_
    _Fmbpack32(mbcodeName,reqmbptr,len, packdata,(FLDLEN32 *)&packedlen,0);_
    userlog("Size of packedlen is %d",packedlen);
    3) Add the packed data to the output buffer
    Fadd32(fmlbuffer,Service, packdata,packedlen );
    But we do not see the Service tag populated in the GWWS outbound request.Everything else makes it....any help on how to move ahead would be appreciated...

    It seems you switch to the 10gR3 GA and now the whole XML data is mapped to FLD_MBSTRING.
    I will forward my sample to you by mail, but this sample is not offical sample, it is just QA test case. You can refere it and check what's the difference.
    Please let me know your mail address.
    Regards,
    Xu he

  • Plz tell me BDC  CALL TRANSACTION steps with simple example

    hi,
    plz tell me the steps
    BDC  CALL TRANSACTION steps with simple example

    Hi,
    BATCH DATA COMMUNICATION
    About Data Transfer In R/3 System
    When a company decides to implement the SAP R/3 to manage business-critical data, it usually does not start from a no-data situation. Normally, a SAP R/3 project comes into replace or complement existing application.
    In the process of replacing current applications and transferring application data, two situations might occur:
    ? The first is when application data to be replaced is transferred at once, and only once.
    ? The second situation is to transfer data periodically from external systems to SAP and vice versa.
    ? There is a period of time when information has to be transferred from existing application, to SAP R/3, and often this process will be repetitive.
    The SAP system offers two primary methods for transferring data into SAP systems. From non-SAP systems or legacy system. These two methods are collectively called ?batch input? or ?batch data communication?.
    1. SESSION METHOD
    2. CALL TRANSACTION
    3. DIRECT INPUT
    Advantages offered by BATCH INPUT method:
    1. Can process large data volumes in batch.
    2. Can be planned and submitted in the background.
    3. No manual interaction is required when data is transferred.
    4. Data integrity is maintained as whatever data is transferred to the table is through transaction. Hence batch input data is submitted to all the checks and validations.
    To implement one of the supported data transfers, you must often write the program that exports the data from your non-SAP system. This program, known as a ?data transfer? program must map the data from the external system into the data structure required by the SAP batch input program.
    The batch input program must build all of the input to execute the SAP transaction.
    Two main steps are required:
    ? To build an internal table containing every screen and every field to be filled in during the execution of an SAP transaction.
    ? To pass the table to SAP for processing.
    Prerequisite for Data Transfer Program
    Writing a Data Transfer Program involves following prerequisites:
    Analyzing data from local file
    Analyzing transaction
    Analyzing transaction involves following steps:
    ? The transaction code, if you do not already know it.
    ? Which fields require input i.e., mandatory.
    ? Which fields can you allow to default to standard values.
    ? The names, types, and lengths of the fields that are used by a transaction.
    ? Screen number and Name of module pool program behind a particular transaction.
    To analyze a transaction::
    ? Start the transaction by menu or by entering the transaction code in the command box.
    (You can determine the transaction name by choosing System ? Status.)
    ? Step through the transaction, entering the data will be required for processing your batch input data.
    ? On each screen, note the program name and screen (dynpro) number.
    (dynpro = dyn + pro. Dyn = screen, pro = number)
    ? Display these by choosing System ? Status. The relevant fields are Program (dynpro) and Dynpro number. If pop-up windows occur during execution, you can get the program name and screen number by pressing F1 on any field or button on the screen.
    The technical info pop-up shows not only the field information but also the program and screen.
    ? For each field, check box, and radio button on each screen, press F1 (help) and then choose Technical Info.
    Note the following information:
    - The field name for batch input, which you?ll find in its own box.
    - The length and data type of the field. You can display this information by double clicking on the Data Element field.
    ? Find out the identification code for each function (button or menu) that you must execute to process the batch-input data (or to go to new screen).
    Place the cursor on the button or menu entry while holding down the left mouse button. Then press F1.
    In the pop-up window that follows, choose Technical info and note the code that is shown in the Function field.
    You can also run any function that is assigned to a function key by way of the function key number. To display the list of available function keys, click on the right mouse button. Note the key number that is assigned to the functions you want to run.
    Once you have program name, screen number, field name (screen field name), you can start writing.
    DATA TRANSFER program.
    Declaring internal table
    First Integral Table similar to structure like local file.
    Declaring internal table like BDCDATA
    The data from internal table is not transferred directly to database table, it has to go through transaction. You need to pass data to particular screen and to particular screen-field. Data is passed to transaction in particular format, hence there is a need for batch input structure.
    The batch input structure stores the data that is to be entered into SAP system and the actions that are necessary to process the data. The batch input structure is used by all of the batch input methods. You can use the same structure for all types of batch input, regardless of whether you are creating a session in the batch input queue or using CALL TRANSACTION.
    This structure is BDCDATA, which can contain the batch input data for only a single run of a transaction. The typical processing loop in a program is as follows:
    ? Create a BDCDATA structure
    ? Write the structure out to a session or process it with CALL TRANSACTION USING; and then
    ? Create a BDCDATA structure for the next transaction that is to be processed.
    Within a BDCDATA structure, organize the data of screens in a transaction. Each screen that is processed in the course of a transaction must be identified with a BDCDATA record. This record uses the Program, Dynpro, and Dynbegin fields of the structure.
    The screen identifier record is followed by a separate BDCDATA record for each value, to be entered into a field. These records use the FNAM and FVAL fields of the BDCDATA structure. Values to be entered in a field can be any of the following:
    ? Data that is entered into screen fields.
    ? Function codes that are entered into the command field. Such function codes execute functions in a transaction, such as Save or Enter.
    The BDCDATA structure contains the following fields:
    ? PROGRAM: Name of module pool program associated with the screen. Set this field only for the first record for the screen.
    ? DYNPRO: Screen Number. Set this field only in the first record for the screen.
    ? DYNBEGIN: Indicates the first record for the screen. Set this field to X, only for the first record for the screen. (Reset to ? ? (blank) for all other records.)
    ? FNAM: Field Name. The FNAM field is not case-sensitive.
    ? FVAL: Value for the field named in FNAM. The FVAL field is case-sensitive. Values assigned to this field are always padded on the right, if they are less than 132 characters. Values must be in character format.
    Transferring data from local file to internal table
    Data is uploaded to internal table by UPLOAD of WS_UPLOAD function.
    Population of BDCDATA
    For each record of internal table, you need to populate Internal table, which is similar to BDCDATA structure.
    All these five initial steps are necessary for any type of BDC interface.
    DATA TRANSFER program can call SESSION METHOD or CALL TRANSACTION. The initial steps for both the methods are same.
    First step for both the methods is to upload the data to internal table. From Internal Table, the data is transferred to database table by two ways i.e., Session method and Call transaction.
    SESSION METHOD
    About Session method
    In this method you transfer data from internal table to database table through sessions.
    In this method, an ABAP/4 program reads the external data that is to be entered in the SAP System and stores the data in session. A session stores the actions that are required to enter your data using normal SAP transaction i.e., Data is transferred to session which in turn transfers data to database table.
    Session is intermediate step between internal table and database table. Data along with its action is stored in session i.e., data for screen fields, to which screen it is passed, the program name behind it, and how the next screen is processed.
    When the program has finished generating the session, you can run the session to execute the SAP transactions in it. You can either explicitly start and monitor a session or have the session run in the background processing system.
    Unless session is processed, the data is not transferred to database table.
    BDC_OPEN_GROUP
    You create the session through program by BDC_OPEN_GROUP function.
    Parameters to this function are:
    ? User Name: User name
    ? Group: Name of the session
    ? Lock Date: The date on which you want to process the session.
    ? Keep: This parameter is passed as ?X? when you want to retain session after
    processing it or ? ? to delete it after processing.
    BDC_INSERT
    This function creates the session & data is transferred to Session.
    Parameters to this function are:
    ? Tcode: Transaction Name
    ? Dynprotab: BDC Data
    BDC_CLOSE_GROUP
    This function closes the BDC Group. No Parameters.
    Some additional information for session processing
    When the session is generated using the KEEP option within the BDC_OPEN_GROUP, the system always keeps the sessions in the queue, whether it has been processed successfully or not.
    However, if the session is processed, you have to delete it manually. When session processing is completed successfully while KEEP option was not set, it will be removed automatically from the session queue. Log is not removed for that session.
    If the batch-input session is terminated with errors, then it appears in the list of INCORRECT session and it can be processed again. To correct incorrect session, you can analyze the session. The Analysis function allows to determine which screen and value has produced the error. If you find small errors in data, you can correct them interactively, otherwise you need to modify batch input program, which has generated the session or many times even the data file.
    CALL TRANSACTION
    About CALL TRANSACTION
    A technique similar to SESSION method, while batch input is a two-step procedure, Call Transaction does both steps online, one after the other. In this method, you call a transaction from your program by
    Call transaction <tcode> using <BDCTAB>
    Mode <A/N/E>
    Update <S/A>
    Messages into <MSGTAB>.
    Parameter ? 1 is transaction code.
    Parameter ? 2 is name of BDCTAB table.
    Parameter ? 3 here you are specifying mode in which you execute transaction
    A is all screen mode. All the screen of transaction are displayed.
    N is no screen mode. No screen is displayed when you execute the transaction.
    E is error screen. Only those screens are displayed wherein you have error record.
    Parameter ? 4 here you are specifying update type by which database table is updated.
    S is for Synchronous update in which if you change data of one table then all the related Tables gets updated. And sy-subrc is returned i.e., sy-subrc is returned for once and all.
    A is for Asynchronous update. When you change data of one table, the sy-subrc is returned. And then updating of other affected tables takes place. So if system fails to update other tables, still sy-subrc returned is 0 (i.e., when first table gets updated).
    Parameter ? 5 when you update database table, operation is either successful or unsuccessful or operation is successful with some warning. These messages are stored in internal table, which you specify along with MESSAGE statement. This internal table should be declared like BDCMSGCOLL, a structure available in ABAP/4. It contains the following fields:
    1. Tcode: Transaction code
    2. Dyname: Batch point module name
    3. Dynumb: Batch input Dyn number
    4. Msgtyp: Batch input message type (A/E/W/I/S)
    5. Msgspra: Batch input Lang, id of message
    6. Msgid: Message id
    7. MsgvN: Message variables (N = 1 - 4)
    For each entry, which is updated in database, table message is available in BDCMSGCOLL. As BDCMSGCOLL is structure, you need to declare a internal table which can contain multiple records (unlike structure).
    Steps for CALL TRANSACTION method
    1. Internal table for the data (structure similar to your local file)
    2. BDCTAB like BDCDATA
    3. UPLOAD or WS_UPLOAD function to upload the data from local file to itab. (Considering file is local file)
    4. Loop at itab.
    Populate BDCTAB table.
    Call transaction <tcode> using <BDCTAB>
    Mode <A/N/E>
    Update <S/A>.
    Refresh BDCTAB.
    Endloop.
    (To populate BDCTAB, You need to transfer each and every field)
    The major differences between Session method and Call transaction are as follows:
    SESSION METHOD CALL TRANSACTION
    1. Data is not updated in database table unless Session is processed. Immediate updation in database table.
    2. No sy-subrc is returned. Sy-subrc is returned.
    3. Error log is created for error records. Errors need to be handled explicitly
    4. Updation in database table is always synchronous Updation in database table can be synchronous Or Asynchronous.
    Error Handling in CALL TRANSACTION
    When Session Method updates the records in database table, error records are stored in the log file. In Call transaction there is no such log file available and error record is lost unless handled. Usually you need to give report of all the error records i.e., records which are not inserted or updated in the database table. This can be done by the following method:
    Steps for the error handling in CALL TRANSACTION
    1. Internal table for the data (structure similar to your local file)
    2. BDCTAB like BDCDATA
    3. Internal table BDCMSG like BDCMSGCOLL
    4. Internal table similar to Ist internal table
    (Third and fourth steps are for error handling)
    5. UPLOAD or WS_UPLOAD function to upload the data from the local file to itab. (Considering file is local file)
    6. Loop at itab.
    Populate BDCTAB table.
    Call transaction <tr.code> using <Bdctab>
    Mode <A/N/E>
    Update <S/A>
    Messages <BDCMSG>.
    Perform check.
    Refresh BDCTAB.
    Endloop.
    7 Form check.
    IF sy-subrc <> 0. (Call transaction returns the sy-subrc if updating is not successful).
    Call function Format_message.
    (This function is called to store the message given by system and to display it along with record)
    Append itab2.
    Display the record and message.
    DIRECT INPUT
    Thanks &regards,
    Sravani

  • How do I reduce the size of all elements in a Motion project proportionately and simultaneously?

    I have created a complex Motion project with many elements.  Does anyone know how to reduce the size of all elements proportionately and simultaneously in order to shrink this down to a corner logo? Thanks

    Sure.
    In the Layers pane,  IF all of your layers are already in a single Group (if you're really a beginner, then you probably just have the one group), all you need to do is select the Group "layer" containing your design elements and clone it (type - k) -- you'll get a new layer in a new group if it's a top level group of the project called Clone Layer.  (If you have more than one group, select all of them --- however, if there is an FCPX Placeholder-drop-zone-looking-layer with a label like Effect Source or Title Background, don't select that -- you'll need to command-click select just the layers that make up your logo design). [You can alternately select *everything* and command click the layers you do not want to include in the Clone.]
    Creating a clone of anything in no way changes that object or objects.  A clone is like a composite viewer for objects/layers -- like a tv screen is to broadcast signals...
    Uncheck the Cloned Group (or selected objects - if still selected, unchecking one will uncheck all of the selected layers) to inactivate it (this will not affect the clone visibility.) 
    Select the Clone Layer.
    Use the Properties > Transform tools to scale and position the clone layer (changing the blend mode to something like hard light, overlay or similar, and adjusting the opacity makes for a nice "watermark" [corner logo]).
    HTH (hope it's clear enough!)

Maybe you are looking for

  • Officejet pro 8500 premier all-in-one

    good morning from a frustrated user of a new 8500.  a few days ago we junked our other all-in-one and bought the new one ref above.  this init is equipped for wireless operation like our otherone was by using an hp print server.  we are using a netge

  • Oracle Ultra search download

    How to get Ultra serach feature?? I mean which software I need to install?? Application server/dewveloper suite or Database server??Help me Thanks Sudheer

  • Slow broadband after upgrading from Homehub 2 to 4

    Upgraded from our old, dependable Homehub 2 a couple of moths ago. Was offered Homehub 4. Since then, with nothing else changing, we found the speed to be a lot slower, both on wired (Ethernet) connections and with wireless. We have quite a few devic

  • User do not see grid in report.

    Hi, One of the users created report in Financial Reporting Studio and wanted to share it with another one. The second user see the report, can open it, but he does not see grid with data - only headers. Can anyone tell me why this is happening, and w

  • Como descargo el programa Adobe Digital Editions

    No ha sido posible descargar el programa  Adobe Digital Editions 2.0 en mi computador Mac ni en el Ipad. Que debo hacer. Alba Lucía Vélez