Add fiscalyear./period field in one of the datasource

I need your quick suggestion, how to create Function module and Write the code for a datasource. I want to add fiscalyear./period field in one of the datasource. please tell the logic which field and what table i will pick that. can you tell me the steps if i can create the function module and make alll enhancements in that FM for that datasource. Please write me quick step by step starting from se37 to create FM.
also if you have any abap code to add fiscalyear./period in datasource.
Will appreciate your help.
thanks
sincerely
Soniya

No need - just add fiscal year period to your cube and assign it cal day/posting date - whatever you want to calculate the fiscal period
Then the automatic time conversion will take care of the rest
You will need the fiscal year variant - if you don't have this - get it from the Company Code table in R3 (T001 or similar)

Similar Messages

  • Is there a way to make a number of cells add to a certain number. I need 5 or 6 cells to add to 1700. If one of the cells becomes 0, I need the other cells to change so the bottom number stays at 1700.

    is there a way to make a number of cells add to a certain number. I need 5 or 6 cells to add to 1700. If one of the cells becomes 0, I need the other cells to change so the bottom number stays at 1700.

    Okay then. If your seven numbers are in column B then the formula next to each number in column C would be
    =IF(B=0,0,1700/COUNTIF(B,">0"))
    This assumes all non-zero numbers are positive numbers. The sum will be 1700.

  • Gendata error when using MessageFromExtr rule on a field in one of the FAP

    This is the error:
    Error in RULLoadFASR(): Unable to locate Form Grouping identified by <;;;;>.
    Tip: At least one Group (GRP) in the BDF needs to reference a Group1;Group2;Group3 value of <;;;;>.
    There are also other errors. But this was the first.
    While Gentran runs very fine, gendata gives errors. To say this happens only while using MessageFromExtr rule on a field in one of the FAP. The same BDF file works good when I use Move_it or some other rule.
    The .FAP file looks like this for only the field maapings. Using Studio Version of Oracle Documaker Studio.
    A,F8," ",N,N,N,N,;;,"MESSAGEFROMEXTR","ABCD","",;;,50,0,0,30,581,0,15,0\TBLOFF,XYZYX
    Any Help??

    The Key1 and Key2 table are already updated. This happens when using MessageFromExtr rule.
    Also, in the extract file I am having some value in the tag "<J:L>TextMessage". As this rule supports <J:L> it should print teh text message on the field, but it gives error unable to retrieve record and other.

  • Short dump error when extracting from one of the datasource in R/3 to BW

    When extracting from one of the datasource I am getting the short dump. below is the source code of the same.
    Source code extract
    Get boundaries of next TID block
    L_FROM_INDEX = L_TO_INDEX + 1.
    IF L_FROM_INDEX GT NFILL.  EXIT.  ENDIF.
    L_TO_INDEX   = L_TO_INDEX + L_BLOCK_SIZE.
    IF L_TO_INDEX GT NFILL.
      L_TO_INDEX = NFILL.
      L_BLOCK_SIZE = L_TO_INDEX - L_FROM_INDEX + 1.
    ENDIF.
    Create hashed index on TID of TID table
    CLEAR L_TH_TID_IDX.
    LOOP AT TIDTAB FROM L_FROM_INDEX TO L_TO_INDEX.
      L_S_TID_IDX-TIDIX = SY-TABIX.
      L_S_TID_IDX-TID   = TIDTAB-TID.
      COLLECT L_S_TID_IDX INTO L_TH_TID_IDX.
    ENDLOOP.
    Select TID block from STATE table
    SELECT * INTO TABLE L_T_STATE
           FROM ARFCSSTATE FOR ALL ENTRIES IN L_TH_TID_IDX
           WHERE ARFCIPID   EQ L_TH_TID_IDX-TID-ARFCIPID
             AND ARFCPID    EQ L_TH_TID_IDX-TID-ARFCPID
             AND ARFCTIME   EQ L_TH_TID_IDX-TID-ARFCTIME
             AND ARFCTIDCNT EQ L_TH_TID_IDX-TID-ARFCTIDCNT
           ORDER BY PRIMARY KEY.
    Consistence check
    DESCRIBE TABLE L_T_STATE LINES L_LINES.
    IF L_LINES NE L_BLOCK_SIZE OR
       L_LINES EQ 0.
      MESSAGE X097(SY).
    ENDIF.
    PERFORM DELETE_BATCH_JOB
            USING    L_T_STATE
            CHANGING L_S_TID1.
    Update LUW-Status und Zeit
    CLEAR L_T_STATE_IDX.
    CLEAR L_TH_TID2_IDX.
    CLEAR L_T_TID.
    LOOP AT L_T_STATE INTO L_S_STATE.
      L_S_STATE_IDX-TABIX = SY-TABIX.

    Hi Pavan,
                     This is a table space error.
    Regards,
    rahul

  • Sorting an ArrayList based on the value of a field in one of the objects.

    Hi,
    I have the following problem:
    A server app returns an array list of simple objects with a bunch of fields.
    One of these fields is an int.
    How do I go about sorting the list based on the size of the int?
    Thanks in advance!

    Thanks a lot.
    The Comparator solution is actually ridiculously simple.....
    public class MyComparator implements Comparator {
    public int compare(Object o1, Object o2) {
         if (Integer.parseInt(((ZMData)o1).getAantalposts())>Integer.parseInt(((ZMData)o2).getAantalposts())) {
              return 1;     
         if (Integer.parseInt(((ZMData)o1).getAantalposts())<Integer.parseInt(((ZMData)o2).getAantalposts())) {
              return -1;     
         return 0;
    }Thanks again.

  • How to add dynamic data type as one of the terminals of a Custom VI

    Hello,
    Can anybody tell me if it's possible and how to add a dynamic data type as one of the terminals of a sub-VI? I would like to have a terminal that I can connect signal from DAQmx to my sub-VI.  Thanks.

    Here is one of the coolest things about LV, and one of its major advantages over languages like VB - it has automatic memory management and it compiles whenever you make a change. This allows you to be very free in the way you handle data and change your code. In this case, you should note the small gray dot that appears when you wire the dynamic data into the Array of Waveforms input. This gray dot means that LV coerces the source data type (DDT, in this case) to the target data type (Array of waveforms). If it wouldn't match, you would get a broken wire, the VI couldn't run, and if you hover over the wire or press the broken run button you would get an exact description of the error. Cool, eh?
    This can also be seen in other things. For example, you can change an array's data type or number of dimensions by simply doing it. This will automatically be reflected anywhere the array is called in the program, and if anything won't match, the VI will be broken. If you change the # of dimensions of an array, any array function which that array is wired to will adapt. This allows you to be very safe in the way you write code, because you have LV watching all that annoying stuff for you. You don't have to worry about misspelling a variable here (for the most part).
    One important point about coercion - it does take processor power. This will usually only be evident in large arrays or loops, but it is an important point. Another thing is that coercing numeric types can cause you to lose data - coercing a DBL to a U16, for example, will cause you to lose all the fractional data.
    To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
    In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
    Try to take over the world!

  • Creating a column link and using a date/time field as one of the Items

    I have created an Interactive Report and set up a column link to another page. One of the Items in the column link is a Date field. When I click on the link I receive 'ORA-01403: no data found' for the linked page. In the Session attributes only DD-MON-YYYY HH24 passed and MI (minutes) was truncated... causing the error. I have created the same link on a Non-Interactive Report, DD-MON-YYYY HH24MI gets passed and the link works. Anyone have any clues on why the full date/time format is not being passed?
    The Item on the linked page has been set to Date Picker (DD-MON-YYYY HH24MI)
    Application Date Format is DD-MON-YYYY HH24:MI

    Hi,
    As David says colon is separator in URL for parameters.
    This is same kind of post about problem about comma. Values are separated by comma in URL. It might help you
    value truncation while printing page field in HTML
    Regards,
    Jari

  • How to Make field for selection in the datasource.

    Hi All,
    I want to enable one field in the DataSource for selection. I am not getting where can we make that enable.
    I know we have one check box in transfer structure for make file for selection. But I am getting that is grayout , not able to check that ?
    Please let me know where can we change the setting to make it enable.
    regards
    Ashutosh D

    Look at Roberto's reply in the below post :
    Re: Hos to make a filed to be required field when creating datasource
    What is ur datasource ..?
    Have u tried RSA6 Change Mode for that datasource - Flag Selection?
    Message was edited by:
            Jr Roberto

  • Field not present in the datasource

    Hi All,
    I want to bring the data for fields SCMNG of 0ART_SALES_ATTR into BW. When I check the datasource in RSA6(Double click on 0ART_SALES_ATTR) I am unable to find the field. But when I see the extract structure(BIW_MVKE_S) I can find the field in there. I checked the table  ROOSFIELD and found that the this particular field is set to 'A'(Field in OLTP and BW Hidden by SAP). How can I make this field available to extract the data?
    Please someone reply me soon..It is ver urgent!!!
    Thanks,
    RPK.

    Hi Manfred,
    I have edited it and set it to ' '(No Selection Pssible, Visibility set) and also saved it. But when I go back to rsa6 and double click on the datasource to check if the field has come there it is showing me a log with an error message saying "Units field MEINS for field SCMNG of DataSource 0ART_SALES_ATTR is hidden". What does this mean? Am I missing something or do I need to do any setting? I have checked for MEINS in the extract structure but it is not there in the structure at all.
    Regarding the code,if I want to use this, where should I write this?
    Thanks a lot,
    RPK.

  • FI Spend Data for SRM, Has any one Generated the DataSource from SPL?

    Hello Friends: I am planning to activate the standard BI Content forSpend Analysis. Specifically the infoCube: 0SR_FICO1 and the DSO 0SR_FIDS1.The online documentation recommends creating a Special Purpose Ledger in the source system and supplies a sugessted extract strucure.
    My question is, has anyone created a Special Purpose Lledger using this extract structure to genrate the DataSource in the SAP source system?
    If you have, do you have any items or topics you encountered that you could share with me?
    Regards,
    Joe G.

    HI,
    Please check this link, it may help full.
    [Spend Analysis|http://help.sap.com/saphelp_nw70/helpdata/en/41/61a76556455288e10000000a114e5d/frameset.htm]
    Regards,
    Madhu

  • How to make SAP Query additional field as one of the selection field ?

    Hi experts,
    I'm working on a AdHoc query. I added some Additional fields to the infoset. I put Abap code to populate this additional fields as output fields but I want to make these fields as selection fields also.
    How can I accomplish this ?
    I'd appreciate any answer or suggestion.
    Thanks in advance.

    See Extended / Quick Search capability with attributes in the following SAP notes.
    [482338 - Using Extended Search in ISA B2B, ver. 30|https://service.sap.com/sap/support/notes/482338]
    [792556 - Quick search using several attributes|https://service.sap.com/sap/support/notes/792556]
    [888528 - ISA R/3 4.0: Extended catalog search not consistent|https://service.sap.com/sap/support/notes/888258]

  • SSRS 2005 - table heading adds a keyword " ID " on one of the column need to remove

    HI All
    I have an column name which is dynamically generated like [02 Mar 08 Mar 2015] , when I add it on report table, it adds suffix :  ID to it showing it like [ ID 02 Mar 08 Mar 2015  ]
    If i want to remove the ID using replace expression it doesnt work for me.
    This is how my column look when i run the sp
    The daterange column changes as shown below with Id suffix and minus "-" is vanished too.
    Kindly help me out on this.
    Thanks a lot in advance.

    Hi xXShanXx,
    According to your description, the column name with square brackets and a dash can display correctly when executing the query, but the column name will change in Reporting Services.
    In Reporting Services, the column name must begin with a letter followed by letters, numbers, or the underscore character(_). In your scenario, since the column name start with a square bracket and followed by a dash, it’s an invalid name and it can’t be
    recognized by Reporting Services. By default, the Reporting Services remove all invalid parts, and the column is prefixed with a keyword to indicate it’s a valid name. This is a by design behavior.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • How to add an input field in the web UI of CRM 2007

    Hi everybody.
    I want add an Input field in the Web UI Screen. How it is possible.
    I want get the information with detailed descriptions if possible with screen shorts.
    What type of methods it will be generated and what are the code we entered in those methods.
    Take according to any example. But with detailed description.
    I am new for the CRM 2007. So, please give the screen shorts with proper data.
    Not only adding the field. If any data i entered in the adding field then that will be stored in the tables otherwise no use by adding the field.
    So, Can anybody please send a proper information according to this.
    Here another one How to Add our own table (Ztable) field in the Web UI Screen.
    How to add the same field in the BOL.
    Please expalin about those concepts with full of screen shorts messages.
    Thank You.
    Regards,
    Krishna.

    If you want to add extra standard fields (like one you mentioned), you can use Component Workbench and Copy the configuration and create your own configuration and make the "Available Fields" appear there.
    If the standrd field is not available, you can Add Context Node using wizard and make it visible.
    If its a custom field (a new one); you will have to use EEWB and add the fields and then make it visible in the UI using Component Workbench.
    Regards,
    Alin

  • How to Add a new Field in the Web UI

    In CRM.
    I want add a fields. How it is Possible.
    In WebUI after login. Select BP_SRV_MAIN.
    Then Select Manage Reports.
    Select New Entry.
    Porivide Program Name.
                Short Description.
                Select Service from Drop Down.
    Select Tables Radio Button.
    Press Next.
    It display all available FIelds.
    But i want add another some fields into this. How it is possible.
    Here i am getting   Component Name as  CRMCMP_OR_DTWIZ.
                                View Name as    RptColumns.
    So How can i get more fields like ObjectID of CRMD_ORDERADM_H.
    Can you please explain me about this. If possible with Screen Shorts.
    Thank You.
    B. Krishna

    If you want to add extra standard fields (like one you mentioned), you can use Component Workbench and Copy the configuration and create your own configuration and make the "Available Fields" appear there.
    If the standrd field is not available, you can Add Context Node using wizard and make it visible.
    If its a custom field (a new one); you will have to use EEWB and add the fields and then make it visible in the UI using Component Workbench.
    Regards,
    Alin

  • Can't see "Add or Edit Fields" menu in Acrobat 9 Standard v9.5.2

    I am trying to edit the fields of an Adobe form from one of my co-workers.  We both are running Acrobat 9 Standard v9.5.2.  She is able to see the Forms-->"Add or Edit Fields" menu, while I cannot.
    I cannot get this menu item to show?  Can someone tell me if there is an option or setting to enable so that I can get to this menu item?
    Here is a screenshot of the form:
    Here is a screenshot of the Adobe Acrobat version we are running:
    Thanks,
      Ted

    Finally found a work around to my problem.  Here are the steps:
    (1) The original form.  Note missing "Add or Edit Fields" menu item.
    (2) Click on Document-->Extract Pages
    (3) The following dialog pops up.  Since I am only working with a 1 page form I accept the defaults and click OK.
    (4) The following window is launched.  Now I just save the newly generated form:
    (5) Now when I check the Forms menu, I finally see the "Add or Edit Fields" item:  Yay!!!!
    (6) In checking the Document Properties of the new form, the Application (PScript5.dll)  and PDF Producer (GPL Ghostscript 8.15) metadata is still the same as before:
    Still don't know why I couldn't get to the "Add or Edit Fields" menu item in the original form.  After doing the Extract, now I am able to get to it.   At this point that's all I care about right now.
    Thanks George for helping me investigate this issue!
    Teo

Maybe you are looking for

  • Jdbc adapter error on confirmation message in message monitor (rwb)

    I have the scenario iDoc -> PI 7 - > jdbc (AS400 odbc driver). When I do INSERT statements, the data is stored in the Database and the RWB message monitoring shows status Successfull. However, for every insert, an other message shows up in the messag

  • OS 10.7.5, iTunes 11.0.1, and iOS 6.0.2 ... everything is updated, but iTunes won't read iPhone 5 or iPad. Suggestions?

    OS 10.7.5, iTunes 11.0.1, and iOS 6.0.2 ... everything is updated, but iTunes won't read iPhone 5 or iPad as devices. Syncing was easy before recent iTunes update. Suggestions?

  • Applying a CSS3 effect

    Hi there, I have an existing web page layout I'm working on. I have images set in Divs that have been floated from the left in a main container Div so they are inline horizontally. I have got some CSS3 code to give the images a glass looking border.

  • A bug in the ResultSet.getString method?

    Hi, I am using a 8.1.6 database with UTF8 character set on a Win2000 machine. I've inserted some Hebrew characters into a table, and have been able to read them back properly using SQL+. However, when I try to retrieve these values from a simple Java

  • Log of files installed by new software?

    Hello everyone -    With the changes in Mavericks and Yosemite (through Lion I used view options settings of windows size and configuration to make added files obvious), I need to find a work around to track files installed by new software.  So, if I