PU12 - File Layout

Hello Experts
we are trying to use PU12 to send our wagetype amounts to our payroll provider, however we need to send them in a particular order
Basically depending on the wage type the value will go into a particular position
say final layout should be like this
pernr,wage type amount 1001, wage type amount 1002,wage type amount 1003
for example if we have 3 wage types
in Infotype 0014
1001 - amount $100
1002 - amount $200
1003 - amount $300
our final layout should be like this
11111111,100,200,300
Is it possible to do it in file layout conversion by looking a lgart?
Please let me know
Thank you

I resolved my own problem with a workaround.  I set it up as a user exit with a constant of 257.  Because it was supposed to be just "filler" blanks, the userexit simply just returned
return = ' '.

Similar Messages

  • PU12 File Layout:  Problem if Constant Length 28

    I am trying to modify an existing PU12 file layout to change a few fields and add some new ones.  I can change and add them as long as I don't put the constant length as > 28.  If I do I get this message:  "The field length for constant field contents can be a maximum of 28."
    The current layout has fields with a constant layout of > 28 though so I can't figure out why it will not allow me to put in a larger #.  As an expample, one of the existing fields has a constant length of 211 -- I need to change it to 257, but if I put anything > 28 I get this same message.
    I'm just starting to learn about the PU12 so any help would be most appreciated.

    I resolved my own problem with a workaround.  I set it up as a user exit with a constant of 257.  Because it was supposed to be just "filler" blanks, the userexit simply just returned
    return = ' '.

  • Help needed creating export file from a file layout with Application Engine

    The following is what I would like to do:
    - Read a record from a PS view
    - Manipulate the data as needed
    - Write the fields out to a file as defined by a File Layout
    - Repeat until no more records are found
    I have created the PeopleSoft Application Engine action listed below. It receives an error "BCUNIT is not a property of class File".
    Local Record &rec1;
    Local File &myFile;
    Local SQL &sQL1;
    /* Create instance of Record */
    &rec1 = CreateRecord(Record.W9M_MBSCRSE_VW);
    /* Instantiate the Output File */
    &myFile = GetFile("c:\temp\help_me.txt";, "A", %FilePath_Absolute);
    If &myFile.IsOpen Then
    If &myFile.SetFileLayout(FileLayout.TACOURIN) Then
    /* Create SQL object to populate rowset */
    &sQL1 = CreateSQL("%Selectall(:1) Where INSTITUTION = :2", &rec1, W9M_MBSCRSE_AET.INSTITUTION);
    /* Cycle through the records */
    While &sQL1.Fetch(&rec1)
    /* I know this section is not coded correctly but I'm not sure how to fix it */
    &myFile.BCUNIT = "1";
    &myFile.BCTCD = &rec.W9M_MBS_TERM_CODE;
    &myFile.BCTYR = &rec.W9M_MBS_TERM_YEAR;
    &myFile.BCDPTN = &rec.ACAD_GROUP;
    &myFile.BCCOUR = substring(&rec.CATALOG_NBR,2,5);
    &myFile.BCSEC = &rec.CLASS_SECTION;
    &myFile.WriteRecord();
    End-While;
    Else
    /* Process FileLayout Error here */
    End-If;
    Else
    /* Process File Open Error here */
    End-If;
    &myFile.Close();
    There are probably a lot of things wrong with this approach and if you could provide some guidance and/or  corrections to the above logic I would greatly appreciate it.
    Another approach?
    After doing a bunch of reading on Application Engine maybe my approach is incorrect. Perhaps I should be doing something like the following:
    - Read a record from a PS view
    - Populate a temporary table manipulating data as it is inserted (Temp table is named according to the file layout fields?)
    - Fetch the records from the temp table and write the record to the file layout.
    - Repeat until no more records are found
    Is this approach better and designed correctly? If not, could you recommend how it should be done? Would the population and reading of the Temp table be done in separate actions or within the same action? Do you know of an Application Engine program that can be used as an example with "like" processing?
    As you can probably tell I haven't used Application Engine before and my goal is to start out on the right path. Thank you for any direction and input that you can provide.
    Steve

    I did and my initial logic was based upon them. I don't see where it shows how to manipulate the data before writing it to the file layout fields. Maybe you can send me a link to that section?
    I was hoping that I would be able to reference the file layout fields directly to allow for manipulating the field values. Re-reading the file layout section and the application engine PeopleBooks I believe I need to create a temporary record which matches the file layout fields; i.e., the second alternative that I listed. Then, make my updates to the temp record fields as I load them. Then, load them to the file layout as a row.
    I'm not sure how this would break down in Application Engine; would the insert into the temp table and the writerecord be different steps/actions, etc.

  • File Layout  add column

    Dear SDN,
    EP6.0 SP11
    I am in the process of KM implementaion and adding one column version to view the file.
    Name   size   rating    annecdote   modified  versioned
    when I look in file context details and able to see the file version. it shows current, 1,...
    now I want to display current value say 2 or 3 in file layout screen. I have added one column using presentaion but value is not appearing.
    Is there any setting is required to get the value?
    Regards,
    Sanjeev

    Hi,
    I gone through your requirement for the report. In the report selection screen -- Settings -- Input "Sort Variant " as 0010  .....(Co. code / asset class / location) this is SAP Standard delivery.
    This adds the column "location" as required. ..... so, there is not requirement here for additional ABAP coding.
    <<Text removed by moderator>>
    Thanks,
    Damodar
    Edited by: Matt on Jan 22, 2009 11:57 AM

  • Labview 2011 file layout in executable

    I am working on upgrading my projects from v8.6 to 2011. one thing i noticed was that the file layout in the built executable has been changed to treat the executable itself as the root directory of the code sources.
    To better address my problem, i would like to present an example as below:
    I have two projects, A and B, where B is built on top of A. Their paths are:
    C:\Workspace\ProjectA\source\Always_Included1.vi ...
    C:\Workspace\ProjectB\source\Always_Included2.vi ...
    in the built executable(ie. Application.exe) i found that all VIs were located under such as:
    Application.exe\Workspace\ProjectA\source\Always_Included1.vi ...
    Application.exe\Workspace\ProjectB\source\Always_Included2.vi ...
    Since the "Workspace" is just a variable name for one of my workspaces, I am wondering if it's possible to make the built executable to start with one level deeper, such as:
    Application.exe\ProjectA\source\Always_Included1.vi ...
    Application.exe\ProjectB\source\Always_Included2.vi...
    *notice that the "Workspace" has been omitted.
    Thank you.
    LabVIEW 2011 newbie >.<
    Certified LabVIEW Developer

    I don't think there's a way to really control this, as this is something which is done automatically by the application builder.
    A couple of options I can think of:
    Place the top level VI in a level above ProjectA and Project B. This might cause the EXE to consider that as the main folder and start from there.
    Check the 8.x check box in the Advanced page of the build settings. This will cause the build to be flat instead of a hierarchy, but I wouldn't recommend that, as that's basically a flag for backward compatibility.
    The real question is what's your actual problem? Most people don't care about the actual location of the files inside the executable. If you do need access to a specific file, using relative paths is generally enough, as they stay the same inside the EXE. Another option which people use to control this is to direct some VIs to be saved outside the EXE (the build spec allows you to do that), but that's usually for specific use cases, such as calling plugins.
    Try to take over the world!

  • 2008 1099 forms and file layout

    Has anyone heard anything from SAP on new file layout and forms for 2008 1099 reporting?   Note 1249174 states it is available 1st week in Dec.

    Hi Cintia,
    I attempted to implement the note via SNOTE.  I get the message 'cannot be implemented' probably because the attachment is a zipped file and not an R/3 object of some sort. I then downloaded the zip file to my desktop.  The zip file contains two .p6b files.  What txn do you use to import the files? SMARTFORMS?
    Thanks,
    Tess

  • Use LabVIEW 8.x file layout

    Hi there,
    From the LV help:
    Specifies to use a flat file layout to store source files inside a stand-alone application, shared library, or Web service. LabVIEW enables this option by default for build specifications you load from LabVIEW 8.6 or earlier. National Instruments recommends you disable this option for applications you develop in LabVIEW 2009 or later.
    Why shouldn’t I use the LV8.6 way?
    Or, why is the LV2009 or later method better?
    Thanks in advance for any reaction!
    Best regards

    Okay yeah the OO reason is a good one, but let me make a more basic example that I think is also a common one.
    Lets say I download some cool library from the tools network.  This library can do things like read and write .DOCX files (this is just an example).  This library contains VIs like "Open.vi" and "Close.vi".  Other libraries may also have "Open.vi" but they are part of a different library.  And in memory these names have the library appended.  So my VIs name in memory is actually "Cool Office Library.lvlib : : Open.vi".  This way LabVIEW can distinguish between the VIs that have the same name on disk, but are part of a different library.
    Now it should be obvious that the "Open.vi" from one library cannot exist in the same directory as another "Open.vi" even if they are part of different libraries.  Windows simply doesn't allow you to have two files of the same name, in the same directory.
    And this is where the file layout comes in.  In 8.x and older the layout was flat, putting all VIs needed for the EXE into a single directory.  This would mean attempting to put my office "Open.vi" in the same directory as all the other VIs.  In 2009 and newer this is handed by making an EXE that isn't a single directory, and instead it is layed out more or less like it is in Windows, where one "Open.vi" can exist in one directory, and another in another directory.  
    So if you choose the 8.x layout, and you have multiple "Open.vi" files, it will place them outside of the EXE without any block diagram.  This gets messy because now you EXE isn't the only file you need, you also need the support directory some times called "Data".  In the 2009 and newer layout all the VIs can be in the EXE in a nested directory structure.  Generally just don't use the 8.x layout unless you need to, and really you should need to.  Having that not checked helps fix naming collisions.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Problem with file layout in File Reciever

    Hi,
    I am working with Idoc to File Scenario. I am getting a different layout when i am opening a file in notepad and wordpad.
    wordpad format:
    1 000000171620                SN           N                    F  F           
    3           PS7815003    1.000                                                 
    4                                                                               
    1 000000171720                SN           N                    F  F           
    3           PS7815003    1.000                                                 
    4                                                                               
    1 000000171920                SN           N                    F  F           
    3           PS7815003    1.000                                                 
    4                                                                               
    But in  notepad i am not able to see the value as above, instead i see the the values of different lines continous one after the other in a single line with some seperator as "|||"
    Can you please advise on this.
    Regards,
    Manoj

    Hi Manoj,
    check this
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter

  • NACHA File layout configuration

    An ACH NACHA file has the following components..
    File Header Record(1)
    This gain has many fileds like Record type code, priority code, immediate destination etc
    Batch header Record(5)
    Record type code, company Identification
    Entry Detail Record(6)
    Transactioncode, Check digit etc
    Addenda Record(7)
    Record Type Code...etc
    Batch Control Record(8)
    File Control Record(9)
    Batch Count, block count etc...
    Now This is the Layout which the company wants to implement
    The commpany is already using an ACH file for an old bank.
    But wants to implement a New Bank with a lil variation of old NACHA format
    In SAP where can I set these fields or parameters.....
    for some programs I can goto System->Status and double click on program and goto ABAP editor and change fields.
    But for this ACH where can go and set the parameters according to requirements
    There is actually one more requirement...
    In the ACH file The New banks wants the
    File Creation Date (It is entry in field no 5 of File Header Record(1) of ACH file)
    this date should be less than Effective Entry DAte (It is an entry in Field no 9 in Batch Header Record(5))

    Hi guys,
    I'm using RFFOUS_T program with F110 to produce ACH file.
    I was able to transmit file to the bank via batch process but bank said that they have received errors on the file.
    Where do you correct these changes on ACH file or in configuration ? Here are some of the errors that they have mentioned.
    ON THE "5" RECORD IN FIELD 03 (POSITIONS 05-20) RECORD NUMBER 000002           
       ACTUAL CONTENT->                                                            
    ERROR: COMPANY NAME MISSING                                                                               
    ON THE "5" RECORD IN FIELD 05 (POSITIONS 41-50) RECORD NUMBER 000002           
       ACTUAL CONTENT->                                                            
    ERROR: FIELD CANNOT CONTAIN ALL SPACES                                                                               
    ON THE "5" RECORD IN FIELD 07 (POSITIONS 54-63) RECORD NUMBER 000002           
       ACTUAL CONTENT->                                                            
    ERROR: ENTRY DESCRIPTION MISSING                                                                               
    ON THE "5" RECORD IN FIELD 09 (POSITIONS 70-75) RECORD NUMBER 000002           
       ACTUAL CONTENT->                                                            
    ERROR: INVALID DATE VALUE                                                                               
    ON THE "6" RECORD IN FIELD 08 (POSITIONS 55-76) RECORD NUMBER 000003           
       ACTUAL CONTENT->                                                            
    ERROR: CUSTOMER NAME MISSING                                                                               
    ON THE "6" RECORD IN FIELD 11 (POSITIONS 80-87) RECORD NUMBER 000003           
       ACTUAL CONTENT->00000000                                                    
       EXPECTED VALUE->05310156                                                    
    WARNING: ORIGINATING BANK ID NOT SAME AS "1" RECORD                                                                               
    ON THE "6" RECORD IN FIELD 11 (POSITIONS 88-94) RECORD NUMBER 000003           
       ACTUAL CONTENT->0000000                                                     
    ERROR: SEQUENCE NUMBER NOT GREATER THAN PREVIOUS NUMBER                                                                               
    ON THE "8" RECORD IN FIELD 07 (POSITIONS 45-54) RECORD NUMBER 000004           
       ACTUAL CONTENT->1931175150                                                  
    WARNING: COMPANY ID NOT SAME AS "5" RECORD ID NUMBER       
    Thanks in anticipation,
    Manoj

  • Hi Everyone, I want implement multi-file layout by XI.

    This is simple scenario. but, I didn't get the idea how to design.
    This is RFC to File Scenario.
    RFC has headers and items. like under function,
    ZABC_FUNCTION
      TABLES
         T_HEADERS
         T_ITEMS
    But I want make the file. like this,
    H,1,ABC
    I,2,1,100
    H,1,BCD
    I,2,1,5
    H,1,KKK
    I,2,1,43
    I,2,2,20
    over layout means,
    Header character identity, Number identity, Header Description
    Item character identity, Number identity, Item Sequence Number, Item Quantity
    RFC data is :
    HEADERS
      ABC
      BCD
      KKK
    ITEMS
      ABC,100
      BCD,5
      KKK,43
      KKK,20
    so, I know that using file content conversion. and read the online document. and I search this sdn homepage like forums, Blogs, and Help.
    But I don't know how to.
    So I will wait your good answer. Thank you.
    Best Regards,
    John

    Hi,
    there are a few ways you can do it
    one would be to use a BPM and inside your message mapping
    create one message per header (1:N mapping) - (one for ABC one for KKK)
    then inside file adapter use append mode and all messages
    will append to the file (starting with header and then lines)
    and you will have a structure as you've specified 
    Regards,
    michal

  • File Layout of a Glossary File (.GLO)

    As a new RH user, I have yet to find a definitive answer
    about how a RH glossary file (a .GLO file type) is defined. The RH
    help file talks all about importing them into your projects, but
    nowhere does it mention what the file looks like inside.
    Presumably, it has a glossary term and its definition as its
    components, but are they comma separated or what in their layout?
    Can anyone provide this info?

    Hi Jeff
    These are simple text files. You may open and view them using
    Windows Notepad.
    Here is one of mine:
    NAME=BC
    BC represents BigCo, our company name
    As you can see, they follow the format of NAME=BC (BC is the
    glossary term you define)
    Glossary description here (the simple description follows the
    term)
    Hopefully this helps... Rick

  • File Layout for ICR Tool (Process 003)

    Does anybody know how to obtain the correct field layout for manually uploading data to the SAP Inter-company Reconciliation tool?

    Ralph Stadter can you please advice with above question.
    Thanks

  • Optimize File Layout

    The response time on my friend's iMac is getting slower.  There are no obvious errors.  I was thinking it may be as a result of the internal HDD layout.
    My friend has a large music and photo collection which he regularly adds to and they are stored on the same partition as the Mountain Lion OS.
    Some partition stats:
    321GB Partiton size
    109GB Free space
    114GB iPhoto library
      53GB iTunes library
    I was wondering whether erasing the partition and restoring everything from the latest Time Machine backup would optimize the drive's layout.
    I was also thinking this might be prudent to do before he upgrades to the Mavericks OS.

    Well my friend bit the bullet and did a full restore of his system from the latest Time Machine backup.
    Good news.  The restore went without a hitch and the restore process was very easy.  
    His system is noticably more responsive.

  • ASM file layout report

    is there a way to report how ASM layedout is datafile on which disks? I understand that asm strips its datafiles and evenly distributes the file (1mb) to its disks. I would like to have a report on this distribution ratio.
    any help would be appreciated.

    Well, you can see the distribution of extents between disks in your disk groups. This is according to the Oracle Press ASM book:
    You want to look at the X$KFFXP view. As an example, running in the asm instance:
    sql> select count(PXN_KFFXP), group_kffxp, disk_kffxp from X$KFFXP
    where group_kffxp=4
    group by group_kffxp, disk_kffxp
    so this is shows how many extents each disk (disk_kffxp) has been allocated in the diskgroup which in this example is group number 4. This will show up any inabalances that may have occurred between disks in the disk group.
    jason.
    http://jarneil.wordpress.com

  • File layout?

    Thanks.

    Hi,
         whats the requirement? have u created any parameter for selecting file from presentation server?
    i think u need to place proper description to the parameter for file selection.
    As ROB said, ask the right person. that wil be much better
    Regards,
    Niyaz

Maybe you are looking for

  • What specific HD replacement do I need for a 2010 macbook air A1327?

    I need to replace the HD in a 2010 macbook air A1327.  Is there a specific one that I need to get?

  • Cannot import .png file created in Illustrator CS5 to FCP7

    FCP gives me a "file errror: unknown file" message and will not let me import the .png any help is much appreciated.

  • Functionality In bult oracle tables

    Hi where did i get the functionality of oracle in built tabels for example: USER_OBJECTS table :- gives information about what are all tha objects present in the table .

  • RKM Error

    Hi, My requirement is move data from oracle to flatfile. I have created physical schema,logical schema and context through topology. When i try to Reverse in datamodel from designer i am getting the below error com.sunopsis.core.SnpsInexistantObjectE

  • Trouble adding multiple parameters to Command Query

    <p>I am trying to calculate the calendar days each unit is in use.  For each job a unit has a arrival date and a departure date. A unit may work on more than one job in a day, or on 1 job for more then 1 day</p><p>For example the table look like this