Iteration problem in script.

Hi Experts,
   I have one Main window , footer window and logo windows in my script.But eventhough the WRITE FORMS are in same loop,
in the first iteraion it is going only to the main window .So the first page Footer contains the second iteration value and so on.Please help me to solve this.
I want to print the first iteration value in the first page footer.
Regards,
Sreeja

Hi sreeja,
Why dont you loop and when using write form, specify the window name.
try this.
loop at itab into wa.
call function 'Write_form'
importing
window = 'window name XXX'
call function 'Write_form'
importing
window = 'window name YYY'
call function 'Write_form'
importing
window = 'window name ZZZ'
endloop.  
Blacky

Similar Messages

  • Problem in script format

    hi,
    i am having problem in script , the problem is
    s.no|    descriptio                           |   UOM                      |          Qty                   |             Rate           |          AMT            |
    01     aaaaaaaaaaaaaaaaaaaaa       11.01                             17.28                     170000000               2400000
    this is fine but when the 1st column is shot other also get affected.
    s.no|    descriptio                           |   UOM                      |          Qty                   |             Rate           |          AMT            |
    01     aa       11.01                             17.28                     170000000               2400000
    and i cannot draw vertical line here .what is the solution for this.
    Edited by: jaihind on Mar 6, 2010 12:21 PM
    hi,
    problem is if the description field is long then other coloum are comming fine but if description caloumn is small then other also get affected and its comes towards left .
    Edited by: jaihind on Mar 6, 2010 12:22 PM

    Hi
    For this u can resolve by using the Formatting characters ......
    This is your layout ..
    s.no| descriptio | UOM | Qty | Rate | AMT |
    01 aaaaaaaaaaaaaaaaaaaaa 11.01 17.28 170000000 2400000
    Assume that   your field names like  
    s.no      |  description  |    UOM      |    Qty      |      Rate      |         AMT       |
    &sno&      &desc&         &UOM&       &Qty&         &rate&         &AMT&
    asseme that  length of these fields(in characters) as per your requirement will be ...
    s.no      |  description  |    UOM      |    Qty      |      Rate      |         AMT       |
    8                  15                  5                8                 10                  15
    For these use formatting characters    like   ...
                  s.no      |  description      |    UOM      |    Qty      |      Rate      |         AMT       |
    1stLine  &sno& ,,  &desc+0(15)&,,  &UOM&       &Qty&        &rate&         &AMT&
    2ndline                 &desc+15(15)&     
    &desc+0(15)&  -  it will print  first 15 characters from 0th position
    &desc+15(15)&- From 15th position it will print 15 characters ..
    Hope you resolve your issue
    Let me know if Any concerns,.......

  • Priniting problem in script

    Hi friends,
    i am facing a problem in script. i have developed the form
    and it is working fine .in print preview every thing seems to be ok.
    when we try to take a print the right side characters are cutting down by 2
    characters every time.
    i have moved the content to left but the result is the same.
    can any one tell me how to solve the issue.
    Regards,
    Srinivas

    Hi,
    Try to check the lenght of the field/var that you are printing.
    change the alignment doesnt solve the problem.
    Check in your code what is the lenght and if is the same in your form.
    Sample:
    &j_1bprnfli-cfop(4C)&
    prints only 4 digits of the variable j_1bprnfli-cfop.
    Regards.
    Rodrigo Paisante

  • Problem in script printing

    Hi Guru's
    I have a problem in script printing.
    The quantity and netprice are printing incorrectly. i.e., quantity should print as 1.000 where as it is printing as 1,000 and net price is printing as 5,30 instead of 5.30.
    I have checked in the owndata settings it is like 1,234,56.00.
    I would like to know whether any settings will be there or i need to do any modificatione
    Waiting for you reply.

    Hi!
    Here you can find the SAPScript formatting options.
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/803411454211d189710000e8322d00/content.htm
    If it is not good for you, you might code it in your printer program and put it into a character variable.
    Regards
    Tamá

  • Lately and i dont know why i see a pop up about a problem with script. can some1 help me?

    there is a pop up about a problem with script. it ask me end and contuniue the script. i didnt have that problem before. plz help me it gets really irritating. it asks a lot

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • Query update on each iteration problem (MS SQL Sever / ODBC / Native Driver

    Hello,
    I�ve been working to learn some Java and now JDBC over the past 10 or so months.
    I think I have a general understanding of how to perform queries and work with data using JDBC. However, I�ve run into a problem. I�m trying to do a query of a set of data in a database based on the value of a status column. I want to loop over the messages and perform various functions with the data then update their status in the database. It�s preferable to do these 250 to 1000 rows at a time, but no more and no less.
    I�m connecting to MS SQL Server 2000, currently with ODBC. I�ve also tried it with the Java SQL Server 2000 drivers provided by Microsoft with the same results.
    I�ve found that I can do a one table query and loop though it with a while (rs.next()) {�} and run an Update statement with executeUpdate on each iteration without any problems, no matter the number of rows returned in query.
    I have not been able to use the updateString and updateRow inside the while loop. I keep getting errors like this at the line with the updateRow():
    Exception in thread "main" java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Row update failed.
    This occurs no mater how many rows I select, 1 or more.
    The real problem I�ve been having is that the query I need to loop though joins across several tables and returns some rows from some of those tables. This only seems to work when I query for 38 or less selected rows and I use an Update statement with executeUpdate on each iteration. The updateString and updateRow methods never work. Any number of rows selected greater than 38 causes a deadlock where the Update is waiting for the select to compete on the server and the Update can�t proceed until the Select is complete.
    As I stated above I�ve tried both ODBC and the native SQL Server driver with the same results. I have not tried any other databases, but that�s moot as my data is already in MS SQL.
    Questions:
    How can I avoid or get around this 38 row limit without selecting each row, one at a time?
    What am I doing wrong with the updateString and updateRow?
    Is there a better approach that anyone can suggest?
    Here�s some sample code with the problem:
    import java.sql.*;
    public class db1{
         public static void main(String[] args) throws Exception{
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              String url = "jdbc:odbc:eBrochure_live";
              Connection con = DriverManager.getConnection(url, "sa", "d3v3l0p");
              Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
              Connection con = DriverManager.getConnection("jdbc:microsoft:sqlserver://dcm613u2\\dcm613u2_dev:1433", "sa", "d3v3l0p");
              Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
              Statement stmt2 = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
              stmt.executeUpdate("USE [myDatabase]");
              stmt2.executeUpdate("USE [myDatabase]");
              String qGetMessages = "SELECT TOP 250 t1.messageUUID, t1.subjectHeader, t2.emailAddress as toAddress " +
              "FROM APP_Messages as t1 JOIN APP_addressBook_contacts as t2 " +
              "     On t1.toContactID = t2.contactID " +
              "WHERE t1.statusID = 'queued'";
              ResultSet rs = stmt.executeQuery(qGetMessages);
              while (rs.next()) {
                   String messageUUID = rs.getString("messageUUID");
                   String subjectHeader = rs.getString("subjectHeader");
                   System.out.println(messageUUID + " " + subjectHeader);
                   String updateString = "UPDATE APP_Messages " +
                        "SET statusID = 'sent' " +
                        "WHERE messageUUID = '" + messageUUID + "' ";
                   stmt2.executeUpdate(updateString);
              con.close();
    Thanks for the help,
    Doug Hughes

    // sorry, ps.close() should be outside of if condition
    String sql = "UPDATE APP_Messages SET statusID = 'sent' WHERE messageUUID = ?";
    Statement statement = con.createStatement();
    PreparedStatement ps = con.prepareStatement(sql);
    ResultSet rs = statement.executeQuery("your select SQL");
    if ( rs.next() )
    ps.clearParameters();
    ps.setString(1, rs.getString("your column name"));
    ps.executeUpdate();
    ps.close();
    rs.close();
    statement.close();

  • Having multiple problems with script - NTFS Permissions and AD Groups

    Hi, all!  I'm having multiple problems with my first script I've written with Powershell.  The script below does the following:
    1. Prompts the user for a corporate division under which a shared folder will be created, and adjusts variables accordingly.
    2. Prompts if the folder will be a global folder or an office/location-specific folder, and makes appropriate adjustments to variables.
    3.  If a global folder, prompts for the name.  If an office/location-specific folder, prompts for each component of the street address, city and state and an optional modifier.  I've prompted for this information in this way because the information
    is used differently later on in the script.
    4.  Verifies the entered information and requests confirmation to proceed.
    5.  Creates the folder.
    6.  Creates an AD OU and/or security group(s).
    7.  Applies appropriate security groups to the new folder and removes undesired permissions.
    Import-Module ActiveDirectory
    $Division = ""
    $DivAbbr = ""
    $OU = ""
    $OUDrive = "AD:\"
    $FolderName = ""
    $OUName = ""
    $GroupName = ""
    $OURoot = "ou=DFS Restructure Testing OU,ou=Pennsylvania Camp Hill 4410 Industrial Park Rd,ou=Locations,ou=Camp Hill,dc=jacobsonco,DC=com"
    $FSRoot = "E:\"
    $FolderPath = ""
    $DefaultFolders = "Archive","Customer Service","Equipment","Inbounds","Management","Outbounds","Processes","Projects","Quality","Reports","Returns","Safety","Schedules","Time Keeping","Training"
    [bool]$Location = 0
    do {
    $userInput = Read-Host "Enter CLS Division: (W)arehousing, (S)taffing, or (P)ackaging"
    Switch ($userInput)
    W {$Division = "Warehousing"; $DivAbbr = "WHSE"; $OU = "ou=Warehousing,"; break}
    S {"Staffing is not yet implemented."; break}
    P {"Packaging is not yet implemented."; break}
    default {"Invalid choice. Please re-enter."; break}
    while ($DivAbbr -eq "")
    write-host ""
    write-host ($Division + " was selected.")
    $FolderPath = $Division + "\"
    write-host ""
    $choice = ""
    do {
    $choice = Read-Host "Will this be a (G)lobal folder or (L)ocation folder?"
    Switch ($choice)
    G {$Location = $false; break}
    L {$Location = $true; $FolderPath = $FolderPath + "Locations\"; $OU = "ou=Locations," + $OU; break}
    default {"Invalid choice. Please re-enter."; $choice = ""; break}
    while ($choice -eq "")
    write-host ""
    write-host ("Location is set to: " + $Location)
    write-host ""
    if ($Location -eq $false) {
    $FolderName = Read-Host "Please enter folder name:"
    $GroupName = $DivAbbr + " " + $FolderName
    } else {
    $input = Read-Host "Please enter two-letter state abbreviation:"
    $FolderName = $FolderName + $input + " "
    $input = Read-Host "Please enter city:"
    $FolderName = $FolderName + $input + " "
    $input = Read-Host "Please enter street address number only:"
    $FolderName = $FolderName + $input
    $GroupName = $DivAbbr + " " + $FolderName
    $FolderName = $FolderName + " "
    $input = Read-Host "Please enter street name:"
    $FolderName = $FolderName + $input
    $input = Read-Host "Please enter any optional information to appear in folder name:"
    if ($input -ne "") {
    $FolderName = $FolderName + " " + $input
    $OUName = $FolderName
    write-host
    write-host "Path for folder: "$FSRoot$FolderPath$FolderName
    write-host "AD Path: "$OUDrive$OU$OURoot
    write-host "New OU Name: "$OUName
    write-host -NoNewLine "New Security Group names: "$GroupName
    if ($Location -eq $true) { write-host " and "$GroupName" MGMT" }
    write-host
    $input = Read-Host "Please confirm creation of new site/folder: (Y/N) "
    if ($input -ne "Y") { Exit }
    write-host
    write-host -NoNewLine "Folder exists: "; Test-Path ($FSRoot + $FolderPath + $FolderName)
    if (Test-Path ($FSRoot + $FolderPath + $FolderName)) {
    Write-Host "Folder already exists! Skipping folder creation..."
    } else {
    write-host "Folder does not exist. Creating..."
    new-item -path ($FSRoot + $FolderPath) -name $FolderName -itemtype directory
    Set-Location ($FSRoot + $FolderPath + $FolderName)
    if ($Location -eq $true) {
    $tempOUName = "ou=" + $OUName + ","
    write-host
    write-host $OUDrive$tempOUName$OU$OURoot
    write-host
    write-host -NoNewLine "OU exists: "; Test-Path ($OUDrive + $tempOUName + $OU + $OURoot)
    if (Test-Path ($OUDrive + $tempOUName + $OU + $OURoot)) {
    Write-Host "OU already exists! Skipping OU creation..."
    } else {
    write-host "OU does not exist. Creating..."
    New-ADOrganizationalUnit -Name $OUName -Path ($OU + $OURoot) -ProtectedFromAccidentalDeletion $false
    $GroupNameMGMT = $GroupName + " MGMT"
    if (!(Test-Path ($OUDrive + "CN=" + $GroupName + "," + $tempOUName + $OU + $OURoot))) { write-host "Normal user group does not exist. Creating..."; New-ADGroup -Name $GroupName -GroupCategory Security -GroupScope Global -Path ("OU=" + $OUName + "," + $OU + $OURoot)}
    if (!(Test-Path ($OUDrive + "CN=" + $GroupNameMGMT + "," + $tempOUName + $OU + $OURoot))) { write-host "Management user group does not exist. Creating..."; New-ADGroup -Name $GroupNameMGMT -GroupCategory Security -GroupScope Global -Path ("OU=" + $OUName + "," + $OU + $OURoot)}
    $FolderACL = get-acl ($FSRoot + $FolderPath + $FolderName)
    $FolderACL.SetAccessRuleProtection($True,$True)
    # $FolderACL.Access | where {$_.IdentityReference -eq "BUILTIN\Users"} | %{$FolderACL.RemoveAccessRuleAll($_)}
    $BIUsers = New-Object System.Security.Principal.NTAccount("BUILTIN\Users")
    $BIUsersSID = $BIUsers.Translate([System.Security.Principal.SecurityIdentifier])
    write-host $BIUsersSID.Value
    # out-string -inputObject $BIUsers
    $Ar = New-Object System.Security.AccessControl.FileSystemAccessRule($BIUsersSID.Value,"ReadAndExecute,AppendData,CreateFiles,Synchronize","ContainerInherit, ObjectInherit", "None", "Allow")
    $FolderACL.RemoveAccessRuleAll($Ar)
    Set-ACL ($FSRoot + $FolderPath + $FolderName) $FolderACL
    get-acl ($FSRoot + $FolderPath + $FolderName) | fl
    $FolderACL = get-acl ($FSRoot + $FolderPath + $FolderName)
    $ADGroupName = "JACOBSON\" + $GroupName
    $objUser = New-Object System.Security.Principal.NTAccount($ADGroupName)
    $objUser.Translate([System.Security.Principal.SecurityIdentifier]).Value
    write-host $ADGroupName
    write-host $objUser.Value
    $Ar = New-Object System.Security.AccessControl.FileSystemAccessRule($ADGroupName,"ReadAndExecute","ContainerInherit, ObjectInherit", "None", "Allow")
    Out-String -InputObject $ar
    $FolderACL.AddAccessRule($Ar)
    $ADGroupName = "JACOBSON\" + $GroupNameMGMT
    $Ar = New-Object System.Security.AccessControl.FileSystemAccessRule($ADGroupName, "Modify", "ContainerInherit, ObjectInherit", "None", "Allow")
    Out-String -InputObject $ar
    $FolderACL.AddAccessRule($Ar)
    Set-ACL ($FSRoot + $FolderPath + $FolderName) $FolderACL
    } else {
    $tempOUName = "cn=" + $GroupName + ","
    write-host
    write-host $OUDrive$tempOUName$OU$OURoot
    write-host
    write-host -NoNewLine "Group exists: "; Test-Path ($OUDrive + $tempOUName + $OU + $OURoot)
    if (Test-Path ($OUDrive + $tempOUName + $OU + $OURoot)) {
    Write-Host "Security group already exists! Skipping new security group creation..."
    } else {
    write-host "Security group does not exist. Creating..."
    New-ADGroup -Name $GroupName -GroupCategory Security -GroupScope Global -Path ($OU + $OURoot)
    $FolderACL = get-acl ($FSRoot + $FolderPath + $FolderName)
    $ADGroupName = "JACOBSON\" + $GroupName
    $FolderACL.SetAccessRuleProtection($True,$True)
    $Ar = New-Object System.Security.AccessControl.FileSystemAccessRule($ADGroupName,"Modify","ContainerInherit, ObjectInherit", "None", "Allow")
    $FolderACL.AddAccessRule($Ar)
    $FolderACL.Access | where {$_.IdentityReference -eq "BUILTIN\Users"} | %{$FolderACL.RemoveAccessRuleAll($_)}
    Set-ACL ($FSRoot + $FolderPath + $FolderName) $FolderACL
    My problems right now are in the assignment/removal of security groups on the newly-created folder, and the problems are two-fold.  Yes, I am running this script as an Administrator.
    First, I am unable to remove the BUILTIN\Users group from the folder when this is an office/location-specific folder.  I've tried to remove the group in several different ways, and none are having any effect.  Oddly, if I type in the lines directly
    into Powershell, they work as expected.  I've tried the following methods:
    $FolderACL = get-acl ($FSRoot + $FolderPath + $FolderName)
    $FolderACL.SetAccessRuleProtection($True,$True)
    $FolderACL.Access | where {$_.IdentityReference -eq "BUILTIN\Users"} | %{$FolderACL.RemoveAccessRuleAll($_)}
    Set-ACL ($FSRoot + $FolderPath + $FolderName) $FolderACL
    $FolderACL = get-acl ($FSRoot + $FolderPath + $FolderName)
    $FolderACL.SetAccessRuleProtection($True,$True)
    $BIUsers = New-Object System.Security.Principal.NTAccount("BUILTIN\Users")
    $BIUsersSID = $BIUsers.Translate([System.Security.Principal.SecurityIdentifier])
    $Ar = New-Object System.Security.AccessControl.FileSystemAccessRule($BIUsersSID.Value,"ReadAndExecute,AppendData,CreateFiles,Synchronize","ContainerInherit, ObjectInherit", "None", "Allow")
    $FolderACL.RemoveAccessRuleAll($Ar)
    Set-ACL ($FSRoot + $FolderPath + $FolderName) $FolderACL
    In the first case, the script goes through and has no apparent effect because afterwards, I do a get-acl and the BUILTIN\Users group is still there, although when looking through the GUI, inheritance appears to have been broken from the parent folder.
    In the second case, I get the following error message:
    Exception calling "RemoveAccessRuleAll" with "1" argument(s): "Some or all identity references could not be translated."
    At C:\Users\tesdallb\Documents\FileServerBuild.ps1:110 char:5
    +     $FolderACL.RemoveAccessRuleAll($Ar)
    +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : IdentityNotMappedException
    This seems strange that the local server is unable to translate the SID of a BUILTIN account.  I've also tried explicitly putting in the BUILTIN\Users SID in place of the variable in the New-Object line, but that gives me the same error.  I've
    also tried the solutions given in this thread:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/ad59dc58-1360-4652-ae09-2cd4273cbd4f/remove-acl-issue?forum=winserverpowershell and at this URL:
    http://technet.microsoft.com/en-us/library/ff730951.aspx but these solutions also failed to have any effect.
    My second problem is when I try to apply the newly-created security groups, I also will get the "Some or all identity references could not be translated."  I thought I had found a workaround to the problem by adding the -PassThru option to
    the New-ADGroup commands, because it would output the SID of the group after creation, however a few lines later, the server is unable to translate the account to apply the security groups to the folder.
    My first Powershell script has been working well up to this point and now I seem to have hit a showstopper.  Any help is appreciated.
    Thanks!

    I was hoping to stay with strictly Powershell, but unless I can find a Powershell solution, I may resort to ICACLS.
    As for the problems with my groups not being translatable right after creating them, I think I have solved this problem by using the -Server parameter on all my New-ADGroup commands and this example code seems to have gotten around the translation problem,
    again utilizing the -Server parameter on the Get-ADGroup command:
    get-acl ($FSRoot + $FolderPath + $FolderName) | fl
    $FolderACL = get-acl ($FSRoot + $FolderPath + $FolderName)
    # Add the new normal users group to the folder with Read and Execute permissions
    $GroupSID = Get-ADGroup -Identity $GroupName -Server chadc01.jacobsonco.com | Select-Object -ExpandProperty SID
    $SIDIdentity = New-Object System.Security.Principal.SecurityIdentifier($GroupSID)
    $Ar = New-Object System.Security.AccessControl.FileSystemAccessRule($SIDIdentity,"ReadAndExecute","ContainerInherit, ObjectInherit", "None", "Allow")
    $FolderACL.AddAccessRule($Ar)
    # Add the management users group to the folder with Modify permissions
    $GroupMGMTSID = Get-ADGroup -Identity $GroupNameMGMT -Server chadc01.jacobsonco.com | Select-Object -ExpandProperty SID
    $SIDIdentity = New-Object System.Security.Principal.SecurityIdentifier($GroupMGMTSID)
    $Ar = New-Object System.Security.AccessControl.FileSystemAccessRule($SIDIdentity, "Modify", "ContainerInherit, ObjectInherit", "None", "Allow")
    $FolderACL.AddAccessRule($Ar)
    Set-ACL ($FSRoot + $FolderPath + $FolderName) $FolderACL
    Going this route seems to ensure that the Domain Controller I'm creating my groups on is the same one that I'm querying for the group's SID to use in the FileSystemAccessRule.  It's been working fairly consistently.
    Still having issues with the translation of the BUILTIN\Users group, though. 

  • Page problem in script

    Hi,
    I have one more problem. Actually my script having only one page output. But in second page also logo is printing.
    I don't want second page. In first page I have only two windows main & logo.
    Could you please suggest me how to do it.

    Hi!
    You have to set up 2 pages in SE71, FIRST, and NEXT.
    FIRST has to contain the LOGO and MAIN windows.
    NEXT has to contain only the MAIN window.
    At the FIRST page you have to set the next page as NEXT page.
    At the NEXT page you have to set the next page as NEXT page (same as FIRST).
    This makes your NEXT sides not to print the logo and handles accidentally data overflow to your second page.
    Check out if there is an explicit /: NEW-PAGE in your sapscript, this causes problems also.
    Regards
    Tamás
    Message was edited by:
            Tamás Nyisztor

  • Problem in script output sending mail

    hi ,
    I have a problem sending a mail with script output as attachment . I have searched in the forum for the answers but none is solved my question.
    I am sending the data to the otf and it is getting the otfdata. but it is not showing  the data on the script when it is sent as an attachment to the email , but it is showing only script with null values filled.( means i am getting the mail with attachment but in that attachment there is no data filled in the script send).
    the code is like this ..
    here i am filling the otfdata and i am exporting the otfdata
    CALL FUNCTION 'ZMM_ARRANG_ENTRY_ABR_NATRAB'
        EXPORTING
          i_nast       = nast
          i_fonam      = tnapr-fonam
          i_xscreen    = pi_xscreen
          i_arc_params = arc_params
          i_toa_dara   = toa_dara
        IMPORTING
          e_retcode    = px_retcode
        EXCEPTIONS
          OTHERS       = 1.
      IF ( sy-subrc <> 0 ).                "Fehler
        MOVE sy-subrc TO px_retcode.
        IF ( pi_xscreen = 'X' ).           "Ausgabe auf Bildschirm
          MESSAGE ID     sy-msgid
                  TYPE   sy-msgty
                  NUMBER sy-msgno
                  WITH   sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ELSE.
    *---Import OTFDATA from the memory
        IMPORT  it_otfdata FROM MEMORY ID 'OTF'.
      ENDIF.
      wa_maildata-obj_name = 'EMAIL'.
      wa_maildata-obj_descr = 'Settlement Details'.
    *-----mail contents
      it_mailtext-line = 'Sub-sequent settlement Details'.
      APPEND it_mailtext.
      DESCRIBE TABLE it_mailtext LINES v_lines.
      READ TABLE it_mailtext INDEX v_lines.
      wa_maildata-doc_size = ( v_lines - 1 ) * 255 + STRLEN( it_mailtext ).
    *Creation of the entry for the compressed document
      CLEAR it_mailpack-transf_bin.
      it_mailpack-head_start = 1.
      it_mailpack-head_num   = 0.
      it_mailpack-body_start = 1.
      it_mailpack-body_num   = v_lines.
      it_mailpack-doc_type   = 'RAW'.
      APPEND it_mailpack.
    *-----Get OTF data
      LOOP AT it_otfdata.
        it_mailcont-line = it_otfdata.
        APPEND it_mailcont.
      ENDLOOP.
    *---Move  OTF data into binary table
      LOOP AT it_mailcont.
        MOVE-CORRESPONDING it_mailcont TO it_mailbin.
        APPEND it_mailbin.
      ENDLOOP.
    *---Get no of lines in Binary data table
      DESCRIBE TABLE it_mailbin LINES v_lines.
    *---Fill name of the header of email
      it_mailhead = 'Subsequent Settlement Details.OTF'.
      APPEND it_mailhead.
    *---Creation of the entry for the compressed attachment
      it_mailpack-transf_bin   = 'X'.
      it_mailpack-head_start   = 1.
      it_mailpack-head_num     = 1.
      it_mailpack-body_start   = 1.
      it_mailpack-body_num     = v_lines.
      it_mailpack-doc_type     = 'OTF'.
      it_mailpack-obj_name     = 'EMAIL'.
      it_mailpack-obj_descr    = 'Settlement Details'.
      it_mailpack-doc_size     = v_lines * 255.
      APPEND it_mailpack.
    *----Get email address from the address number of vendor
      CALL FUNCTION 'ADDR_GET_REMOTE'
        EXPORTING
          addrnumber = l_adrnum
        TABLES
          adsmtp     = it_adsmtp.
    *----Get mail address
      READ TABLE it_adsmtp WITH KEY remark = 'AP_SUB_SETT'.
      IF sy-subrc = 0.
        it_mailrec-receiver   = it_adsmtp-smtp_addr.
        it_mailrec-rec_type   = 'U'.
        it_mailrec-com_type   = 'EXT'.
        APPEND it_mailrec.
    *---Send email with PDF attachment
        CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          EXPORTING
            document_data = wa_maildata
            put_in_outbox = 'X'
            COMMIT_WORK   = 'X'
          TABLES
            packing_list  = it_mailpack
            object_header = it_mailhead
            contents_bin  = it_mailbin
            contents_txt  = it_mailtext
            receivers     = it_mailrec.
      ELSE.
        MESSAGE 'No email id Exist for the vendor' TYPE 'E'.
      ENDIF.
    please suggest me with your valuable answers .
    Regards,
    Venkat Appikonda.

    Hi venkat
    Just check if this helps you.
    The following part of the code does exactly that.
    Selecting details from the spool request table.
      SELECT * FROM tsp01 INTO TABLE tb_spool
               WHERE rqowner = sy-uname.
      IF sy-subrc EQ 0.
        SORT tb_spool DESCENDING BY rqcretime.
        CLEAR : tb_spool.
        READ TABLE tb_spool INDEX 1.
    convert spool into PDF format.
        CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
             EXPORTING
                  src_spoolid = tb_spool-rqident
             TABLES
                  PDF         = tb_lines.
      ENDIF.
    After this, on execution we get the below mentioned message.
    This indicates that a PDF of the SAP Script has been created which is in the format u201C132-long stringsu201D.
    In order to send the mail across, the mailing format of the PDF supports u201C255-long stringsu201D. So, the present u201C132-long stringsu201D needs to be converted into u201C255-long stringsu201D. This along with the mail code is mentioned below.
      DATA: lv_receiver(50) TYPE c.
      REFRESH: tb_obj_txt,
               tb_obj_bin,
               tb_obj_head,
               tb_paklist,
               tb_receiver.
      CLEAR: tb_obj_txt,
             tb_obj_bin,
             tb_paklist,
             tb_obj_head,
             tb_receiver.
      CLEAR: tb_adrc.
    IF NOT tb_adrc[] IS INITIAL.
    Reading the address table with the key as address number.
        READ TABLE tb_adrc WITH KEY addrnumber = tb_kna2-adrnr.
        IF sy-subrc EQ 0.
    Vendor Email ID.
          SELECT SINGLE smtp_addr
             FROM adr6
             INTO wf_mailaddr
             WHERE addrnumber = tb_adrc-addrnumber.
          IF sy-subrc EQ 0.
    Moving the mail address to the receiver itab
            MOVE wf_mailaddr TO tb_receiver-receiver.
            tb_receiver-rec_type = text-011.
            APPEND tb_receiver.
          ELSE.
            CONCATENATE text-004 tb_kna2-kunnr text-005 INTO lv_receiver
                                       SEPARATED BY space.
    If pa_call is initial, the receiver ID is printed; else an INVALID E-mail ID    message gets flashed.
            IF pa_call IS INITIAL.
              WRITE :/ lv_receiver.
            ENDIF.
            CLEAR: itab.
            itab-kunnr = tb_kna2-kunnr.
            itab-message = lv_receiver.
            APPEND itab.
            EXIT.   u201CNo mailing for invalid Email id
          ENDIF.
        ENDIF.
      ENDIF.
      wf_name = sy-uname.
      wf_year = tb_main-bldat(4).
      wf_mon = tb_main-bldat+4(2).
    *This FM gives the name of the months. 
    CALL FUNCTION 'MONTH_NAMES_GET'
           EXPORTING
                language    = sy-langu
           TABLES
                month_names = tb_months.
      IF sy-subrc EQ 0.
        READ TABLE tb_months WITH KEY mnr = wf_mon.
        IF sy-subrc EQ 0.
          wf_name = tb_months-ktx.
        ENDIF.
      ENDIF.
      CLEAR: tb_contp.
    IF NOT tb_contp[] IS INITIAL.
    *Reading the contp itab as per the customer entered on the selection screen.
        READ TABLE tb_contp WITH KEY bukrs = pa_bukrs
                                     kunnr =  tb_kna2-kunnr.
        IF sy-subrc EQ 0.
        CONCATENATE text-006 text-008 tb_contp-contp text-008 tb_kna2-kunnr
                              text-008 wf_name text-008 wf_year INTO wf_sub.
        ENDIF.
      ELSE.
        CONCATENATE text-006 text-008 tb_kna2-kunnr text-008 wf_name
                                        text-008 wf_year INTO wf_sub.
      ENDIF.
    Subject and Description
      CLEAR wa_docdata.
      wa_docdata-obj_name  = text-007.
      wa_docdata-obj_descr = wf_sub.
      wa_docdata-obj_langu = sy-langu.
    Write main body
      tb_obj_txt = text-009.
      APPEND tb_obj_txt.
      CLEAR tb_obj_txt.
      CLEAR  tb_paklist.
      tb_paklist-head_start = 1.
      tb_paklist-head_num   = 3.
      tb_paklist-body_start = 1.
      tb_paklist-body_num   = 60.
      tb_paklist-doc_type   = text-012.
      APPEND tb_paklist.
      CLEAR  tb_paklist.
    create PDF file
    Transfer the 132-long strings to 255-long strings
      LOOP AT tb_lines.
        TRANSLATE tb_lines USING ' ~'.
        CONCATENATE wf_buffer tb_lines INTO wf_buffer.
      ENDLOOP.
      TRANSLATE wf_buffer USING '~ '.
      DO.
        tb_obj_bin = wf_buffer.
        APPEND tb_obj_bin.
        SHIFT wf_buffer LEFT BY 255 PLACES.
        IF wf_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
      DESCRIBE TABLE tb_obj_bin LINES lv_lines.
      READ TABLE tb_obj_bin INDEX lv_lines.
      lv_size = ( lv_lines - 1 ) * 255 + STRLEN( tb_obj_bin ).
    Create attachment notification
      tb_paklist-transf_bin = co_x.
      tb_paklist-head_start = 1.
      tb_paklist-head_num   = 0.
      tb_paklist-body_start = 1.
      tb_paklist-body_num   = lv_lines.
      tb_paklist-doc_type   = text-013.
      tb_paklist-obj_descr  = text-010.
      tb_paklist-obj_name   = text-010.
      tb_paklist-doc_size   = lv_size.
      APPEND tb_paklist.
    *mail the PDF to the receiver.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
                document_data              = wa_docdata
                sender_address             = wf_name
                sender_address_type        = text-014
           TABLES
                packing_list               = tb_paklist
                object_header              = tb_obj_head
                contents_bin               = tb_obj_bin
                contents_txt               = tb_obj_txt
                receivers                  = tb_receiver
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                OTHERS                     = 8.
      IF sy-subrc <> 0.
        CONCATENATE text-003 tb_kna2-kunnr text-005 INTO lv_receiver
                                SEPARATED BY space.
        CLEAR: itab.
        itab-kunnr = tb_kna2-kunnr.
        itab-message = lv_receiver.
        APPEND itab.
        IF pa_call IS INITIAL.
          WRITE :/ lv_receiver.
        ENDIF.
      ELSE.
        CONCATENATE text-002 tb_kna2-kunnr text-005 INTO lv_receiver
                                SEPARATED BY space.
        CLEAR: itab.
        itab-kunnr = tb_kna2-kunnr.
        itab-message = lv_receiver.
        APPEND itab.
        IF pa_call IS INITIAL.
          WRITE :/ lv_receiver.
        ENDIF.
      ENDIF.
    Hope this helps.
    Harsh

  • Main window iteration problem in smart forms

    Hai,
    I am struggling from a problem from past 1 weak, can anybody help me.
    Problem:
    user- inputs: 2 different items say item1 and item2.
    The output should be the combinations of four pages(pg1,pg2,pg3,pg4)  based on conditions.
    pg1 should be displayed when:
         1. item1 and item2 are less than 5.
         2. either pg1 or pg2 are less than 5.
    note: pg1 can only display 5 items of each type.
    pg2 should be displayed when:
        1.item1/item2 is greater than 5 and less than 15.
        2. either item1/item2 >5 and <=15 .
    note: pg1 can only display 15 items of each type.
    pg3 should be displayed when:
        item1 is greater than 15.
    pg4 should be displayed when
       item2 is greater than 15.
    My problem is when there are items greater than 15 say 90 items then main window page is not iterated i.e only first 40 is displayed remaining are not displayed.
    Please help me as soon as possible.
    Helpful answers will be rewarded.
    Thanks and Regards,
    Swetha Singh.

    Hi,
    Instead of calculating the line items, you can use the command in the footer of the main table to go to next page. It will dynamicaly push to the next page, once first page data display was over.
    Is this the answer you are looking for. Thanks.

  • Problem with scripts

    Certain sites, most recently The Daily Show, will not load for me. I get a box that says:
    "Warning: unresponsive script
    A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
    Script: resource://gre/modules/ConsoleAPIStorage.jsm:157
    [Continue] [Stop script]"
    Whether I click to continue or stop the script, nothing happens except that the box goes away and then comes up again. If I try to close the tab, it just hangs and then finally shows the box again.
    Finally, Firefox just gets completely hung up, and I have to close it out with the task manager.
    Meanwhile, everything runs fine in Internet Explorer.
    Can anyone please help me solve this problem?
    Thanks,
    Ellen

    Is DOM storage enabled?
    You can check the value of the dom.storage.enabled pref on the about:config page.
    *http://kb.mozillazine.org/about:config
    You can also try to delete the webappsstore.sqlite file in the Firefox Profile Folder to remove all data (cookies) stored in DOM storage.
    You can use this button to go to the Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    You can try to reset Firefox and create a new profile.
    *https://support.mozilla.org/kb/reset-firefox-easily-fix-most-problems

  • [SOLVED] Archiso: problem with script build.sh

    Hi guys,
    i have this problem when I run ./build.sh,
    cp: cannot create hard link ‘work/root-image/usr/src/linux-3.11.6-1-ARCH/vmlinux’ to ‘work/i686/root-image/usr/src/linux-3.11.6-1-ARCH/vmlinux’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/bzlib.h’ to ‘work/i686/root-image/usr/include/bzlib.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/dlg_colors.h’ to ‘work/i686/root-image/usr/include/dlg_colors.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gpg-error.h’ to ‘work/i686/root-image/usr/include/gpg-error.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/pcap-namedb.h’ to ‘work/i686/root-image/usr/include/pcap-namedb.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/unistring/inline.h’ to ‘work/i686/root-image/usr/include/unistring/inline.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/unistring/stdint.h’ to ‘work/i686/root-image/usr/include/unistring/stdint.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/unistring/iconveh.h’ to ‘work/i686/root-image/usr/include/unistring/iconveh.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/unistring/cdefs.h’ to ‘work/i686/root-image/usr/include/unistring/cdefs.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/unistring/version.h’ to ‘work/i686/root-image/usr/include/unistring/version.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/unistring/stdbool.h’ to ‘work/i686/root-image/usr/include/unistring/stdbool.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/unistring/woe32dll.h’ to ‘work/i686/root-image/usr/include/unistring/woe32dll.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/unistring/localcharset.h’ to ‘work/i686/root-image/usr/include/unistring/localcharset.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gc/gc_amiga_redirects.h’ to ‘work/i686/root-image/usr/include/gc/gc_amiga_redirects.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gc/gc_tiny_fl.h’ to ‘work/i686/root-image/usr/include/gc/gc_tiny_fl.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gc/gc_config_macros.h’ to ‘work/i686/root-image/usr/include/gc/gc_config_macros.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gc/cord.h’ to ‘work/i686/root-image/usr/include/gc/cord.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gc/gc_inline.h’ to ‘work/i686/root-image/usr/include/gc/gc_inline.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gc/weakpointer.h’ to ‘work/i686/root-image/usr/include/gc/weakpointer.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gc/leak_detector.h’ to ‘work/i686/root-image/usr/include/gc/leak_detector.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gc/gc_backptr.h’ to ‘work/i686/root-image/usr/include/gc/gc_backptr.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gc/gc_mark.h’ to ‘work/i686/root-image/usr/include/gc/gc_mark.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gc/gc_gcj.h’ to ‘work/i686/root-image/usr/include/gc/gc_gcj.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gc/gc_allocator.h’ to ‘work/i686/root-image/usr/include/gc/gc_allocator.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gc/gc_typed.h’ to ‘work/i686/root-image/usr/include/gc/gc_typed.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gc/gc.h’ to ‘work/i686/root-image/usr/include/gc/gc.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gc/gc_cpp.h’ to ‘work/i686/root-image/usr/include/gc/gc_cpp.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gc/gc_version.h’ to ‘work/i686/root-image/usr/include/gc/gc_version.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gc/new_gc_alloc.h’ to ‘work/i686/root-image/usr/include/gc/new_gc_alloc.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gc/gc_pthread_redirects.h’ to ‘work/i686/root-image/usr/include/gc/gc_pthread_redirects.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/re_comp.h’ to ‘work/i686/root-image/usr/include/re_comp.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/tcl.h’ to ‘work/i686/root-image/usr/include/tcl.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/idn-free.h’ to ‘work/i686/root-image/usr/include/idn-free.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/pthread.h’ to ‘work/i686/root-image/usr/include/pthread.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/cursesp.h’ to ‘work/i686/root-image/usr/include/cursesp.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldap.h’ to ‘work/i686/root-image/usr/include/ldap.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/memory.h’ to ‘work/i686/root-image/usr/include/memory.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/pci/types.h’ to ‘work/i686/root-image/usr/include/pci/types.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/pci/config.h’ to ‘work/i686/root-image/usr/include/pci/config.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/pci/header.h’ to ‘work/i686/root-image/usr/include/pci/header.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/pci/pci.h’ to ‘work/i686/root-image/usr/include/pci/pci.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gcrypt.h’ to ‘work/i686/root-image/usr/include/gcrypt.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/verto.h’ to ‘work/i686/root-image/usr/include/verto.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/db_185.h’ to ‘work/i686/root-image/usr/include/db_185.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/p11-kit-1/p11-kit/pkcs11.h’ to ‘work/i686/root-image/usr/include/p11-kit-1/p11-kit/pkcs11.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/p11-kit-1/p11-kit/p11-kit.h’ to ‘work/i686/root-image/usr/include/p11-kit-1/p11-kit/p11-kit.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/p11-kit-1/p11-kit/pin.h’ to ‘work/i686/root-image/usr/include/p11-kit-1/p11-kit/pin.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/p11-kit-1/p11-kit/iter.h’ to ‘work/i686/root-image/usr/include/p11-kit-1/p11-kit/iter.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/p11-kit-1/p11-kit/uri.h’ to ‘work/i686/root-image/usr/include/p11-kit-1/p11-kit/uri.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/p11-kit-1/p11-kit/deprecated.h’ to ‘work/i686/root-image/usr/include/p11-kit-1/p11-kit/deprecated.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/netipx/ipx.h’ to ‘work/i686/root-image/usr/include/netipx/ipx.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/stdio.h’ to ‘work/i686/root-image/usr/include/stdio.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ncurses.h’ to ‘work/i686/root-image/usr/include/ncurses.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/itclTclIntStubsFcn.h’ to ‘work/i686/root-image/usr/include/itclTclIntStubsFcn.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/tclPlatDecls.h’ to ‘work/i686/root-image/usr/include/tclPlatDecls.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/lzma.h’ to ‘work/i686/root-image/usr/include/lzma.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/stdint.h’ to ‘work/i686/root-image/usr/include/stdint.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/tclPort.h’ to ‘work/i686/root-image/usr/include/tclPort.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/lber_types.h’ to ‘work/i686/root-image/usr/include/lber_types.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/security/_pam_macros.h’ to ‘work/i686/root-image/usr/include/security/_pam_macros.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/security/pam_modutil.h’ to ‘work/i686/root-image/usr/include/security/pam_modutil.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/security/pam_client.h’ to ‘work/i686/root-image/usr/include/security/pam_client.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/security/pam_filter.h’ to ‘work/i686/root-image/usr/include/security/pam_filter.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/security/pam_ext.h’ to ‘work/i686/root-image/usr/include/security/pam_ext.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/security/pam_appl.h’ to ‘work/i686/root-image/usr/include/security/pam_appl.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/security/pam_modules.h’ to ‘work/i686/root-image/usr/include/security/pam_modules.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/security/pam_misc.h’ to ‘work/i686/root-image/usr/include/security/pam_misc.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/security/_pam_types.h’ to ‘work/i686/root-image/usr/include/security/_pam_types.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/security/_pam_compat.h’ to ‘work/i686/root-image/usr/include/security/_pam_compat.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/fcntl.h’ to ‘work/i686/root-image/usr/include/fcntl.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ss/ss.h’ to ‘work/i686/root-image/usr/include/ss/ss.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ss/ss_err.h’ to ‘work/i686/root-image/usr/include/ss/ss_err.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/grp.h’ to ‘work/i686/root-image/usr/include/grp.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/unitypes.h’ to ‘work/i686/root-image/usr/include/unitypes.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/db_cxx.h’ to ‘work/i686/root-image/usr/include/db_cxx.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/jpegint.h’ to ‘work/i686/root-image/usr/include/jpegint.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/expat.h’ to ‘work/i686/root-image/usr/include/expat.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/argp.h’ to ‘work/i686/root-image/usr/include/argp.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/sudo_plugin.h’ to ‘work/i686/root-image/usr/include/sudo_plugin.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ucontext.h’ to ‘work/i686/root-image/usr/include/ucontext.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ifaddrs.h’ to ‘work/i686/root-image/usr/include/ifaddrs.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/catalog.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/catalog.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/xpath.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/xpath.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/entities.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/entities.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/c14n.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/c14n.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/list.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/list.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/xmlschemas.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/xmlschemas.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/relaxng.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/relaxng.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/xlink.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/xlink.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/xinclude.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/xinclude.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/xmlautomata.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/xmlautomata.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/xmlmodule.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/xmlmodule.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/HTMLtree.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/HTMLtree.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/xmlwriter.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/xmlwriter.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/pattern.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/pattern.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/xmlregexp.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/xmlregexp.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/xmlschemastypes.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/xmlschemastypes.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/SAX.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/SAX.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/xpointer.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/xpointer.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/nanohttp.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/nanohttp.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/valid.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/valid.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/chvalid.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/chvalid.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/dict.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/dict.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/globals.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/globals.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/debugXML.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/debugXML.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/xmlreader.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/xmlreader.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/parserInternals.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/parserInternals.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/SAX2.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/SAX2.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/HTMLparser.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/HTMLparser.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/hash.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/hash.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/schemasInternals.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/schemasInternals.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/xmlsave.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/xmlsave.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/DOCBparser.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/DOCBparser.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/xmlunicode.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/xmlunicode.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/parser.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/parser.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/xmlerror.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/xmlerror.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/threads.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/threads.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/tree.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/tree.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/xmlversion.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/xmlversion.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/xmlIO.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/xmlIO.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/xmlexports.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/xmlexports.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/uri.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/uri.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/nanoftp.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/nanoftp.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/xpathInternals.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/xpathInternals.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/xmlmemory.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/xmlmemory.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/xmlstring.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/xmlstring.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/schematron.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/schematron.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libxml2/libxml/encoding.h’ to ‘work/i686/root-image/usr/include/libxml2/libxml/encoding.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gshadow.h’ to ‘work/i686/root-image/usr/include/gshadow.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/pipeline.h’ to ‘work/i686/root-image/usr/include/pipeline.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/glob.h’ to ‘work/i686/root-image/usr/include/glob.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/sound/compress_offload.h’ to ‘work/i686/root-image/usr/include/sound/compress_offload.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/sound/sfnt_info.h’ to ‘work/i686/root-image/usr/include/sound/sfnt_info.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/sound/emu10k1.h’ to ‘work/i686/root-image/usr/include/sound/emu10k1.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/sound/compress_params.h’ to ‘work/i686/root-image/usr/include/sound/compress_params.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/sound/asequencer.h’ to ‘work/i686/root-image/usr/include/sound/asequencer.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/sound/hdsp.h’ to ‘work/i686/root-image/usr/include/sound/hdsp.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/sound/asound.h’ to ‘work/i686/root-image/usr/include/sound/asound.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/sound/asound_fm.h’ to ‘work/i686/root-image/usr/include/sound/asound_fm.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/sound/hdspm.h’ to ‘work/i686/root-image/usr/include/sound/hdspm.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/sound/sb16_csp.h’ to ‘work/i686/root-image/usr/include/sound/sb16_csp.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/_G_config.h’ to ‘work/i686/root-image/usr/include/_G_config.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/itcl2TclOO.h’ to ‘work/i686/root-image/usr/include/itcl2TclOO.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/pcre_scanner.h’ to ‘work/i686/root-image/usr/include/pcre_scanner.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/sysexits.h’ to ‘work/i686/root-image/usr/include/sysexits.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/nl_types.h’ to ‘work/i686/root-image/usr/include/nl_types.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/luaconf.h’ to ‘work/i686/root-image/usr/include/luaconf.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/semaphore.h’ to ‘work/i686/root-image/usr/include/semaphore.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/resolver.h’ to ‘work/i686/root-image/usr/include/ldns/resolver.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/higher.h’ to ‘work/i686/root-image/usr/include/ldns/higher.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/buffer.h’ to ‘work/i686/root-image/usr/include/ldns/buffer.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/rr.h’ to ‘work/i686/root-image/usr/include/ldns/rr.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/rbtree.h’ to ‘work/i686/root-image/usr/include/ldns/rbtree.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/update.h’ to ‘work/i686/root-image/usr/include/ldns/update.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/sha2.h’ to ‘work/i686/root-image/usr/include/ldns/sha2.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/zone.h’ to ‘work/i686/root-image/usr/include/ldns/zone.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/net.h’ to ‘work/i686/root-image/usr/include/ldns/net.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/dnssec_verify.h’ to ‘work/i686/root-image/usr/include/ldns/dnssec_verify.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/tsig.h’ to ‘work/i686/root-image/usr/include/ldns/tsig.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/error.h’ to ‘work/i686/root-image/usr/include/ldns/error.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/duration.h’ to ‘work/i686/root-image/usr/include/ldns/duration.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/common.h’ to ‘work/i686/root-image/usr/include/ldns/common.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/host2wire.h’ to ‘work/i686/root-image/usr/include/ldns/host2wire.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/wire2host.h’ to ‘work/i686/root-image/usr/include/ldns/wire2host.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/host2str.h’ to ‘work/i686/root-image/usr/include/ldns/host2str.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/packet.h’ to ‘work/i686/root-image/usr/include/ldns/packet.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/str2host.h’ to ‘work/i686/root-image/usr/include/ldns/str2host.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/rdata.h’ to ‘work/i686/root-image/usr/include/ldns/rdata.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/dnssec.h’ to ‘work/i686/root-image/usr/include/ldns/dnssec.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/rr_functions.h’ to ‘work/i686/root-image/usr/include/ldns/rr_functions.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/dnssec_zone.h’ to ‘work/i686/root-image/usr/include/ldns/dnssec_zone.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/dane.h’ to ‘work/i686/root-image/usr/include/ldns/dane.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/keys.h’ to ‘work/i686/root-image/usr/include/ldns/keys.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/dnssec_sign.h’ to ‘work/i686/root-image/usr/include/ldns/dnssec_sign.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/ldns.h’ to ‘work/i686/root-image/usr/include/ldns/ldns.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/parse.h’ to ‘work/i686/root-image/usr/include/ldns/parse.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/sha1.h’ to ‘work/i686/root-image/usr/include/ldns/sha1.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/util.h’ to ‘work/i686/root-image/usr/include/ldns/util.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/ldns/dname.h’ to ‘work/i686/root-image/usr/include/ldns/dname.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/idn-int.h’ to ‘work/i686/root-image/usr/include/idn-int.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/slang.h’ to ‘work/i686/root-image/usr/include/slang.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/search.h’ to ‘work/i686/root-image/usr/include/search.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gssapi/gssapi_ext.h’ to ‘work/i686/root-image/usr/include/gssapi/gssapi_ext.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gssapi/gssapi_krb5.h’ to ‘work/i686/root-image/usr/include/gssapi/gssapi_krb5.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gssapi/gssapi_generic.h’ to ‘work/i686/root-image/usr/include/gssapi/gssapi_generic.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gssapi/gssapi.h’ to ‘work/i686/root-image/usr/include/gssapi/gssapi.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gssapi/mechglue.h’ to ‘work/i686/root-image/usr/include/gssapi/mechglue.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/libudev.h’ to ‘work/i686/root-image/usr/include/libudev.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/uniname.h’ to ‘work/i686/root-image/usr/include/uniname.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/monetary.h’ to ‘work/i686/root-image/usr/include/monetary.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/inttypes.h’ to ‘work/i686/root-image/usr/include/inttypes.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/systemd/sd-journal.h’ to ‘work/i686/root-image/usr/include/systemd/sd-journal.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/systemd/sd-id128.h’ to ‘work/i686/root-image/usr/include/systemd/sd-id128.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/systemd/sd-daemon.h’ to ‘work/i686/root-image/usr/include/systemd/sd-daemon.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/systemd/sd-login.h’ to ‘work/i686/root-image/usr/include/systemd/sd-login.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/systemd/sd-shutdown.h’ to ‘work/i686/root-image/usr/include/systemd/sd-shutdown.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/systemd/sd-messages.h’ to ‘work/i686/root-image/usr/include/systemd/sd-messages.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/event.h’ to ‘work/i686/root-image/usr/include/event.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/xlocale.h’ to ‘work/i686/root-image/usr/include/xlocale.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/gettext-po.h’ to ‘work/i686/root-image/usr/include/gettext-po.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/regex.h’ to ‘work/i686/root-image/usr/include/regex.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/proc/devname.h’ to ‘work/i686/root-image/usr/include/proc/devname.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/proc/version.h’ to ‘work/i686/root-image/usr/include/proc/version.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/proc/sig.h’ to ‘work/i686/root-image/usr/include/proc/sig.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/proc/whattime.h’ to ‘work/i686/root-image/usr/include/proc/whattime.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/proc/slab.h’ to ‘work/i686/root-image/usr/include/proc/slab.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/proc/alloc.h’ to ‘work/i686/root-image/usr/include/proc/alloc.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/proc/pwcache.h’ to ‘work/i686/root-image/usr/include/proc/pwcache.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/proc/sysinfo.h’ to ‘work/i686/root-image/usr/include/proc/sysinfo.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/proc/wchan.h’ to ‘work/i686/root-image/usr/include/proc/wchan.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/proc/readproc.h’ to ‘work/i686/root-image/usr/include/proc/readproc.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/proc/escape.h’ to ‘work/i686/root-image/usr/include/proc/escape.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/proc/procps.h’ to ‘work/i686/root-image/usr/include/proc/procps.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/fnmatch.h’ to ‘work/i686/root-image/usr/include/fnmatch.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/lzo/minilzo.h’ to ‘work/i686/root-image/usr/include/lzo/minilzo.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/lzo/lzoconf.h’ to ‘work/i686/root-image/usr/include/lzo/lzoconf.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/lzo/lzodefs.h’ to ‘work/i686/root-image/usr/include/lzo/lzodefs.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/lzo/lzo1f.h’ to ‘work/i686/root-image/usr/include/lzo/lzo1f.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/lzo/lzo1c.h’ to ‘work/i686/root-image/usr/include/lzo/lzo1c.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/lzo/lzo1x.h’ to ‘work/i686/root-image/usr/include/lzo/lzo1x.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/lzo/lzo1z.h’ to ‘work/i686/root-image/usr/include/lzo/lzo1z.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/lzo/lzo1a.h’ to ‘work/i686/root-image/usr/include/lzo/lzo1a.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/lzo/lzo2a.h’ to ‘work/i686/root-image/usr/include/lzo/lzo2a.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/lzo/lzo1y.h’ to ‘work/i686/root-image/usr/include/lzo/lzo1y.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/lzo/lzo1b.h’ to ‘work/i686/root-image/usr/include/lzo/lzo1b.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/lzo/lzo1.h’ to ‘work/i686/root-image/usr/include/lzo/lzo1.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/lzo/lzo_asm.h’ to ‘work/i686/root-image/usr/include/lzo/lzo_asm.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/lzo/lzoutil.h’ to ‘work/i686/root-image/usr/include/lzo/lzoutil.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/dlg_config.h’ to ‘work/i686/root-image/usr/include/dlg_config.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/itclInt.h’ to ‘work/i686/root-image/usr/include/itclInt.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/utime.h’ to ‘work/i686/root-image/usr/include/utime.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/lzoconf.h’ to ‘work/i686/root-image/usr/include/lzoconf.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/curses.h’ to ‘work/i686/root-image/usr/include/curses.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/idea.h’ to ‘work/i686/root-image/usr/include/openssl/idea.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/ssl2.h’ to ‘work/i686/root-image/usr/include/openssl/ssl2.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/lhash.h’ to ‘work/i686/root-image/usr/include/openssl/lhash.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/camellia.h’ to ‘work/i686/root-image/usr/include/openssl/camellia.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/srtp.h’ to ‘work/i686/root-image/usr/include/openssl/srtp.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/buffer.h’ to ‘work/i686/root-image/usr/include/openssl/buffer.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/pem2.h’ to ‘work/i686/root-image/usr/include/openssl/pem2.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/dtls1.h’ to ‘work/i686/root-image/usr/include/openssl/dtls1.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/whrlpool.h’ to ‘work/i686/root-image/usr/include/openssl/whrlpool.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/opensslconf.h’ to ‘work/i686/root-image/usr/include/openssl/opensslconf.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/dso.h’ to ‘work/i686/root-image/usr/include/openssl/dso.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/blowfish.h’ to ‘work/i686/root-image/usr/include/openssl/blowfish.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/e_os2.h’ to ‘work/i686/root-image/usr/include/openssl/e_os2.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/des_old.h’ to ‘work/i686/root-image/usr/include/openssl/des_old.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/krb5_asn.h’ to ‘work/i686/root-image/usr/include/openssl/krb5_asn.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/txt_db.h’ to ‘work/i686/root-image/usr/include/openssl/txt_db.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/ts.h’ to ‘work/i686/root-image/usr/include/openssl/ts.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/engine.h’ to ‘work/i686/root-image/usr/include/openssl/engine.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/seed.h’ to ‘work/i686/root-image/usr/include/openssl/seed.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/pkcs7.h’ to ‘work/i686/root-image/usr/include/openssl/pkcs7.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/asn1.h’ to ‘work/i686/root-image/usr/include/openssl/asn1.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/err.h’ to ‘work/i686/root-image/usr/include/openssl/err.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/cmac.h’ to ‘work/i686/root-image/usr/include/openssl/cmac.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/symhacks.h’ to ‘work/i686/root-image/usr/include/openssl/symhacks.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/stack.h’ to ‘work/i686/root-image/usr/include/openssl/stack.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/conf.h’ to ‘work/i686/root-image/usr/include/openssl/conf.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/ssl.h’ to ‘work/i686/root-image/usr/include/openssl/ssl.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/dh.h’ to ‘work/i686/root-image/usr/include/openssl/dh.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/comp.h’ to ‘work/i686/root-image/usr/include/openssl/comp.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/ocsp.h’ to ‘work/i686/root-image/usr/include/openssl/ocsp.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/md4.h’ to ‘work/i686/root-image/usr/include/openssl/md4.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/ecdsa.h’ to ‘work/i686/root-image/usr/include/openssl/ecdsa.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/asn1t.h’ to ‘work/i686/root-image/usr/include/openssl/asn1t.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/safestack.h’ to ‘work/i686/root-image/usr/include/openssl/safestack.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/bio.h’ to ‘work/i686/root-image/usr/include/openssl/bio.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/rc2.h’ to ‘work/i686/root-image/usr/include/openssl/rc2.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/x509_vfy.h’ to ‘work/i686/root-image/usr/include/openssl/x509_vfy.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/asn1_mac.h’ to ‘work/i686/root-image/usr/include/openssl/asn1_mac.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/bn.h’ to ‘work/i686/root-image/usr/include/openssl/bn.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/ebcdic.h’ to ‘work/i686/root-image/usr/include/openssl/ebcdic.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/pqueue.h’ to ‘work/i686/root-image/usr/include/openssl/pqueue.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/sha.h’ to ‘work/i686/root-image/usr/include/openssl/sha.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/dsa.h’ to ‘work/i686/root-image/usr/include/openssl/dsa.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/ui_compat.h’ to ‘work/i686/root-image/usr/include/openssl/ui_compat.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/ssl3.h’ to ‘work/i686/root-image/usr/include/openssl/ssl3.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/rc4.h’ to ‘work/i686/root-image/usr/include/openssl/rc4.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/rand.h’ to ‘work/i686/root-image/usr/include/openssl/rand.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/crypto.h’ to ‘work/i686/root-image/usr/include/openssl/crypto.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/hmac.h’ to ‘work/i686/root-image/usr/include/openssl/hmac.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/md5.h’ to ‘work/i686/root-image/usr/include/openssl/md5.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/modes.h’ to ‘work/i686/root-image/usr/include/openssl/modes.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/objects.h’ to ‘work/i686/root-image/usr/include/openssl/objects.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/ui.h’ to ‘work/i686/root-image/usr/include/openssl/ui.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/ripemd.h’ to ‘work/i686/root-image/usr/include/openssl/ripemd.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/cast.h’ to ‘work/i686/root-image/usr/include/openssl/cast.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/ssl23.h’ to ‘work/i686/root-image/usr/include/openssl/ssl23.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/srp.h’ to ‘work/i686/root-image/usr/include/openssl/srp.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/conf_api.h’ to ‘work/i686/root-image/usr/include/openssl/conf_api.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/kssl.h’ to ‘work/i686/root-image/usr/include/openssl/kssl.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/ec.h’ to ‘work/i686/root-image/usr/include/openssl/ec.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/x509.h’ to ‘work/i686/root-image/usr/include/openssl/x509.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/aes.h’ to ‘work/i686/root-image/usr/include/openssl/aes.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/pem.h’ to ‘work/i686/root-image/usr/include/openssl/pem.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/x509v3.h’ to ‘work/i686/root-image/usr/include/openssl/x509v3.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/tls1.h’ to ‘work/i686/root-image/usr/include/openssl/tls1.h’: Invalid cross-device link
    cp: cannot create hard link ‘work/root-image/usr/include/openssl/ecdh.h’ to ‘work/i686/root-image/usr/include/openssl/ecdh.h’: Invalid cross-device link
    Any idea for fix the problem?
    P.S. I followed this guide: https://wiki.archlinux.org/index.php/ar … ive_medium
    Last edited by stifler83 (2013-11-09 10:34:50)

    I wasn't able to scroll over with the browser I was using before (or maybe I was but just didn't...).  The "Invalid cross-device link" part is indicating that it is trying to create a hard-link across two filesystems.  An example would be if you had a separate / and /home, and tried to create a hard link between something in /etc and something in your $HOME.  It would not work because they are on separate partitions (the inodes are not shared).  But this can also happen if you try to hard link across bind mounts as well, which is less obvious.
    What I meant by non-POSIX compliant filesystem is a filesystem that does not support POSIX attributes.  If you tried to install Linux on a vfat or ntfs filesystem, it would not work simply because it does not support all the features that are required to make Linux work.  The most basic of these is the user and group ownership and file permissions.  But this is not the case for you since you are using ext4 (and I apparently didn't investigate your code block closely enough).

  • Abt clear value problem in scripts

    Hi,
    Im working on scripts.in scripts im calculating totals by using subroutine.but im facing problem.
    my problem is first time i calculated it's working fine.
    when i go back and enter other order number it's taking previous order number and present total and it displays these totals.
    i clear the it_out in se38 and the varible which holds the total.
    but it's not working.
    please help me in this.
    Thanks & Regards,
    Srinivas

    Hi this is my abap code.
    FORM get_extpr_tot TABLES it_input STRUCTURE itcsy it_output STRUCTURE itcsy.
    REFRESH : it_output.
    CLEAR v_extpr_tot.
      DATA: v_vbeln2(10) TYPE n.
      REFRESH it_input.
      Clear v_vbeln2.
    clear v_extpr_tot1.
      READ TABLE it_input INDEX 1.
      MOVE it_input-value TO v_vbeln2.
      READ TABLE it_input INDEX 2.
      MOVE it_input-value TO v_extpr_tot.
      v_extpr_tot1 = v_extpr_tot1 + v_extpr_tot.
      READ TABLE it_output INDEX 1.
      WRITE v_extpr_tot1 TO it_output-value LEFT-JUSTIFIED.
      MODIFY it_output INDEX 1.
       Clear it_output.
      clear v_extpr_tot1.
    REFRESH it_output.
    ENDFORM.                    "GET_EXTPR_TOT
    and my se71 code is
    PERFORM GET_EXTPR_TOT IN PROGRAM ZSP_SD_ORDCM.
    USING &VBDKA-VBELN&
    USING &V_PRICE&
    CHANGING &V_EXTPR_TOT1&
    ENDPERFORM
    please help me

  • Typical problem in SCRIPTS

    Hello Experts,
    I am working on SAP script where i have to display the records in a page from a internal table.
    begin of xtab occurs 0,
    vbeln like vbak-vbeln,
    matnr like mara-matnr,
    maktx like makt-maktx,
    erdat like vbak-erdat,
    date_var(1),       "indicates date change with 'x'
    status(1),         "indicates vbeln change with 'x'
    end of xtab.
    now my requirement to display to have the script is
    1) when ever the date_var is 'X' a new page should trigger.
    2) when ever status = 'X' there should be
    a line after the display of records indicating the change of vbeln saying
    "there are xxx number of materials for vbeln"
    THE PROBLEM:-
        suppose if a page can hold 20 records. and if I have 23 records.  the 3 records are dispalying in next page, with "there are xxx number of materials for vbeln"
    which is fine.
         But if when there is change of date at 24th record, where a new page should trigger- this
         is not happening and further more records from 24 index are attaching after the
         "there are 23 number of materials for vbeln are used".
        My exceptation over this display should is - it should display 20 records in frist page
        and move to next page to display 3 records along with "there are 23 number of materials for
        vbeln are used"  ( As the page could hold only 20 records). and THEN AFTER THIS AS THERE IS
        CHANGE IN DATE IT SHOULD TRIGGER A NEW PAGE to display from 24th record.
      Please Help me in giving the code for this.
    Thanks
    Mary

    Hi Mary,
    I suppose you can modify the printing program.
    Try to work with an internal table like:
    <i>erdat like vbak-erdat,
    vbeln like vbak-vbeln,
    matnr like mara-matnr,
    maktx like makt-maktx,</i>
    So the code could be something as:
    <i>SORT XTAB BY ERDAT VBELN
    LOOP AT XTAB
    AT NEW ERDAT
      if sy-tabix > 1.
        NEW-PAGE (function).
      endif.
    ENDAT
    AT END OF VBELN.
      WRITE_FORM (function)
      Element = text containing numbers of materials
    ENDAT
    ENDLOOP</i>

  • Total Problem in scripts

    Hi,
    I'm facing one big issue in scripts.ie: in printing totals.
      for totals i write a subroutine in scripts.
      it's working fine.it's displaying totals well.here my problem is first i see the print preview.at that time total is correct.but when i came back and see the print preview again it displaying wrong.ie if first time the total is 'A'.Then second time it displaying like (A+A).
      other problem is when i see the print preview and displays it and go back and took the print at that time also it displaying (A+A).
    My code is like :
    *&      Form  GET_EXTPR_TOT
        this routine will get the LINE ITEM EXTENDED PRICE TOTALS When
        there is no PROMO CODE.
    form get_extpr_tot tables it_input structure itcsy it_output structure itcsy.
      data: v_vbeln2(10) type n.
      clear it_input.
      clear v_vbeln2.
      read table it_input index 1.
      move it_input-value to v_vbeln2.
      read table it_input index 2.
      move it_input-value to v_extpr_tot.
      v_extpr_tot1 = v_extpr_tot1 + v_extpr_tot.
      read table it_output index 1.
      write v_extpr_tot1 to it_output-value left-justified.
      modify it_output index 1.
      clear it_output.
    endform.                    "GET_EXTPR_TOT
    Please Send ur valuable answers.
    Thanks,
    Srinivas.

    Hi Srinivas,
    In your script you can define the total variable in one of the header related elements that will be called. for exaple you can define it in the element
    /E HEADER_TARGET_VALUE
    /: DEFINE &V_EXTPR_TOT1& = ' '
    and change your code in ITEM_LINE_PRICE_QUANTITY element as follows
    /E ITEM_LINE_PRICE_QUANTITY
    /* Begin of modification (RICEF/Issue Number:F-SD-04) by sbhavanam
    /: PERFORM GET_EXTPR_TOT IN PROGRAM ZSP_SD_ORDCM.
    /: USING &VBDKA-VBELN&
    /: USING &V_PRICE&
    /: CHANGING &V_EXTPR_TOT1&
    /: ENDPERFORM
    your abap should look like this.
    FORM get_extpr_tot TABLES it_input STRUCTURE itcsy it_output STRUCTURE itcsy.
    DATA: v_vbeln2(10) TYPE n
    * CLEAR it_input.
    CLEAR v_vbeln2.
    CLEAR v_extpr_tot.
    READ TABLE it_input INDEX 1.
    MOVE it_input-value TO v_vbeln2.
    READ TABLE it_input INDEX 2.
    MOVE it_input-value TO v_extpr_tot.
    read table it_input index 3.
    move it_input-value to v_extpr_tot1.
    v_extpr_tot1 = v_extpr_tot1 + v_extpr_tot.
    * v_extpr_tot_tst = v_extpr_tot_
    READ TABLE it_output INDEX 1.
    WRITE v_extpr_tot1 TO it_output-value LEFT-JUSTIFIED.
    MODIFY it_output INDEX 1.
    CLEAR it_output.
    ENDFORM. "GET_EXTPR_TOT
    that should solve your issues.
    -Kalyan

Maybe you are looking for

  • Outlook 2013 can't connect to Exchange server

    Trying to set up Outlook 2013 on my new work laptop. I have the correct Exchange server name  and emaill address, but get the error message "The connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complete this act

  • How to use top_of_page in alv

    Regarding  I want to use given below format in TOP_OF_PAGE using  FUNCTION MODULE ALV_DISPLAY_GRID  HOW TO WRITE THE CODE THIS FORMAT .. COMPANY NAME     IFRS Balance      Time 10:53:23      Date 29.09.2010 FRANCE Closing period 31.12.2009          M

  • Is there a facility to put a GPS aerial on the N95...

    I got the N95 really in order to have a neat GPS/OS map system for hill walking and a phone in one and have just been trying my N95 with some OS 1:25000 and 1:50000 maps from Viewranger (excellent mapping product, excellent service). Walking about wi

  • Select rows in custom Grid/Matrix form.

    Hi, I am creating custom Form(Screen) with Matrix Control, now i want to select row and on click of OK button , i want to set currency values in Standard Sap :B1 Screen Fields(say Landed Cost) but i am not able to select the rows, Does anybody knows

  • Where are all the Video FX and Audio FX from iMovie HD?

    Exactly! I tried looking for them, but all I found were: Music and Sound Effects, Photos, Titles, and Transitions. iMovie HD had things (under "Editing") such as: Video FX and Audio FX, and also had waaay more choices of Titles, and a couple extra Tr