Need to alter the tdline for E1EDKT2

Hello Team,
I have a requirement such as this.
I need to loop the internal table idoc_data , search for segment E1EDKT2, and alter the tdline for the segment, is there an efficient way of doing this?
LOOP at IDOC_DATA
assigning <FS_IDOC_DATA> where  SEGNAM = ‘E1EDKT2’
  if sy-tabix = 1,
concatenate ‘XXXXXX:’ E1EDKT2-TDLINE into E1EDKT2-TDLINE.
endif.
endloop.
Is there an efficient way that i can access the segment of the row in idoc_data and alter the tdline?
would greatly appreciate any help on this.
·         if sy-tabix = 1, concatenate ‘PAYMENT TERMS:’ (Get this value from BRF+) <FS_IDOC_DATA>-TDLINE into <FS_IDOC_DATA>-TDLINE

Hello Ramiwal,
You can try with the statement MODIFY itab with itab_lines.
Refer to the SAP help for the statement as below.
MODIFY itab - itab_lines
Syntax
... itab FROM wa TRANSPORTING comp1 comp2 ... WHERE log_exp.
Effect
With these additions the MODIFY statement assigns the content of the comp1 comp2 ... components of the wa work area specified after TRANSPORTING to all lines in the itab table that meet the logical condition log_exp. The wa workarea must be compatib
The TRANSPORTING addition has the same effect as changing individual lines. The WHERE addition can only be specified together with the TRANSPORTING addition. After WHERE, any logical expression can be specified in which the first operand of each individual comparison
Example
Change the contents of the planetype component for all lines in the sflight_tab internal table in which this component contains the value p_plane1 to the value p_plane2.
PARAMETERS: p_carrid TYPE sflight-carrid,
            p_connid TYPE sflight-connid,
            p_plane1 TYPE sflight-planetype,
            p_plane2 TYPE sflight-planetype.
DATA sflight_tab TYPE SORTED TABLE OF sflight
                 WITH UNIQUE KEY carrid connid fldate.
DATA sflight_wa TYPE sflight.
SELECT *
       FROM sflight
       INTO TABLE sflight_tab
       WHERE carrid = p_carrid AND
             connid = p_connid.
sflight_wa-planetype = p_plane2.
MODIFY sflight_tab FROM sflight_wa
       TRANSPORTING planetype WHERE planetype = p_plane1.
wa = <--- required changes.
MODIFY idoc_data FROM wa TRANSPORTING tdline WHERE segnam = 'E1EDKT2'.
Regards,
Thanga

Similar Messages

  • How can I view my pictures that were backed up to iTunes? I no longer have an apple product but need to view the pictures for very important reasons.

    How can I view my pictures that were backed up to iTunes? I no longer have an apple product but need to view the pictures for very important reasons.

    If you mean backed up as part of an iPhone backup in iTunes?  If so, you would have to use 3rd party software to extract them from the backup, such as iPhone Backup Extractor.

  • I have a problem. My Apple ID is not my icloud email address my Apple ID is my msn account, but I need to reset the password for my icloud email because I can't remember what it is. How do I do that?

    I have a problem. My Apple ID is not my iCloud email, my msn is my Apple ID, but I need to reset the password for my icloud email address because I can't remember what it is. How can do I reset my iCloud emaill password when it's not my Apple ID??

    Your iCloud and @icloud.com login ID is an Apple ID. Go to http://appleid.apple.com and sign in with the ID you use to sign into iCloud (you can check this by going to http://www.icloud.com and signing in there).
    Click 'Password & Security' in the sidebar and you will be able to change the password.
    HOWEVER
    Before you do this you must turn off 'Find My iPhone/iPad/iMac' if you have it enabled on any of your devices, otherwise you will land yourself in difficulties.

  • Getting error while creating form and report on webservice: ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.

    i am using the following description to create a web service reference:
    web reference :REST
    Name :Yahoo Map
    URL :http://local.yahooapis.com/MapsService/V1/mapImage
    HTTP Method: GET
    Basic Authentication: No
    Add Parameter:
    Name       Type
    appid        String
    location    String
    Output Format: XML
    XPath to Output Parameters : /Result
    Output Parameter:
    Name       Path       Type
    Url          /text()      String
    Then i tried to create form and report on webservice:
    Web Service Reference Type: Yahoo Map
    Operation: doREST
    All the fields i keep as default
    I tick the checkbox (url)in report Parameter
    After clicking next whereever required i click create button
    I get the following error
    ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.
    Please someone help to solve this as i need to fix it urgently.

    i exported the application from apex.oracle.com and imported it to our environment
    import went fine, but when I ran the IR page I got
    ORA-20001: get_dbms_sql_cursor error ORA-00904: : invalid identifier
    evidently the problem is a lack of public execute on DBMS_LOB, which is used in the generated IR source.
    while waiting for the DBA to grant privs on DBMS_LOB, changing the dbms_lob.getlength call to length() fixes the IR.
    however, i am not getting the download link on the associated form page... changed templates, that's not the issue -- we'll see if that's a dbms_lob issue as well

  • APEX:Getting error while creating form and report on webservice: ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.

    I am using Apex 4.2.2.00.11
    am using the following description to create a web service reference:
    web reference :REST
    Name :Yahoo Map
    URL :http://local.yahooapis.com/MapsService/V1/mapImage
    HTTP Method: GET
    Basic Authentication: No
    Add Parameter:
    Name       Type
    appid        String
    location    String
    Output Format: XML
    XPath to Output Parameters : /Result
    Output Parameter:
    Name       Path       Type
    Url          /text()      String
    Then i tried to create form and report on webservice:
    Web Service Reference Type: Yahoo Map
    Operation: doREST
    All the fields i keep as default
    I tick the checkbox (url)in report Parameter
    After clicking next whereever required i click create button
    I get the following error
    ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.
    Please someone help to solve this as i need to fix it urgently.

    336554,
    Looks like there is a 127-column limit on the number of report columns supported when using that wizard. Do you have more than that?
    57434

  • I need to know the pricing for Team Ready for 10+ users.

    I need to know the pricing for Team Ready for 10+ users.

    http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/products/creativesuite/compa nies/pdfs/CCTR-offer-overview.pdf
    How to get the Creative Cloud Team Ready offer
    This offer is available worldwide through reseller partners under the Adobe Transactional Licensing
    Program (TLP). It is not available directly from Adobe. There is no minimum purchase or limit to the
    number of memberships you can buy.
    http://partners.adobe.com/resellerfinder/na/reseller.jsp

  • Need to do the security for "release" pre-approved batches

    Hi Floks,
    We need to control the finance users just for entering pre-approved batches and submitting only (not allowed for release) and then the finance manager will "release" the same batches and do the distribute costs.
    Can any expert help me, if any posibility to do this? (11.5.10.2 projects)
    Thanks in advance,
    Surya

    Hi,
    Exclude the below Function from the Users' Responsibilities and also remove the REVIEW Menu because User can Release the Batches from this Menu as well. If the Users need to search the Batch for review then they can search using ENTER Menu.
    Function Name: Pre-Approved Expenditure Entry: Release
    I did for 12.0.4. No idea about 11.5.10.2.
    Regards,
    Khan.

  • HT5821 I forget my  answers and i need to change the email for rest  answers

    I forget my  answers and i need to change the email for rest  answers

    You cannot and need to ask Apple to reset your security questions; this can be done by clicking here and picking a method, or if your country isn't listed, filling out and submitting this form.
    Changing the rescue email address requires supplying two of the answers. They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (110891)

  • I need to extend the schema for iPlanet Dir. 5.0 and add custom objectclasses and atributes. I do this by adding entries in the 99user.ldif file. Its not working. Any ideas?

    Hi
    I need to extend the schema for iPlanet Dir. 5.0 and I do not want to do so from the console. As per the documentation, I need to either add entries in the 99user.ldif file or define my own custom [00-99]myname.ldif file. I tried this but its not working.
    I have made the assumption that there is no explicit import step for the 'user defined' schema files (as it is for user data ldif files). I assume that on start (or on opening the console), I'd be able to see the new schema after the server has read the schema file.
    I have verified that entering new objectclasses and attributes from the console adds entries into the 99user.ldif file. So why is the reverse process not working. Can anybody throw some light on this? Also in case my assumptions are faulty, please let me know.
    I did not change the aci entries in the existing ldif file. Is any modification needed there? I was logged in as the Directory Manager during this testing process.
    regards
    Sikka ([email protected])

    Hi Sikka,
    The server reads its schema configuration on startup. If you manually modify the schema files while the server is running, it will not have any effect. You have to restart the server.
    The console adds the new schema elements over LDAP (you could do that as well, you only have to modify the cn=schema entry), so the server is aware of the changes immediately and thus restarting is not needed.
    I hope this helps.
    Bertold

  • HT1918 Hi,   I need to change the country for my Apple store account but this message appears "You have a store credit balance; you must spend your balance before you can change stores." but my credit is 1.58$ only and I couldn't buy any app with this amo

    Hi,
    I need to change the country for my Apple store account but this message appears "You have a store credit balance; you must spend your balance before you can change stores." but my credit is 1.58$ only and I couldn't buy any app with this amount! Any way how to fix that and I don't have a problem if I lose this 1.58 $?

    If you can't spend it then you can try contacting iTunes support and ask if they can remove the balance from your account : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • I use an older Macbook Pro  from 2007 with OS X 10.7 – had issues with Mavericks, so I uninstalled it. I want to get a trial version of AE CS6 but I need to know the specs for it.

    I use an older Macbook Pro  from 2007 with OS X 10.7 – had issues with Mavericks, so I uninstalled it. I want to get a trial version of AE CS6 but I need to know the specs for it.

    System requirements | After Effects

  • I need to add the logic for posting key,

    I need to add the logic for posting key, if posting key = 50 then amount is credit (add negative sign in amount field).
    I creadted this scenario in mapping, We wanted to make sure that the negative sign was placed in the amount field if the posting key was = 50.  So it seems we are good.  We will just need to test.
    How i can test this case?
    Please do needful.
    Thanks in advance.

    Hi,
    You need to use an IfElse node function in your mapping in which the input should be the posting key from the source structure.
    You need to check in the IfElse statement whether the posting key=50, if it is true, then use concat node function to concat the negative sign("-") along with the original value to be passed to the amount field on the target side. Else, if the condition is false(i.e posting key!=50), then simply pass the value to the amount field as it is without adding the negative sign.
    After the mapping is done, go to the test tab and then insert the values in the source fields and then execute from the lower left button showing start transformation.  You need to test with the value of posting key=50 once and with the value not equal to 50 once.In the first case, the output amount field should have the negative sign, which should not be present in the second case.
    You will find your target structure in the righter half of your screen. That's it mate
    Thanks
    Biswajit

  • I need to find the download for ACR 7.3 to use my nikon d600 raw files. i have cs5 running on macboo

    i need to find the download for ACR 7.3 to use my nikon d600 raw files. i have cs5 running on macbook pro with mountain lion OS.

    Hi,
    Unfortunatly the 7.x series of camera raw plugin is not compatible with photoshop cs5.
    You could download the 7.4 DNG Converter and convert your d600 files to dng copies which then photoshop cs5 will open.
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=5568

  • Macbook:  How do I uninstall a game on the macbook?  I need to reinstall the game for it to work, but I can't figure out how to uninstall the game to begin with.

    I need to reinstall the game for it to work, but I can't figure out how to uninstall the game to begin with.  I know that in Windows, there is an "Uninstall" option, but I have found no such option on the Macbook.

    This is one OS X's few weak spots. For most software, it is sufficient to drag the application out of the Applications folder and into the trash.  Of course, this does not delete its preference files, etc, but these are usually pretty small, and can either be left in place or deleted separately.
    Some software might ship with a separate uninstaller utility that you can run.  Sometimes, the package installer can also perform uninstalling, too. 
    You can buy general purpose uninstaller utilities, but as far as I know they won't work for software already installed; only for software installed once the uninstaller is in place.
    Perhaps the safest option is to contact the company that made the game and ask them how it should be uninstalled. 
    Bob

  • I have recently changed by email login password for my emails i have managed to change them in my setting for my iPad but need to change the settings for my MAC computer but i cannot see to do it help please

    i have recently changed by email login password for my emails i have managed to change them in my setting for my iPad but need to change the settings for my MAC computer but i cannot seem to do it help please?

    Mail/Preferences/Accounts
    Use the - and + signs to delete or add your new Accounts
    see
    http://support.apple.com/kb/PH4928
    Mac 101
    http://support.apple.com/kb/index?page=search&src=support_site.kbase.search&loca le=en_US&q=deleting%20mail%20accounts

Maybe you are looking for

  • Can I return my MacBook Air past the return date?

    Hi, I have a question that I've been googling but I haven't been able to find an answer to anywhere. Can I return a MacBook Air past the return date to an Apple store if it is still in shrink-wrap and I have a receipt? Thanks.

  • Java Plug-in 1.5.0_06 Error JRE notinited

    Uninstalled all JRE versions. and downloaded the previous offline install packets from: http://java.sun.com/products/archive/ JRE 1.5.0 JRE 1.5.0_1 JRE 1.5.0_2 JRE 1.5.0_3 JRE 1.5.0_4 JRE 1.5.0_5 JRE 1.5.0_6 ,Installed them one after the other due to

  • A DIFFERENT problem with Maps after Hard Reset

    Was advised to hard reset my phone after it started going crazy with data which I did using the advised *#7something# method. Nokia Maps is fortunately still there upon reset. Phew. Although when I open it it starts downloading mad amounts of data. A

  • CS5 Doesn't Recognize File - Plugins

    I have Tiffen Dfx 2 and all it installed was a .plugin file to my photoshop folder. CS5 has never accepted the .plugin files for me. I figured most of that software wasn't usable in CS5 like some old Alien Skin products, but now with Dfx not installi

  • Does ODP have this functionality?

    Hi; I don't care which Oracle drivers the below functionality is in. But is it available? My guess was this was the best place to ask as both the SqlServer and MySql ADO.NET drivers provide this functionality: 1) How can I connect to an Oracle server