In Smartform  split the contractor code

In smartform how can we split the contractor code(adrc table) and display it in Template with 5 cells the field &GT_ADRC-POST_CODE3&

Hi
Why dont you create 5 data fields and move your post code into each of fields & display output in smartforms.
sorry if i got your question wrong

Similar Messages

  • Adding Multiple files to many Sharepoint Sites based on the Sites Code (Splitting the data using a code)

    Hi,
    I'm pretty new to Sharepoint and wanted to ask a question to see if it can actually do what we need it to do.
    We would have a top Site within a collection and under this we would have 400 sites for different sections of the business (External) Lots of teams create documents for all these sites and use the Code of the site in each document so we know what business
    site its going to. For example 67890_BusinessReportMay.docx We know this document should be heading to site 67890 
    We have lots of services sending data to these 400 business sites. If we were to do them manually it would take most of our time to go to each site and upload the documents, even if we could do all the sites documents in 1 multiple upload. We still have
    to go to each site to do it
    Is there an easy answer to this? At present I have folders to match each of the 400 Sharepoint Sites and I use an Integration Services package to move all the documents into these 400 Matching folders. I do this using the Code at the start of each file name.
    If it doesn't have a code its put into an error folder and reported back on.
    Then I want something to automatically go through each of these folders and load them into the Sharepoint Sites document libraries. 
    OR
    Say you have 600 files all going to the 500 sites on Sharepoint in one folder. The File contains meta data regarding the Sites Code.  Using this you can split the files and automatically pull them across to the Sharepoint Sites without having to go
    into each Sharepoint Site?
    I'm thinking that you cant do this and I'm hoping I'm wrong. Any help would be greatly appreciated.  
    Debbie

    Hi Debbie,
    According to your description, my understanding is that you want to move the documents to different sites based on the code in the name of the files.
    I recommend to create workflow and set the workflow to start when an item is created to achieve this goal.
    As there is no built-in action which can move the documents cross site, we need to use the custom activity 'Copy List Item Extended' which need to be downloaded from
    http://spdactivities.codeplex.com/.
    Please per the steps in the link below to deploy the custom activity to SharePoint:
    http://social.technet.microsoft.com/Forums/en-US/82609160-152f-461a-9a19-0e996f5a309b/sharepoint-2010-archiving-the-files-from-one-document-library-to-another-document-library-in
    After that, we can create a workflow to meet the need.
    Here is the detailed steps to create the workflow:
    Create a column in single line of text type(called NO for example) in the library where the documents are uploaded, and input value manually in the column to store the code when uploading the documents. (We can also use workflow to extract the code from
    the name of the documents if the codes are always 5 numbers.)
    Create a workflow associated with the library and set the workflow to start when an item is created.
    Select If current item field equals value, change the settings to be If Current Item: NO equals 67890.
    Select Copy List Item Extended, change the settings to be Copy item in Current Item to list at site 67890 URL.
    Select Delete Item, change the settings to be Delete Item in Current Item.
    Create other conditions from step 3 to step 5 to copy the documents to different sites and delete current documents.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Can I print Bar Code Text autoamatically under the bar code  in smartform.

    Hi All,
    Currently I am printing the Bar Code for MARA-EANNR value .My requirement is to print the MARA-EANNR value under the bar code .Currently I am hardcoding and it is working fine.I want to know is there any possible way I can print the value of MARA-EANNR under the bar code with out hard coding.
    Thnaks,
    Suresh.

    Hi,
    B1 - BARCODE CHARACTER FORMAT
    A1- DEFAULT CHARACTER FORMAT.
    In smart form define a template with two rows,
    in first row u pass barcode value( mat no ) with barcode character fomat.
    <B1>&MATNO&</>
    in second row define  barcode value(mat no ) in ordinary charcter format.
    <A1>&MATNO&</>
    Rgds
    Siva
    Edited by: siva prasad on Sep 1, 2009 1:53 PM

  • What is the function code of create new session?

    what is the function code of create new session?
    thanks...

    Hi
    Please put a "/n" (to open a new session after killing the current session)
    or "/o" (to open a new session without killing the current session)
    or "/i" (to end the current session) before the below T Codes as per your requirement...
    <u><b>For more Tcodes check the following</b></u>
    =>smartforms - Smartforms (SAP Form Builder to Create and Adjust Forms)
    =>cmod - Enhancements, User Exits (Project Tool to coordinate changes into projects for the purpose of activating all user exits for a particular project)
    =>sale - ALE Customizing
    =>bale - Distribution Administration (ALE)
    =>wedi - IDOC Type and EDI Basis
    =>shdb - BDC (Transaction Recorder)
    =>lsmw - LSMW
    =>bapi - BAPI
    =>spau - Display Modified DE Objects
    =>spdd - Display Modified DDIC Objects
    =>sara - central idoc archiving
    =>stms - Transport Management System
    =>wedi - IDOC Type and EDI Basis (IDOC Configuration)
    =>bd21 - Analyze change pointers - create IDOC from change pointer
    =>bd10 - Send Material Master
    =>bd12 - Send Customer Master
    =>bd14 - Send Vendor Master
    =>bd50 - Activate Change Pointer for Message Type
    =>bd55 - Conversion rule user exit (Link conversion rule user exit to the different system \ partner combinations)
    =>bd54 - Maintain Logical Systems
    =>bd71 - Distribute Customer Model
    =>bd87 - Process Inbound IDOCs
    =>bd88 - Process Outbound IDOCs
    =>bdm2 - Cross-system IDOC Reporting
    =>bdm7 - ALE Audit - statistical analyses
    =>bdm8 - ALE Audit - sending confirmations
    =>bd61 - Activate Change Pointer generally
    =>bmv0 - Direct Input Data Transfer Administration
    =>rz04 - Operation Mode
    =>rz12 - RFC Server Group Maintenance
    =>sar3 - Archiving object customizing
    =>s001 - SAPoffice Inbox
    =>s010 - Standards Texts (SAP Script)
    =>se01 - Transport Organizer (Extended View - Performing and managing the transport of development object across different systems)
    =>se09 - Transport (Workbench) Organizer (Controlling and keeping track of Development work and Development Objects)
    =>se24 - Class Builder (BAPI)
    =>se30 - Runtime Analysis
    =>se36 - LDB
    =>se37 - Function Builder
    =>se38 - ABAP Editor (to modify ABAP programs)
    =>se39 - Split-Screen-Editor
    =>se11 - ABAP Dictionary
    =>se16 - Data Browser (Table contents display)
    =>se41 - Menu Painter
    =>se51 - Screen Painter
    =>se71 - SAPScript Forms
    =>se73 - SAPScript Font Maintenance
    =>se75 - Graphic Objects and Graphic IDs Sapscript Settings
    =>se78 - Administration of Form Graphics (Import Graphics into SAP System)
    =>se80 - Object Navigator
    =>se84 - ABAP Repository Information (search for SAP objects)
    =>se91 - Message Maintenance
    =>se93 - Maintain T codes
    =>su01 - User Maintenance (Security)
    =>su02 - Maintain Authorization Profiles
    =>su03 - Maintain Authorizations
    =>slg1 - Evaluate Application Log
    =>sm12 - Lock Entries
    =>sm21 - System Logs
    =>sm36 - Background Job Scheduling
    =>sm37 - Background Job Monitoring (display batch jobs)
    =>sm31 - Table Maintenance
    =>sm30 - Calling View Maintenance
    =>sm35 - Batch Input Monitoring (Error Logs)
    =>sm50 - Process Overview
    =>sm58 - Transactional RFC Monitoring
    =>sm59 - Maintain RFC Destinations (Define RFC Configuration)
    =>snro - Number Range Objects (for IDOCs)
    =>scc4 - Client Overview (Create, Quick Delete, Modify)
    =>spro - Customizing, Execute Project
    =>sp01 - Spool Administration
    =>sq01 - Maintain SAP Queries
    =>st02 - Buffer Analysis (Status Overview)
    =>st03 - Workflow Analysis
    =>st05 - Performance SQL trace (Tracking the Database calls from the System Transaction and Programs)
    =>st22 - ABAP Dump Analysis, check logical runtime errors
    =>/h - ABAP Debugger
    =>we02 - Display IDOC
    =>we05 - IDOC lists
    =>we07 - IDOC statistics
    =>we12 - Inbound processing of outbound file - convert outbound to inbound file
    =>we14 - Process (dispatch) IDOCs through Port - RSEOUT00
    =>we15 - Outbound IDOC from NAST - message control
    =>we16 - Inbound File
    =>we18 - Generate status file
    =>we19 - Test tool
    =>we20 - Add new Message Type to Partner Profile
    =>we21 - Maintain Port Definition
    =>we30 - IDOC Type development
    =>we31 - IDOC Segment development
    =>we41 - Process Code Outbound
    =>we42 - Process Code Inbound
    =>we46 - IDoc Administration
    =>we47 - Status Code Maintenance
    =>we57 - Assign function module to logical message and IDoc type
    =>we63 - IDOC Type for Parser Output
    =>we82 - Assign IDOC to Message Type
    =>we60 - IDOC Documentation - IDOC Types
    =>we61 - IDOC Documentation - IDOC Record Types
    =>we81 - Create new IDOC Message Types
    =>we82 - Assign IDOC to Message Type
    =>pa20 - Display HR Master Data
    =>pa30 - Maintain HR Master Data
    =>bd59 - Create and assign Filter Object Type for Message Type
    =>bd64 - Maintenance of ALE or any other Distribution Model
    =>db02 - Storage Management and Database Performance
    =>db14 - Database monitor
    =>se18 - BADI definitions
    =>se19 - BADI implementations
    =>fd03 - Accounts Receivable Master Data (Display Customer in Accounting)
    =>me22 - Change Purchase Order
    =>me21 - Create Purchase Order
    =>me51 - Create Purchase Requisition
    <u><b>Official source of SAP T Codes -</b></u>Go to se11 or se16 and view table entries for
    TSTC and TSTCT. This will give you the Transaction List.
    Reward all helpfull answers
    Regards
    Pavan

  • How to export the text edit data to excel file without splitting the data in excel file?

    how to export the text edit data to excel file without splitting the data in excel file?
    I have a requirement in SAP HR where in the appraiser can add comments in the area given and can export that to excel file. Currently the file is getting exported but the comments getting split into deifferent rows.
    I want the entire comment to be fit in one row.
    Please help.
    Thank you

    Hi,
    if your text edit value is stored in 'lv_string' variable.
    then before exporting the value to excel you have to remove CL_ABAP_CHAR_UTILITIES=>NEWLINE
    that is '#' from the variable lv_string.
    for that use code some thing like this.
    REPLACE ALL OCCURRENCES OF CL_ABAP_CHAR_UTILITIES=>NEWLINE in lv_string WITH space.
    I think this will do the trick.

  • HT201413 I am receiving the error code (-50). The original itune songs etc were installed on a win 7 32 bit system and I have now moved to a win 7 64 bit system. Is this why I get the error code? I can access the itunes store to view my account. Any ideas

    I am receiving the error code (-50) when trying to access the itunes store. The original itune songs etc were installed on a win 7 32 bit system and I have now moved to a win 7 64 bit system (same PC) and have copied the folder across. Has the switch from 32 to 64 bit caused the problem? Is this why I get the error code? I can, however, access the itunes store to view my account. Any ideas please?

    Hello,
    The TechNet Sandbox forum is designed for users to try out the new forums functionality. Please be respectful of others, and do not expect replies to questions asked here.
    As it's off-topic here, I am moving the question to the
    Where is the forum for... forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?&lt;=\G.{2})'|%{if($_){[char][int]&quot;0x$_&quot;}})

  • Splitting the Line items in Transaction LB02........

    Hi Frnds,
                I would like to know how to proceed further....afetr entering into standard transaction LB02, the user wants to split the line items depending on the quantity what he has enterd in the custom screen which i developed.
               Here am able to get the data in background necessary to goto standard transaction. After entering into the standard transaction how to split the line items.
    Functional Requirement
    In the screen, which i developed...
    The user enters material no...
    -->Matl qty  & matl desc will be displayed....
    -->Then user enters the bin no.   and the qty he wants to keep in that particular bin.
    -->Here depending on the qty the user has entered it has to reflect in the Tcode LB02.
    -->For example, total qty displayed in the custom screen after entering the matl no. is 20  From this qunatity, the user enters the quantity as 10 which is not GE to that qty (20)  which we got from database.
    -->Now this has to be replicated in the standard transaction in such a way that..the line items should also split according to the qty the user enters.......it may be upto n no. of  line items.....and the bin no. should also be entered into the stnd Tcode LB02 at the unloading point field......
    Thanks & Regards
    Message was edited by:
            Badri Thiriveedhi

    Managed to find an Enhancement Point in the Standard SAP Code and hence the Issue is resolved.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • JS CS4 splitting the document path

    I'm trying to split the document file path so I may navigate up one or two folders and then into a specific subfolder.
    When I try to split the "myDoc.filePath" it errors. If I split "myDoc.name" it works correctly.
    var myDoc = app.activeDocument;
    var myDocPath = myDoc.filePath;
    var mySplit = myDoc.name.indexOf ("_");
    var myFileName = myDoc.name.slice (0,mySplit);
    var myPdfFolder = myFileName + "pdf";
    var mySavePath = myDocPath
    var mySplit2 = myDoc.filePath.indexOf (myFileName);
    var myFinalPath = myDoc.filePath.slice (0,mySplit2) + myFileName + "/" + myPdfFolder;
    alert(myFinalPath);
    Can someone shed light on how to split the document path?
    Thanks,
    John
    Document path: ~desktop/N123456/working/N123456_01
    Note: the last folder name does not always exist. Often the "working" folder is the last folder. Working folder and N123456pdf reside on the same level.
    Goal is to change the save to document path: ~desktop/N123456/N123456pdf

    Here's some code I wrote recently to find a folder named "Snippets" starting from the location of a document. It first looks in the same folder and then its parent and on up until it reaches the top of the file hierarchy:
    //DESCRIPTION: Search for Snippets folder from Document location
    (function() {
        if (app.documents.length > 0) {
            var myFolder = locateRelatedFolder(app.documents[0].filePath, "Snippets");
            if (myFolder == null) {
                alert("Unable to locate Snippets folder");
                return;
            } else {
                alert("Snippets folder is: " + myFolder);
        function locateRelatedFolder(folder, name) {
            while (folder != null) {
                var relatedFolder = Folder(folder + "/" + name);
                if (relatedFolder.exists) return relatedFolder;
                folder = folder.parent;
        } // end locateRelatedFolder
    I've enclosed the code in an anonymous function. Don't let that put you off. You could just delete the first line after the description and the last line.
    Dave

  • Call a smartform in the SAP R/3 from portal

    Hi Friends
    My requirement is to call a smartform in SAP R/3 from a portal application. Please guide on how to connect to SAP R/3 and print the smartform from portal.
    Regards,
    Saran

    Hi,
    You can create a SAP-Tocde iview in portal for the T-Code SAMARTFORMS....
    Read this blog on how to Connect to R3 thru Portal...
    Configuring EP for connecting to SAP R/3
    Regards,
    Srinivas

  • Provide the java code for the following scenario.

    Hi Experts,
    I have tried with all the combinations for this scenario. As per my understanding i require java code for the following scenario
    so that it becomes easy........
    I require a Message mapping for this Logic.
    In the Source there are 4 fields and, the Target side, the fields should appear like this.
    Source Structure- File
    Record
    |-> Header
    Order_No
    Date
    |-> Item
    Mat_No
    Quantity
    Target Structure-IDoc
    IDoc
    |-> Header
    |-> Segment
    Delivery_Order_No
    Recv_Date
    |-> Item
    |-> Segment
    Delivery_Order_No
    Material_Num
    Recv_Quantity.
    The Logic is for every Order number an IDOC is generated.And if the Material num matches then the quantity should be added. and important note is that the material numbers are different for every order number. That means if a material number is 2 in the order number A. Then the material number can never be 2 in any of the order numbers.Here is the following with an example for the above scenario.
    For example:-
    we have
    Source Structure- File
    Order-no Date Mat_No Quantity
    1 01/02/2011 A 10
    1 01/02/2011 B 15
    1 01/02/2011 A 10
    2 01/02/2011 C 10
    2 01/02/2011 C 10
    3 01/02/2011 D 20
    3 01/02/2011 D 10
    3 01/02/2011 E 25
    Target Structure-IDoc
    Delivery_Order_No Recv_Date Material_Num Recv_Quantity
    1 01/02/2011 A 20
    1 01/02/2011 B 15
    2 01/02/2011 C 20
    3 01/02/2011 D 30
    3 01/02/2011 E 25
    So for this example total of 5-Idocs created. That means for this example if Order_No is 1 When the Mat_No is A the quantity gets added. For this Scenario 1 IDoc with four Fields 2 in Header(Delivery_Order_No, Recv_Date) and 2 in Item(Material_Num, Recv_Quantity) is generated by adding the quantity field in the Target Side. Similarly if Order_No is 1 when the Mat_No is B then separate IDoc is generated with four Fields 2 in Header(Delivery_Order_No, Recv_Date) and 2 in Item(Material_Num, Recv_Quantity) in the Target Side. Similarly, if Order_No is 2 when the Mat_No is C, an IDoc is generated with four Fields 2 in Header(Delivery_Order_No, Recv_Date) and 2 in Item(Material_Num, Recv_Quantity) by adding the quantity field in the Target Side. ike wise the process goes on upto 3.Kindly do the needy..
    Kindly provide the java code.
    Thanq very much in advance..

    what i have understood from ur example is that u want to generate an idoc for unique combination of  Order-no and Mat_No
    if yes then chk the below mapping..
    change the context of Order_No, Date, Mat_No and Quantity to Record (right click-> context)
    1)
    Order-no
    ----------------------concat[;]---sort----splitbyvalue(valuechanged)-----collapse context---IDoc
    Mat_No
    2)
    Order-no
    --------concat[;]---sort----splitbyvalue(value changed)---collapse context---UDF1--splitbyvalue(each value)--Delivery_Order_No
    Mat_No
    3)
    Order-no
    -----------concat[;]---sortbykey----------------------- \
    Mat_No                       /                            \
    Date--------------- /                                       \
    ----------------------------------------------------------FormatByExample-----collapsecontext---splitbyvalue(each value)----Recv_Date
    Order-no                                                 /
    -----------concat[;]---sort----splitbyvalue(value changed)
    Mat_No
    4)
    Order-no
    --------concat[;]---sort----splitbyvalue(value changed)---collapse context-UDF2--splitbyvalue(each value)--Material_Num
    Mat_No
    5)
    Order-no
    -----------concat[;]---sortbykey
    Mat_No                       /
    Quantity --------------- /
    ----------------------------------------------------------FormatByExample-----SUM(under statistic)----Recv_Quantity
    Order-no
    -----------concat[;]---sort----splitbyvalue(value changed)
    Mat_No
    UDF1:
    String [] temp= a.split(";");
    return temp[0];
    UDF2:
    String [] temp= a.split(";");
    return temp[1];

  • Performance for the below code

    Can any one help me in improving the performance for the below code.
    FORM RETRIEVE_DATA .
    CLEAR WA_TERRINFO.
    CLEAR WA_KNA1.
    CLEAR WA_ADRC.
    CLEAR SORT2.
    *To retrieve the territory information from ZPSDSALREP
    SELECT ZZTERRMG
           ZZSALESREP
           NAME1
           ZREP_PROFILE
           ZTEAM
         INTO TABLE GT_TERRINFO
         FROM ZPSDSALREP.
    *Preparing Corporate ID from KNA1 & ADRC and storing it in SORT2 field
    LOOP AT GT_TERRINFO INTO WA_TERRINFO.
      SELECT SINGLE * FROM KNA1 INTO WA_KNA1
                      WHERE KUNNR = WA_TERRINFO-SALESREP.
      SELECT SINGLE * FROM ADRC INTO WA_ADRC
                      WHERE ADDRNUMBER = WA_KNA1-ADRNR.
      IF NOT WA_ADRC-SORT2 IS INITIAL.
      CONCATENATE 'U' WA_ADRC-SORT2 INTO SORT2.
      MOVE SORT2 TO WA_TERRINFO-SORT2.
    MODIFY GT_TERRINFO1 FROM WA_TERRINFO.
      APPEND WA_TERRINFO TO GT_TERRINFO1.
      CLEAR WA_TERRINFO.
      ENDIF.
      CLEAR WA_KNA1.
      CLEAR WA_ADRC.
    ENDLOOP.
    ENDFORM.                    " RETRIEVE_DATA

    Hi
    The code is easy so I don't think you can do nothing, only u can try to limit the reading of KNA1:
    FORM RETRIEVE_DATA .
      CLEAR WA_TERRINFO.
      CLEAR WA_KNA1.
      CLEAR WA_ADRC.
      CLEAR SORT2.
    *To retrieve the territory information from ZPSDSALREP
      SELECT ZZTERRMG
      ZZSALESREP
      NAME1
      ZREP_PROFILE
      ZTEAM
      INTO TABLE GT_TERRINFO
      FROM ZPSDSALREP.
      SORT GT_TERRINFO BY SALESREP.
    *Preparing Corporate ID from KNA1 & ADRC and storing it in SORT2 field
      LOOP AT GT_TERRINFO INTO WA_TERRINFO.
        IF KNA1-KUNNR <> WA_KNA1-KUNNR.
          SELECT SINGLE * FROM KNA1 INTO WA_KNA1
               WHERE KUNNR = WA_TERRINFO-SALESREP.
          IF SY-SUBRC <> 0.
            CLEAR: WA_KNA1, WA_ADRC.
          ELSE.
            SELECT SINGLE * FROM ADRC INTO WA_ADRC
                                     WHERE ADDRNUMBER = WA_KNA1-ADRNR.
            IF SY-SUBRC <> 0. WA_ADRC. ENDIF.
          ENDIF.
        ENDIF.
        IF NOT WA_ADRC-SORT2 IS INITIAL.
          CONCATENATE 'U' WA_ADRC-SORT2 INTO SORT2.
          MOVE SORT2 TO WA_TERRINFO-SORT2.
    * MODIFY GT_TERRINFO1 FROM WA_TERRINFO.
          APPEND WA_TERRINFO TO GT_TERRINFO1.
          CLEAR WA_TERRINFO.
        ENDIF.
      ENDLOOP.
    ENDFORM. " RETRIEVE_DATA
    If program takes many times to upload the data from ZPSDSALREP, you can try to split in sevaral packages:
    SELECT ZZTERRMG ZZSALESREP NAME1 ZREP_PROFILE ZTEAM
      INTO TABLE GT_TERRINFO PACKAGE SIZE <...>
      FROM ZPSDSALREP.
      SORT GT_TERRINFO BY SALESREP.
    *Preparing Corporate ID from KNA1 & ADRC and storing it in SORT2 field
      LOOP AT GT_TERRINFO INTO WA_TERRINFO.
        IF KNA1-KUNNR <> WA_KNA1-KUNNR.
          SELECT SINGLE * FROM KNA1 INTO WA_KNA1
               WHERE KUNNR = WA_TERRINFO-SALESREP.
          IF SY-SUBRC <> 0.
            CLEAR: WA_KNA1, WA_ADRC.
          ELSE.
            SELECT SINGLE * FROM ADRC INTO WA_ADRC
                                     WHERE ADDRNUMBER = WA_KNA1-ADRNR.
            IF SY-SUBRC <> 0. WA_ADRC. ENDIF.
          ENDIF.
        ENDIF.
        IF NOT WA_ADRC-SORT2 IS INITIAL.
          CONCATENATE 'U' WA_ADRC-SORT2 INTO SORT2.
          MOVE SORT2 TO WA_TERRINFO-SORT2.
    * MODIFY GT_TERRINFO1 FROM WA_TERRINFO.
          APPEND WA_TERRINFO TO GT_TERRINFO1.
          CLEAR WA_TERRINFO.
        ENDIF.
      ENDLOOP.
    ENDSELECT.
    Max

  • ABAP Program to split the records

    Hi Experts,
    As i am new to ABAP please update me with the required ABAP Code or atlease with the skeleton Code
    Source & target fields
    Emp_ID ZEMP_ID (CHAR)
    Start Date: ZESTA_DT (DATS)
    End Date : ZEEND_DT (DATS)
    My requirment is to write a start routine that split the record in to 2
    Emp_ID-Start_Date-Termination Date
    0001----01/01/2005---01/01/2008
    0002----01/01/2007---
    (Termination date will be blank if emp is still working)
    As per my requirment i would like to see data in DSO as
    Emp_ID-Start_Date-Termination Date
    0001----01/01/2005---
    0001----01/01/2005---01/01/2008
    0002----01/01/2007---
    I want to split the records of an employee
    Please let me know if u need any information
    Thanks

    Hi Srinivas,
    Thanks for the update....
    Please correct me my if i was wrong
    Data:
    Emp_ID-Start date------Termination Date
    0001----01/01/2005---01/01/2008
    0002------01/01/2005
    Loop at itab.
    if itab-ZEEND_DT is initial.
    itab1 = itab.
    append itab1.
    else. " split the records ... based on termination ..
    itab1 = itab.
    clear itab1-ZEEND_DT
    append itab1.
    itab1 = itab.
    append itab1.
    endif.
    endloop.
    My requirment is for the above example data
    For the employee 0001 as Termination date is not initial i need that record to be split in to 2
    Emp_ID-Start date------Termination Date
    0001------01/01/2005
    0001----01/01/2005---01/01/2008
    Please update

  • Split the vendor lines by PCA in Classic PCA

    Hi,
    We are in ECC and not activated new GL and going with Classic PCA.
    Requriement:
    Accounts payable side user wants to split the vendor (reconciliation) account based on expenditure items PCA.
    I know through NEW GL PCA its possible but due to some technical reasons we are not advising that.
    Can any one please let me know if there is any way to do this.  I checked in 1KEK but its for bothe AR and AP, requirement is only for AP.
    Is there any user exit that we can use for this.
    Thanks,

    The entry looks strange.  I guess your entry is
    Dr. Expense
       Cr. Cash
    The expense gets posted to a cost center if you key in cost center as an account assignment object and if the expense a/c. is created as a primary cost element.  The cash account CANNOT have a cost element behind it, as it is a Balance Sheet Account.
    Now, coming to having the values in PCA, your cost center master can have a profit center assigned to it (check in T Code KS02).  Regarding having profit center on the cash account line item, go to FS00 and check the field status group of your cash account in Create/bank/interest tab.  Double click on the FSG and check in 'Additional account assignments' group if the field 'Profit center' is optional or not.  If not, make it optional and enter profit center when you post FI documents on your cash account.

  • Hw to split the jpanel to 3 jpanels

    Hello frnds,
    In the below mentioned code I need to split the teller panel to three teller can you give any suggestions.
    thank you
    suraw
    package guis.views;
    import guis.controllers.GeneralController;
    import java.awt.Dimension;
    import java.awt.GridBagLayout;
    import java.awt.GridLayout;
    import java.beans.PropertyChangeEvent;
    import java.util.LinkedList;
    import javax.swing.DefaultListModel;
    import javax.swing.JLabel;
    import javax.swing.JList;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JSplitPane;
    * This is a custom view panel that displays a "document" consisting of a single
    * text element. Both the document and the text element respond to changes in
    * the model state.
    * @author Robert Eckstein
    public class TellerPanelView extends View
         private JPanel tellerPanel,tellerSubPanel;
         private JList teller;
         private JLabel tellerInfo;
         private JSplitPane SplitPane;
         private LinkedList<String> customerAtTeller;
         private JScrollPane listScroller;
         private DefaultListModel tellerlist;
         // The controller used by this view
         private GeneralController controller;
         * Creates new form TextElementDisplayPanel
         * @param controller An object implenting the controller interface that
         * this view can use to process GUI actions
         public TellerPanelView(GeneralController controller) {
              this.controller = controller;
              initComponents();
              localInitialization();
         * Initialization method called from the constructor
         public void localInitialization() {
         /** This method is called from within the constructor to
         * initialize the form.
         private void initComponents() {
              tellerPanel = new JPanel(new GridLayout(2,1));          
         tellerInfo = new JLabel("Teller1: Teller2: Teller3:");
              teller = new JList();
              tellerlist = new DefaultListModel();
              teller.setModel(tellerlist);
              SplitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT);          
              for (int a = 0; a <= 2; a++)
              listScroller = new JScrollPane(teller,JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
              customerAtTeller = new LinkedList<String>();
              tellerPanel.add(tellerInfo);
              tellerPanel.add(listScroller);
         public JPanel getTellerPanel() {
              return tellerPanel;
         * Called by the controller when it needs to pass along a property change
         * from a model.
         * @param evt The property change event
         public void modelPropertyChange(PropertyChangeEvent evt) {
              if (evt.getPropertyName().equals(GeneralController.ADD_TRANSACTION)) {
                   String cust = (String) evt.getNewValue();
                   customerAtTeller.addLast(cust);
                   tellerlist.addElement(cust);
              revalidate();
              repaint();
    }

    While it looks like you've split a panel, you really haven't. You've added spcific components to a JPanel that make it look like it's split.
    Ingredients needed: a total of 4 JPanels, and 2 JSplitPanes
    Step 1: Create 2 new JPanels, and then Create a JSplitPane that houses these two JPanels
    JSplitPane jsp1 = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, jPanel2, jPanel3);
    Step 2: Create a 3rd JPanel, and then Create a second JSplit Pane that holds the 3rd JPanel, the JSplitPane created in step 1
    JSplitPane jsp2 = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, jPanel1, jsp1);
    Step 3: Now, add the JSplitPane created in step 2 to your original JPanel
    jsp0.add(jsp2); // modify the add according to the screen manager you're using
    You'll want to set properties on EACH of the JSplitPanes:
    ((JSplitPane) jsp1).setDividerSize(6);
    ((JSplitPane) jsp1).setContinuousLayout(true);
    ((JSplitPane) jsp1).setResizeWeight( (iSliderPos * 0.01) ); // VERY IMPORTANT!!!
    ((JSplitPane) jsp1).setDividerLocation( (iSliderPos * 0.01) );
    where int iSliderPos is 0 - 100
    Gotchas: I may look like there is nothing there (empty screen) because there are no components in jsp1, jsp2, and jsp3.
    You'll either need to put components on these JPanels, or force the JPanels to have some size by setting:
    jpanel1.setMinimumSize(new Dimension(80, 60));
    jpanel1.setPreferredSize(new Dimension(800, 600));
    jpanel1.setMaximumSize(new Dimension(1600, 1200));
    jpanel1.setBounds(0,0,800,600);
    jpanel1.setBorder(blackLineBorder);
    (repeat for jpanel2 and jpanel3)
    and the split panes:
    jsp1.setMinimumSize(new Dimension(80, 60));
    jsp1.setPreferredSize(new Dimension(800, 600));
    jsp1.setMaximumSize(new Dimension(1600, 1200));
    jsp1.setBounds(0, 0, 800, 600);
    (repeat for jsp2)
    This was pretty frustrating for me the first couple (of hundred) times. Maybe try to get it working as 2 panels with one split first.
    bcf

  • MIRO. Amount Split without Taxes Code

    Hi,
    I´m trying to make a "MIRO" "Invoice Verification"  from a Purchase Order witn only one item.
    I want to split the amount in two parts, in order to assign each part a different Tax Code.
    Somehow, I cannot see the Tax Code Field, in the "Amount Split" TAB.
    Does anybody know how can i display this field?
    Does anyboby know a different way to solve this problem?
    Thanks in advanced?

    Hi
    I really appreciate your answer.
    I tried to do what you suggested, but it is impossible in my system. I cannot leave the TAX CODE field in blank in the position. The system gives me an error "m8249" "Enter a tax code".
    I tried to find out where I could erase this message in Customizing, without success.
    Does anybody know, where i can set this field as not a mandatory field for the MIRO?
    Thanks,

Maybe you are looking for

  • How do automate using two output types in an invoice based on plant

    Hello, Can you tell me how to configure automatically two output types for the same invoice. My client has business in USA and Europe.We are using only one sales organization. But we need to print invoices in letter size and A4 size depending on whet

  • Firefox mobile doesn't allow to type national symbols with external usb keyboard.

    I'm using Asus PadFone with it's native keyboard dock-station. When I try enter text on any text field in web page my keyboard layout is set to english. This doesn't hapen when i write text in Firefox search/url field. Tested with Russian and Lithuan

  • Overriding Soap Header using Axis(SOAP) Receiver

    Hi Experts, I am having a problem in including the SOAP Header in the XML using the SOAP Axis Receiver Adapter. Well I am not sure on how to place this structure in the header: <SoapHeader>     <Header1>         <child1>         <child2>     </Header

  • Time settings are messed up

    The time settings on my Iphone 3gs seem to have been messed up and are now half an hour behind.  Is there anyway to rectify this problem so that the time zone and time are set to auto correct and show correct time. The time is currently set manually!

  • Query in Field Not updated in SAP Standard.

    hi friends here is my query In SAP standard one field is not updated in tcode ME11(Create Info Record) table is EINA --LMEIN, The field is currently in suppress mode,and it is blank now. Can we able to update this field during debug,or any other way.