Header line missing for multiple records in the Receiver Email.

I have a file to email scenario
I see the content in mapping has proper output with all the HDRs and ITMS. but when it comes throught the receiver it is missing the HDRs.
Source
HDR1***   ITM1***  ITM2****
HDR2***   ITM1***  ITM2***ITM3**
The email Body looks like the following:
HDR1***   ITM1***  ITM2***ITM1**  ITM2***ITM3*
I am missing the HDR for the subsequent recodrs and the subsequent items are shown as if they are the items of the first HDR1. I checked the Mapping the mapping output and it looks good, but when i actually get the email i see it missing susequent HDRs.

When I was at a client on 11.5.10, I ended up creating a personalization on the Requisitions screen.
If someone created a requisition with 2 ship to orgs, it raised an error.
It was not full proof but it was deemed satisfactory by the client.
You can consider personalization or you can modify the requisition approval workflow to include the check for multiple ship-to condition.
Hope this helps
Sandeep Gandhi
Independent Techno-functional Consultant

Similar Messages

  • How to select multiple records in the ALV POP UP by using oops

    Hi All,
    We have a requirement of ALV POP UP by using the OOPS. How to select the multiple records in the POP UP and After selecting that i want do Inteactive ALV means again one more POP UP in ALV.
    Thanks for help....
    Regards,
    Bharani

    Hello Bharani
    Displaying an ALV list in a popup is by no means different from a list displayed on a main screen. The only thing you need to consider is that you set the right screen level when creating the parent container for the ALV.
    For more details refer to thread in CL_GUI_SPLITTER_CONTAINER  ALV list  is not show in called screen
    " step 1:
      CREATE OBJECT gr_spliter
        EXPORTING
          parent = cl_gui_container=>screen0 " For first popup use: =>screen1
          rows = 1
          columns = 2.
    Regards
      Uwe

  • BAPI_PO_CREATE1 not able to create PO's for multiple rows from the flat fil

    Hi
    i am uploading PO's from a flat file into SAP using the BAPI_PO_CREATE1. Everything works fine if the flat file hast only one record.
    if the flat file has more than one record then while loading the second record the BAPI returns a error message. I am calling the BAPI in a loop.
    The strange thing is that if i load the second record individually the program is able to create the PO. So only when i have multiple records in the flat file i am unable to load the PO into SAP. I debugged and checked all the internal tables passed to the BAPI. All seems to have the data correctly but still the BAPI fails.
    any idea where i am going wrong?
    the code looks something like this.
    LOOP AT HEADER_ITAB.
       PERFORM FILL_HEADER_RECORDS.
    LOOP AT ITEM_ITAB WHERE EBELN eq HEADER_ITAB-EBELN.
         PERFORM FILL_ITEM_RECORDS.
    ENDLOOP.
      PERFORM CERATE_PO_VIA_BAPI.
    ENDLOOP.

    What is the error message. Are you trying something like this:
        LOOP AT T_DATA1.
          AT NEW LIFNR.
            READ TABLE T_DATA1 INDEX SY-TABIX.
            PERFORM INIT_TABLES.
            PERFORM FILL_DATA.
    --Call the BAPI to create PO
            PERFORM CREATE_PO.
          ENDAT.
        ENDLOOP.
    FORM CREATE_PO .
      CALL FUNCTION 'BAPI_PO_CREATE1'
        EXPORTING
          POHEADER                     =   POHEADER
          POHEADERX                    =   POHEADERX
        POADDRVENDOR                 =
        TESTRUN                      =
        MEMORY_UNCOMPLETE            =
        MEMORY_COMPLETE              =
        POEXPIMPHEADER               =
        POEXPIMPHEADERX              =
        VERSIONS                     =
        NO_MESSAGING                 =
        NO_MESSAGE_REQ               =
        NO_AUTHORITY                 =
        NO_PRICE_FROM_PO             =
       IMPORTING
         EXPPURCHASEORDER             =  EXPPURCHASEORDER
         EXPHEADER                    =  EXPHEADER
         EXPPOEXPIMPHEADER            =  EXPPOEXPIMPHEADER
       TABLES
         RETURN                       =  RETURN
         POITEM                       =  POITEM
         POITEMX                      =  POITEMX
        POADDRDELIVERY               =
         POSCHEDULE                   =  POSCHEDULE
         POSCHEDULEX                  =  POSCHEDULEX
         POACCOUNT                    =  POACCOUNT
        POACCOUNTPROFITSEGMENT       =
         POACCOUNTX                   =  POACCOUNTX
        POCONDHEADER                 =
        POCONDHEADERX                =
         POCOND                       =  POCOND
         POCONDX                      =  POCONDX
        POLIMITS                     =
        POCONTRACTLIMITS             =
        POSERVICES                   =
        POSRVACCESSVALUES            =
        POSERVICESTEXT               =
        EXTENSIONIN                  =
        EXTENSIONOUT                 =
        POEXPIMPITEM                 =
        POEXPIMPITEMX                =
        POTEXTHEADER                 =
          POTEXTITEM                   = POTEXTITEM
        ALLVERSIONS                  =
         POPARTNER                    =  POPARTNER
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          WAIT   = 'X'
        IMPORTING
          RETURN = RETURN1.
      DATA: L_NAME TYPE LFA1-NAME1.
      CLEAR L_NAME.
      SELECT SINGLE NAME1
               FROM  LFA1
               INTO L_NAME
               WHERE LIFNR = POHEADER-VENDOR.
      LOOP AT RETURN.
        WRITE : / RETURN-TYPE,
                  RETURN-ID,
                  RETURN-MESSAGE.
        WRITE : '--> For vendor:',
                 POHEADER-VENDOR,
                 L_NAME.
      ENDLOOP.
    ENDFORM.                    " CREATE_PO

  • Create single message in receiving side for each record in the sender file

    Dear Experts,
    My Interface is from FILE to MQ (JMS)..
    I have a specific requirement in my project, I have multiple files in sender directory ( /tmp)
    Ex: FILE_20090202.TXT
    FILE_20090203.TXT
    FILE_20090204.TXT
    FILE_20090205.TXT
    And each file has couple of records just shown below:
    ABC   123     WER    SER
    BCD   345     WEDR    SER
    CDE   567     GHTE   DDGG u2026. Etc..
    I have to process all the files at a time ( may be I can use file masking by FILE*.txt) , one message has to be created in MQ for each record of the file..
    Ex:
    Message 1: ABC   123     WER    SER
    Message 2: BCD   345     WEDR    SER
    Message 3: CDE   567     GHTE   DDGG
    Valuable inputs are appiciated !!
    Cheers,
    Kumar

    As already suggested, multi-mapping can be used
    You need to set target root node occurrence to unbounded and map root node accordingly
    you will have to use enhanced interface determinaion
    For detail refer:
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

  • Content conversion for multiple recordesets of the same type

    Hi
    I have a scenario where in i have the follwing structure
    BXX
    <>
    HDR
    <>
    ITM1
    <>
    *TM2
    <>
    Now sometimes i get mutiple records like the following
    BXX
    <>
    HDR (first occurance)
    <>
    ITM1
    <>
    ITM2
    <>
    HDR (2nd occurance)
    <>
    ITM1
    <>
    ITM2
    <>
    ITM3
    <>
    HDR (Third occurance)
    *So now how should my content conversion be to achieve this.*

    >>Now sometimes i get multiple records like the following
    What kind of source file you are getting? If this is a flat file, the structure should not come with multiple recordset in a single line.
    You should get multiple lines. like below
    BXX *** HDR1 *** ITM1 *** ITM2
    BXX *** HDR2 *** ITM1 *** ITM2
    BXX *** HDR3 *** ITM1 *** ITM2
    If you are not getting structure like above, you should ask the source application to send in that way.
    All applications i have seen give the structure i mentioned above.
    The structure which you have mentioned comes in XML file. (one parent-multiple children)
    Thanks
    Aamir

  • BAPI Error: No schedule lines due for delivery up to the selected date

    Hi,
    I have created a program to create delivery orders with reference to sales orders using BAPI - BAPI_OUTB_DELIVERY_CREATE_SLS.
    After execution I get the error: No schedule lines due for delivery up to the selected date
    Please help.
    Thanks in advance!!!
    Regards,
    Sriram

    hi,
    this is to inform you that,
    please check the schedule line date in the sales order because the date is not matching here for the BAPI to upload.
    here,  for example the schedule line is 4 days after and you are running BAPI today. that will mismatch no.
    the same thing is happening in uploading case also.
    so please check the date.
    because in teh sales order if teh schedule line date is today it will accept the uploading with out throwing any errors.
    regards,
    balajia

  • Can I run the currency translation for multiple years at the same time?

    Dear Friends,
    I set up currency translation on our BPC NW 7.0 system and it is working fine ONLY if I run it for any one year at a time. But if I select multiple years in the data package (FX Restatment) selection it only calculates for the first year in that selection.
    say if I run the data package for years: 2009, 2010, 2011, 2012, it only performs currency translation for the year 2009.
    Can I run the currency translation for multiple years at the same time ?
    Note: The year is determined from the YEAR property of the "Time" dimension
    appreciate any inputs,
    thanks

    You can run currency translation for multiple years.
    I think the problem it is actually related to how you are sending the parameter to currency translation script.
    Just review the script logic log and you will see with what parameters was called currency translation FXTrans.
    My expectation is that actually the script is called just with first year and that's the problem.
    Log of script logic you can find it into:
    C:\BPC|DATA\Webfolder\YourAppset\YourApplication\Private Publications\Users used to run logic\Temp
    Regards
    Sorin Radulescu

  • Is it possible to search for multiple folders with the same name and...

    Is it possible to search for multiple folders with the same name and then select them all and change the permissions on just those folders .i.e. Search for the budget folders in all client folders and lock them down to just the project managers. Without having to go to each folder and apply the permissions.

    user11919409 wrote:
    Is it possible to create a Clone database with the same name of source db using RMAN ...
    yes
    >
    DB version is 11.2.0.2
    Is it possible to clone a 11.2.0.2 database to 11.2.0.3 home location directly on a new server . If it starts in a upgrade mode , it is ok ....yes
    Handle:     user11919409
    Status Level:     Newbie (10)
    Registered:     Dec 7, 2009
    Total Posts:     102
    Total Questions:     28 (22 unresolved)
    why do you waste time here when you rarely get any answers to your questions?

  • Export Limits for Multiple Sequences in the Same Sequence File for TS3.0

    Hi,
    I am using TestStand 3.0 to a test application. Because we want to have our limits in a csv-file I have tried to use the Import/Export tools in TS. But this application only supports to export limits for the selected sequence (e.g. main, or subseq1) at a time. This makes it a pretty hard job to export limits from 30 test sequences. What I need is a possibility to export my limits from �all sequences� in my seq-file.
    I have found an article on NI Dev. Zone about �Export Limits for Multiple Sequences in the Same Sequence File (TestStand 1.0.x)�.
    http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3D9CB56A4E034080020E74861&p_node=DZ52236&p_submitted=N&p_rank=&p_answer=&p_sourc
    e=External
    I have tried to use this code but because it�s for TS 1.0.2 the limits from my multi num test step and my custom steptypes isn�t exported. So that doesn�t fulfill my needs.
    Is there an updated version with �all sequences� added to TS 3.0? Is there other good solutions to my problem out there?
    Best Regards,
    Morten Pedersen
    CIM Industrial Systems A/S
    Denmark

    Hi David Mc,
    Thanks for your reply. I have already considered this solution because the source code is added in the folder described in your reply. But that is not a good solution. It will cost me a lot of time to establish the toolchain, reverse engineer the source code, make the implementations and build a new dll (most off these is already knowledge by NI). And when NI make future releases of TestStand I have some merge work to do every time NI have made some changes in the files I have changed.
    But as I write above: I have hoped that NI already has/or could made a solution like the one to 1.0.2 (see link in root) to me. And then they could include it in the next version.
    I don't think I am the only one in the TestStand world that ne
    ed this feature.
    Best regards,
    Morten Pedersen
    CIM Industrial Systems A/S
    Denmark

  • Access 2010 Chart - Report returns an identical chart for every record in the underyling query

    Hi there, I hope someone can help me with this. I've created a stacked column chart in a Report. The chart seems to be working fine but my report is returning a chart for every record in the source query.  The chart adds up the days each vehicle in
    a fleet was used in a given time frame.  I'm not a code writer so wizarded my way to the following:
    TRANSFORM Sum(QVehicleDaysUsed.[DaysOfUseThisMonth]) AS SumOfDaysOfUseThisMonth SELECT QVehicleDaysUsed.[YearMakeModelPlate] FROM QVehicleDaysUsed GROUP BY QVehicleDaysUsed.[YearMakeModelPlate] PIVOT QVehicleDaysUsed.VehicleUseForMonthStarting;
    The chart seems to be producing exactly what I want but it's repeated once for every record in the source query. I don't know if this is the issue but I don't have a Master/Child field linking the chart to the report it's in - chart is unbound and therefore
    won't allow me to link fields. I'd sure appreciate any help you can offer! Thanks!
    (Incidentally VehicleUseForMonthStarting is a date field - ideally it should be shown as a DatePart MMMM but for whatever reason Access is balking at the Format expression.)
    Thanks!

    GOT IT! Hurray.  Obvious after giving it more thought... I had to make the report the chart was in Unbound. :) Leaving post up in case it helps someone else out.

  • Powerbook G4 10.4.11  won't start from hard drive .  Tried repair, " The underlying task reported failure on exit (-9972).Invalid sibling link,invalid B tree header, invalid map node,invalid record type,the volume needs to be repaired.

    Powerbook G4 10.4.11  won't start from hard drive .  Tried repair, " Invalid sibling link,invalid B tree header, invalid map node,invalid record type,the volume needs to be repaired.Powerbook G4 10.4.11  won't start from hard drive .  Tried repair, " The underlying task reported failure on exit (-9972).Invalid sibling link,invalid B tree header, invalid map node,invalid record type,the volume needs to be repaired.
    The underlying task reported failure on exit (-9972).

    kauribill wrote:
    " The underlying task reported failure on exit (-9972).Invalid sibling link,invalid B tree header, invalid map node,invalid record type,the volume needs to be repaired.
    The underlying task reported failure on exit (-9972).
    This is a directory issue that Disk Utility cannot fix. Although it manifests itself as a software issue sometimes it may be hardware based. See DiskUtility reports "Underlying task reported failure" when repairing avolume http://support.apple.com/kb/TS1901?viewlocale=en_US". You can try using a utility like TechTool Pro, Drive Genius or Disk Warrior to repair and replace the directory. Another option would be to use the Archive and Install feature to reinstall. If the problem returns after correction you may have a failing or failed HDD.
    cornelius

  • AC-00401: Driver file missing for disk: 1 in the location:/StageR12/oraDB/D

    Hi all
    I was trying to install Multi-node E-Business Suite installation R12.1.1 on OEL5.4 using Rapid Install
    DB Server - Initilized rapid install as super user
    Sucessfully Passed all the Pre-Install checks and when begining the installation, stuck in the "Install Oracle Applications -Step 1 0f 3 begining unzip phase"
    Checked the log files and complaining about a missing driver db102.drv
    dbInstall.log
    promptUserForDiskPath Oracle Applications Rapid Install - RDBMS & Disk number = 1
    Path Obtained by Instantiate File: /StageR12/oraDB/Disk1 & Disk number = 1
    AC-00401: Driver file missing for disk: 1 in the location:/StageR12/oraDB/Disk1/dbts/driver/db102.drv
    Please advise...
    Thanks
    Kalesh Krishnan

    Hi,
    Path Obtained by Instantiate File: /StageR12/oraDB/Disk1 & Disk number = 1
    AC-00401: Driver file missing for disk: 1 in the location:/StageR12/oraDB/Disk1/dbts/driver/db102.drvLooks like the stage area directory is corrupted, please run md5sum to verify the integrity of the stage area directory -- See (Note: 802195.1 - for R12.1.1 Rapid Install Media) for details.
    Regards,
    Hussein

  • Is there any way to sort the alarms differently in the Clock app? I have alarms for multiple days during the week, all of which overlap each other. It makes no sense to me that the alarms sort by time and not day. Thanks!

    Is there any way to sort the alarms differently in the Clock app? I have alarms for multiple days during the week, all of which overlap each other. It makes no sense to me that the alarms sort by time and not day.

    No, there is no way to change the sort order.
    Submit your feedback requesting this feature directly to Apple using the appropriate link on the Feedback page:
    http://www.apple.com/feedback

  • No schedule lines due for delivery up to the selected date

    Dear Experts,
    My order has no block. i tried with 3 months in selection date in VL01N.
    My schedule line in order has 0 confirmed quantity,
    Kindly confirm if error in VL01n No schedule lines due for delivery up to the selected date because of 0 confirmed qty
    Thanks
    Siva

    Hi,
    I think you should use the " Back order process". Using backorder processing, you can list sales documents relevant for requirements for particular materials and confirm them manually. You can assign available-to-promise (ATP) stock to
    Outstanding order quantities. In addition, you can withdraw already confirmed quantities and reassign them to different items. The stock may be reserved for other sales order. You can reassign the stocks to your sales order material.
    To do this, go to Co06 (Back order processing) , enter the Material number, Plant and the checking rule.
    Select any sales order and choose --> Edit --> Change confirmation. Make sure the confirmed quantity is "0".
    Then select the unconfirmed sales order, then choose --> Edit --> Change confirmation. Now you can enter the "Delivery quantity manually ".
    Now you can create the delivery document.
    Hope this can help you .
    Regards
    M. Lakshmi Narasimhan

  • Send emails from a csv file (grouping records with the same email addresses)

    Writing a script to send emails from a csv which contains record details and email addresses using the Send-Mailmessage cmdlet.
    That part is no trouble, however, the csv file contain records that can have the same email address.
    Is there a way/method I could send the records with the same email address once instead of sending individual email messages?
    Thanks
    Data in the csv file
    Record number, description, email
    1234, Test 1, [email protected]
    5678, Test 2, [email protected]
    1245, Test 3, [email protected]
    4578, Test 4, [email protected]
    $data = Import-csv c:\records.csv
    ForEach($address in $data)
    Send-mailmessage -To $address.emails -from [email protected] -subject "List of records" -Body $data -SmtpServer 192.168.1.1

    The following code does what you are looking for:
    $data = Import-csv c:\records.csv$mx = "192.168.1.1"
    $subject = "List of records"
    $from = "[email protected]"
    $data| Group-Object email|Select-Object Name, @{n='msg'; e={$_.Group| Select-Object -Property "record number", description|ConvertTo-Csv -notypeinformation|Out-String}}|
    ForEach-Object {Send-MailMessage -to $_.Name -Body $_.msg -SmtpServer $mx -Subject $subject -From $from}
    I also recommend no forcing everything into one line.  "One-liner" means "one pipeline" not putting all code on one unreadable line.
    Your code should look like this:
    $data|
    Group-Object email|
    Select-Object Name, @{
    n='msg'; e={
    $_.Group| Select-Object -Property "record number", description|
    ConvertTo-Csv -notypeinformation|Out-String
    }|
    ForEach-Object {
    Send-MailMessage -to $_.Name -Body $_.msg -SmtpServer $mx -Subject $subject -From $from
    Now we can see the code and see that you are still unnecessarily converting back and forth.
    To get the group look at how I did it.
    $body=$_.Group | Format-Table |Out-String
    Isn't that much easier?
    Once you master the pipeline these things will become second nature.  In PowerShell it is not necessary to write lots of code most of the time.
    ¯\_(ツ)_/¯

Maybe you are looking for

  • Error while pushing idocs from SAP to XI

    Dear All, For doing ALE configurations for pushing IDOC's from SAP to XI, I am following the following blog posted on SDN: /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi I am able to create the  model v

  • Java 1.4.0 and Linux Mozilla 0.9.8 Plugin Install not working

    I've got the 1.4.0 rpms successfully installed on my Redhat 7.2 system. I tried to add the plugin to Mozilla as I always have in prior java versions (but following the newest plugin instructions for 1.4.0), and I can't get the plugin to work. Anyone

  • Problem of super class.

    Hi all, I am adding a menuItem to a menu of a menuBar which the menu has a old menuItem. The requirement is that the old menuItem of the menu only enable in the main window and disable in the others, and the new menuItem only disable in the main wind

  • Making some rows non-editable in ALV grid

    hi I am using reuse_alv _grid _display to display the output. I want to make some of the rows non-editable based on some conditions. please help.

  • Image appears that is not in timeline..so where is it??

    Hi - hoping someone can help... I recorded a bunch of screenshots (and can't recreate the simulation so have to work with what I have)... I have a slide with an image of active window (it's a background image). There is also a mouse that appears (mov