Date in PNP code

Hi. Which period will that code take the pay from? A recent one from the present?
TABLES: pernr.
NODES: payroll TYPE pay99_result.
DATA: wa_rt LIKE LINE OF payroll-inter-rt.
DATA mylist LIKE  pc261 OCCURS 0 .
DATA wa_mylist LIKE LINE OF mylist.
DATA pay TYPE REF TO cl_pay.  "global class
GET pernr.
GET payroll.
  READ TABLE payroll-inter-rt WITH KEY lgart = '/0T1' INTO wa_rt.
  IF sy-subrc = 0.
  ENDIF.

Hi,
  I am not sure how you could use DB13 transaction here.
The issue is due to the Parameter ID assigned to the "valid from" date. This field will get defaulted with current date when the parameter ID is initial,or with the previously entered date if available from parameter id.
You can only achieve this through some development.You will not be accomplish this through config.
Some options to consider
1) Use the implicit enhancement functionality available in ECC 6.0 to always assign Sy-datum field to this field at the screen level overriding the Parameter ID field for the create transaction.
2) Make a  modification to remove the Parameter ID from the screen field.
Ideally you would want to follow the option 1 and not do option2 since its considered a Modification.However if you are in lower version, this might be your only option and you may want to consider the same if the benefits outweigh the Modification.If a  modification is performed on this field, make sure to reset it during Upgrade to future versions.
Regards
Narasimhan

Similar Messages

  • OraRRP Error with "Unable to copy data file;Error code 2, check disk space"

    Hi,
    Some users get this message -"Unable to copy data file;Error code 2, check disk space" when run report with orarrp, but most users do not get it.
    I check free space at both server and client side, they are very sufficient.
    I also checked directory exists for REPORTXX_TMP variable.
    My user call reports via URL (rwservlet) and it occur for all reports.
    How I can solve this problem?
    Thanks in advance.
    Tawatchai R.

    Hi,
    have the same problem now. One user has temporarily problems to download .rrpa files via URL (rwservlet) request. Error code: -"Unable to copy data file;Error code 2, check disk space". Did you get a solution??
    Thanks in advance. Axel

  • In Service contract, to change the valid form date on service code level.

    Hi.
    I want to change the price valid form date on service code level ( i.e. in condition)  in Service contract.
    I know i can  do that with ME32 transaction but i have lot of Service contract with more then 10,000 line items
    Is there any way that i can change in mass based on Service contract no. wise.???
    Thanks in advance..
    Edited by: VIKRANT HANDE on Sep 15, 2009 9:11 AM

    Please check in KON* series table in SE16N transaction. I guess KOHN table may help you out. You can see other similar tables.
    In any one of the table you will find validity data.

  • Data objects and code objects in oracle application

    Hi,
    can any one please help me out with following question?
    1. what are data objects and code objects in oracle apps and why is that difference?
    2. How does the objects gets created in Oracle Applications, like during the installation which part is responsible for creating objects and after the installtion later point of time, how the new objects gets created in oracle applications?
    3. what are the ways to find out if my 11i application is OATM enabled ?
    Thanks in advance

    Hello,
    I managed to find answer for question 1, yet to find answer for 2 and 3.
    Answer for question 1 --
    Data objects : store and access business data (tables, indexes, sequences, index-organized tables, etc);
    Code objects : process data objects but them don't contains business data (functions, procedures, packages, views, synonyms);
    Now, here i have a question - under which objects queues are considered ?

  • Help!! Want to immigrate Oracle Data in ASCII7 code to a Simplified Chinese Database

    I want to immigrate Oracle Data in ASCII7 code to a Simplified Chinese Database?
    I use exp& imp but it failed.
    Who can help me !
    Thanks a lot!

    Can you please specify the exact character sets you are migrating, such as US7ASCII ->ZHS16GBK . There are a couple of common scenarios. One is the source character set is not a subset of the target. Another is that the source character set has illegal characters. In your case maybe non ASCII characters. A third possibility is that you have not set up your NLS_LANG settings properly when you did your import or export. Can you please also describe the error message you are getting? What versions of Oracle do the source and target database reside? There is an Oracle utility that is highly recommended to use with Oracle8i before doing migrations called the Character Set Scanner. For more information on database character set migration issues and the Character Set Scanner please refer to
    http://st-doc.us.oracle.com/8.0/817/addendum.817/a85455/nlsadden.htm.

  • HT1338 how to get the up-to-date OS content code back?

    Hi Guys
    I am new here. My iMac (purchased from middle of 2010 and eligilable to the up-to-date programe) down recently and I can't find the up-to-date os content code back? Can anyone tell me where and how can I get it back? Thanks in addvance.
    My current version 10.6.8.
    Thanks again in addvance.

    I was up-to-date to 10.7.x. with no additional charge because I am eligiable for the up to date progame when I purchased my iMac. Unfortunately it was down due to the power issue and I just got it back. So I reinstalled my os from the disc but only up to 10.6.8. I was looking back to my email to the content code that apple sent me, unfortunately that email was password protected. Now I can't get my content code to download to the 10.7.x. Do you know how can I get that back by any chance? Thanks for repling my post.

  • Have not purchased music for 10 months, in the meantime card has expired, which has £1.74 in credit on it, tried to change card details to current last 4 numbers/expiry date and security code but keeps on rejecting and brings back old card details

    Have not purchased music for 10 months, in the meantime card has expired, which has £1.74 in credit on it, tried to change card details to current last 4 numbers/expiry date and security code but keeps on rejecting and brings back old card details

    Try here >  iTunes Store: My credit card's security code or zip code does not match my bank's records

  • BDC for appending data for t-code FK02

    Hi,
    I want to append data for t-code FK02 through BDC.
    Like if for particular lifnr and bukrs, there is existing 2 line items
    then my BDC should starting appending data from 3rd line item.
    Thanks

    first u count line item
    select count(*) into cnt
               from LFBW as a
               where a~lifnr = itab-lifnr
                 and a~bukrs = itab-bukrs.
    then put logic for
    if cnt > '06'.
            tme = cnt / 6.
            cnt = cnt mod 6.
            do tme times.
                perform bdc_dynpro using 'SAPMF02K' '0610'.
                perform bdc_field using 'BDC_CURSOR' 'LFBW-QSREC(01)'.
                perform bdc_field using 'BDC_OKCODE' 'P+'.
            enddo.
        endif.

  • Cost Center Data in Company Code Currency

    Hi All,
    We have a requirement to develop a Cost Center Report with Company Code, Account Number and Amount in Company Code Curreny.
    I have checked table COEP, we can get data of CCode, Account Number. But Amount will be in Object Currency/Transaction  Currency / COArea Curreny and not in Company Code Currency.
    Is there a way to get Cost Center data in Company Code curreny.
    Please advice.
    Thanks
    Satish

    Hi,
       In CO, you specify in the year-dependent settings for the controlling area (Transaction OKKP) whether you want to use one or more currencies (flag "All currencies", TKA00-ALLEW).
    If you decided to use one currency only, all documents are only managed in CO area currency.
    If you decided to use several currencies, the following three currencies are managed in CO:
        1. Controlling area currency
           The controlling area currency can be:
           -  10 company code currency (only if all company codes assigned to CO area have the same currency)
           -  20 free controlling area currency
           -  30 group currency
        2. Object currency (defined per object)
    As a rule, the object currency is the company code currency. Only in one case the object currency can be freely chosen, that is, if flag "different company code currencies allowed" is not active.  This flag is set automatically if CO area currency is not 10 and cross-company code accounting is set.
        3. Transaction currency (could be different in every posting).
    regards
    Waman

  • To extract data from t.code mm02

    Hi,
       I want to write the program to extract the data from t.code mm02 for clsiification and unit of measure .
         In classification there are charactersitcs and values which i want to extract. And in unit of measure i want to extract the data .
    please if somebudy knows plz let me know.

    Hi Rahul,
    You can use following tables to extact default material characteristics.
    CABN,CABNT,CAWN & CAWNT
    And you can also refer following code where I have used FM's -
    *&--- Select class type available for material table (MARA)
        SELECT klart
                FROM tcla
                INTO TABLE t_klart
                WHERE obtab = c_mara AND
                      klart = '300'.    " GIves Material class type
    REFRESH t_objkeys.
        LOOP AT t_klart INTO w_klart.
          CLEAR : w_objkeys.
          w_objkeys-class_type     =  w_klart.
          w_objkeys-objectkey      =  w_matnr2.      "material number
          w_objkeys-objecttable    =  c_mara.          " MARA
          APPEND w_objkeys TO t_objkeys.
          CLEAR : w_klart,
                  w_objkeys.
        ENDLOOP.
    REFRESH : t_allocations, t_class_char1, t_class_char.
    *&---FM to get the Class Name for the material
        CALL FUNCTION 'CLBPAX_READ_CLASSIFICATIONS'
          EXPORTING
            t_object_keys = t_objkeys
            keydate       = sy-datum
          IMPORTING
            t_allocations     = t_allocations
            t_valuations_char = t_value_char
            t_valuations_num  = t_value_num.
      IF t_allocations[] IS NOT INITIAL.
        LOOP AT t_allocations INTO w_allocations WHERE class_type = '300'.
            CALL FUNCTION 'BAPI_CLASS_GETDETAIL'
              EXPORTING
                classtype            = w_allocations-class_type
                classnum             = w_allocations-classnum
              TABLES
                classcharacteristics = t_class_char1
                classcharvalues      = t_class_char.
          ENDLOOP.
        ENDIF.

  • 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

  • Data Handler source code need modification

    I found this in the forum and try to implement it in my page. The code is running okay but just that when I first load the page into the browser, It shows ALL the records in the database beneath the searchbox.
    All I want is first time user come to the page, it only show the search box but no result. And after user enter the data, it then performs the search and show the result beneath.
    <%@ page language="java" errorPage="errorpage.jsp" contentType="text/html;charset=ISO-8859-1" %>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <html>
    <head>
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <LINK REL=STYLESHEET TYPE="text/css" HREF="/webapp/css/bc4j.css">
    <TITLE>Browse Form</TITLE>
    </head>
    <body>
    <jbo:ApplicationModule id="am" configname="oetest.OeAppModule.OeAppModuleLocal" releasemode="Stateful" />
    <jbo:DataSource id="ds" rangesize="3" appid="am" viewobject="ProductInformationView" />
    <jbo:DataHandler appid="am" />
    <%
    /* This scriplet processes http parameters used to extract the search
    and column strings to build the criteria value string */
    /* Initialize variables to hold string if search string and column doesn't
    change between requests.*/
    String column_name=(String)session.getValue("sessionColumnName");
    String search_value=(String)session.getValue("sessionSearchValue");
    // Set search_value to empty string for first time rendering
    if (search_value == null) search_value="";
    String criteria_value;
    //get search parameter and set in session for persistence
    if (request.getParameter("search")!=null) {
    search_value=request.getParameter("search").trim();
    session.putValue("sessionSearchValue", search_value);
    //get column parameter and set in session for persistence
    if (request.getParameter("column")!=null) {
    column_name=request.getParameter("column").trim();
    session.putValue("sessionColumnName", column_name);
    //Construct the criteria value string.
    criteria_value="like '%" + search_value + "%'";
    %>
    <jbo:OnEvent name="Find" >
    <!-- Create a new ViewCiteria to filter data source. ViewCriteria is a
    container for CriteriaRow and Criteria, which filter the rowset returned
    by the the datasource (view object) -->
    <jbo:ViewCriteria id="vc" datasource="ds" action="new">
    <!-- Create CriteriaRow to restrict the query for every attribute
    Essentially, each CriteriaRow works analogous yp an 'AND' in the where
    Clause of the view object. Here we only want to restrict the
    query based on the chosen column. Using 'uppercolumns' makes the
    restricts case insensitive -->
    <jbo:CriteriaRow id="row" > <!-- uppercolumns="true" -->
    <!-- This ensures that column_name has a non empty value. -->
    <% if (column_name==null || column_name.equals("")) { %>
    <jbo:AttributeIterate id="defvc" datasource="ds" queriableonly="true" >
    <% column_name=defvc.getName(); %>
    </jbo:AttributeIterate>
    <% } // end if %>
    <!-- Create Criteria as part of a CriteriaRow to include one or more
    attributes. Essentially, each CriteriaRow works analogous to
    an 'OR' for each attribute in the where Clause of the
    view object. Specify the column_name and criteria_value in the
    dataitem and value attributes, respectively. -->
    <jbo:Criteria dataitem="<%= column_name %>" value="<%= criteria_value %>" />
    <!-- Close CriteriaRow, ViewCriteria tags, respectively -->
    </jbo:CriteriaRow>
    </jbo:ViewCriteria>
    </jbo:OnEvent>
    <h3>ProductInformationView Browse Form</h3>
    <!-- Add a form for the search input -->
    <form name="exsearch" action="ProductInformationView_Browse.jsp" method="post">
    <table>
    <tr>
    <td align="left" nowrap>
    <img border="0" src="go.gif" align="top" width="22" height="25">
    <b><font face="Arial" size="4" color="#336699"> Search </font></b>
    <!-- use a drop list of column names to select. Iterate through Attribute names -->
    <select name="column">
    <jbo:AttributeIterate id="defvc2" datasource="ds" queriableonly="true" >
    <option value="<%= defvc2.getName() %>" <%= defvc2.getName().equals(column_name)?"selected":"" %> ><%= defvc2.getName() %></option>
    </jbo:AttributeIterate>
    </select>
    <!-- Input field for search string -->
    <input name="search" value="<%= search_value %>">
    <input type="submit" name="jboEvent" value="Find">
    </td>
    </tr>
    </table>
    </form>
    <!-- The rest was generate using the BC4J JSP Wizard to build a Browse form. -->
    <table border="0">
    <tr>
    <td ALIGN="right"><jbo:DataScroller datasource="ds"/></td>
    </tr>
    <tr>
    <td><jbo:DataTable datasource="ds" /></td>
    </tr>
    </table>
    <jbo:ReleasePageResources />
    </body>
    </html>

    JosAH wrote:
    A couple of years ago Sun supplied their javax.comm package (mysteriously versioned as version 2)
    but they stopped it for the PC Windows.
    There's an alternative: rxtx which offers an identical API as Sun did and their own native implementation for serial and parallel port handling; I have used both and the rxtx version is clearly superior to Sun's old version: http://www.rxtx.org
    This question popped up recently.
    tschodt wrote in [http://forums.sun.com/thread.jspa?messageID=10863769#10863769:}
    [Java Communications API|http://java.sun.com/products/javacomm/]
    Implementations of the API are currently available for Solaris SPARC, Solaris x86, and Linux x86.follow the Download link to find
    Sun no longer offer's the Windows platform binaries of javax.comm, however javax.comm 2.0.3 can be used for the Windows platform, by using it in conjunction with the Win32 implementation layer provided by the RxTx project. To use that, download javax.comm for the 'generic' platform (which provides the front-end javax.comm API only, without platform specific back-end implementations bundled). Then acquire the Windows binary implementation rxtx-2.0.7pre1 from http://www.rxtx.org.

  • Not able to create customer master data with country code US

    Hey All,
    I am not able to create customer master data in the Transaction Code XD01/FD01 with the country code as US.
    The error message for the same is NO JURISDICTION CODE COULD BE DETERMINED. I have checked the tax code settings but could not locate the problem.
    Request you to provide me with a solution.
    Thanks & Regards
    VK

    Hey all,
    I have checked the field in the account group(OBD2) but its in optional status
    and also checked the country settings for US in the transaction code OY17 still the same error message, but when i tried checking the settings for a differnt company code's customer data base i can see that there is a number mentioned in the address tab under tax jurisdiction feild (beside time zone) which is not populating for this company code.
    so, do anyone know where exaclty we mention this number so that it populates in that field of address.
    hope am clear
    hope to receive  a solution
    thanks & regards
    vinila

  • Retriving Absence data from PNP logical database

    hi all,
    there is an function where i can get the absence data but my client wants in the following order
    But my client wants the report in following format:
    YEAR--- week number--
    number of absence hourse in that week
    2006 -
    WEEK -
    HOURS
    infotype is pa2001.
    thx in advance.
    Sunil

    Sunil,
    Table PTQUODED may be better suited than PA2001 because in PA2001 it is <b>very difficult to distinguish between absences that overlap between 2 or more weeks</b>.
    Here is sample code that does exactly what you need:
    REPORT  zggar_abs.
    DATA: ta_ptquoded  TYPE TABLE OF ptquoded.
    DATA: l_week       TYPE scal-week.
    DATA: BEGIN OF ta_abs OCCURS 0,
            pernr    TYPE pernr,
            year(4)  TYPE c,
            week(2)  TYPE c,
            abs      TYPE f,
          END OF ta_abs.
    DATA: wa_abs  LIKE LINE OF ta_abs.
    FIELD-SYMBOLS: <fs_ptquoded>  LIKE LINE OF ta_ptquoded.
    PARAMETERS : p_pernr  TYPE p_pernr.
    SELECT * FROM ptquoded
             INTO TABLE ta_ptquoded
             WHERE pernr = p_pernr.
    LOOP AT ta_ptquoded ASSIGNING <fs_ptquoded>.
      wa_abs-pernr = <fs_ptquoded>-pernr.
      CLEAR: l_week.
      CALL FUNCTION 'DATE_GET_WEEK'
        EXPORTING
          date = <fs_ptquoded>-datum
        IMPORTING
          week = l_week.
      wa_abs-year = l_week+0(4).
      wa_abs-week = l_week+4(2).
      wa_abs-abs  = <fs_ptquoded>-quode.
      COLLECT wa_abs INTO ta_abs.
    ENDLOOP.
    SORT ta_abs BY year week.
    LOOP AT ta_abs INTO wa_abs.
      WRITE : wa_abs-year, wa_abs-week, wa_abs-abs.
      NEW-LINE.
    ENDLOOP.
    Please, assign points and close the thread if solved.
    Best regards,
    Guillaume

  • G/L Account line item display-text column data missing-t-code faglb03

    Dear friends,
    MY client requirement like below,
    In the GR/IR Clg account no.xxxxxxxxx. the bill no was displayed in the text column. Hence we can compare the debit entry wrt to the credit entry so that the left out credit entries can be traced and booked. The vendor code was displayed against the invoice no.before upgradation. 
    But now After upgradation this facility is not available.text column data not fletching, If the text [i.e invoice no. } is not available how can we identify which vendor bill was not posted or booked. Which was in this ledger before upgradation.
    kindly help me out to sort out this issue.
    regards
    kalyanam

    Hi Cheran
    initial screen
    Double click on on Accumulated field then it will display you the line item
    Text column is displaying at line item
    kindly check the Layout if still it does not showing there
    then add this field in below Tcode then it will display
    Tcode:  OBVU
    Table : Bseg
    Field name : SGTXT
    and save it
    hope this will help you
    Thanks
    Trinath

Maybe you are looking for

  • Indesign CS4 won't open after updating to Yosemite. How can I fix this?

    I have a new macbook pro, just updated to yosemite, and I use the CS4 adobe suite almost daily. Photoshop, when I opened it, required a plugin which I downloaded and that works. Illustrator works fine, but Indesign begins to boot up, then crashes. Ev

  • Source system connection issues

    Hello BI Experts, We had issues with the source system connection - from our BI system (NW 04s) to our R/3 system (ECC 6.0) . From RSA1, when we right click on the R3 source sytem and do a "Check", it was erroring out: "Error in source system <Logsys

  • DVD's Not Playing....

    I have the latest software of Final Cut Pro , Motion , Soundtrack , and DVD Studio Pro. Recently when i have been burning DVD's in DVD Studio Pro the DVD's have not been playing in my home DVD player. The DVD's though play on my Apple G5 flawlessly.

  • HT4623 Problem with safari with iOS 7

    My daughter installed the new iOS 7 on her iPhone 5s and now her safari won't work any suggestions on how to fix this?

  • 2-dimensional scale for a pricing condition

    Hi, Need your Expertise please. We would like to implement 2-dimensional scale for a pricing condition. We have found a decision as use Reference condition type (RefAppl 'F'). It works but we can't define Condition base value for the determination of