Function Module 'DATE_TO_PERIOD_CONVERT'  for 0FISCPER

hello All,
I have a date field / infoobject ST_UP_DTE in the Transfer Rules of 2LIS_11_VAITM.
I want write a routine for 0FISCPER to get the data from this Date Field,
i have written code below ,
  CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
    EXPORTING
      i_date  = COMM_STRUCTURE-ST_UP_DTE
      i_periv = COMM_STRUCTURE-fiscvarnt
    IMPORTING
      e_buper = RESULT+4(3).
But when I start data loading , the data is not loaded to infocube.
The request is Yellow all the time.
Please correct me if anything is wrong in this code.
regards ,
Amol K.

Hello Praveen ,
I made a slight modification to your code as below ,
I made Fiscal year Variant = V3 as constant in the code itself.
And now its working.
data : zperiod like T009B-POPER,
         zyear like T009B-BDATJ.
CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
EXPORTING
i_date = COMM_STRUCTURE-ST_UP_DTE
i_periv = 'V3'
IMPORTING
e_buper = zperiod
E_GJAHR = zyear.
Concatenate zyear zperiod into RESULT.
Thanks for help. full ponits to you.
regards ,
Amol k.

Similar Messages

  • Function module need for 0fiscvarnt

    Hi i have 0comp_code,budat and 0fiscper as a source fields,now i want to get 0fiscvarnt...please give me any logic or function module available for that
    thanks

    Hi,
    Usually fiscal year variant is constant if not getting populated from source system.
    Check with function team member what Fiscal year variant they using.
    Regards,
    Akshay

  • Function module exits for Tcode MD11.

    Please tell me, Function module exits for Tcode MD11.
    Reg .
    Praju

    Hi
    LMDR2001
    LMDZU001
    Try out these exits.
    Check the folloing BADI's
    MD_PLDORD_SCHEDULING
    MD_PIR_FLEX_CONS
    MD_PLDORD_SCHEDULING
    Regards
    Divya

  • Function module name for routing fom production orders

    Function module name for routing fom production orders

    Hi
    There are lot of fun modules related to routing
    like
    BAPI_ROUTING_CREATE
    BAPI_ROUTING_EXISTENCE_CHECK
    goto SE37 Tcode
    enter routing press F4
    you will get a lot out of that use the required one
    Reward points for useful Answers
    Regards
    Anji

  • Function Module (BAPI) for Delivery Change

    Dear All,
    We have a Function Module "BAPI_SALESORDER_CHANGE" for changes in sales order, wherein we also can enter Texts in sales order.
    Please tell me similar such function module for Outbound Delivery, wherein I can enter / insert / change the Texts (both Header & Item) in a deivery document.
    Regards,
    Dhananjay

    Thanks
    Where in this Function Module do I find the table / parameter for adding text at item & header level.
    Regards
    Dhananjay

  • Function module used for ENQUEUE_EIQMEL & DEQUEUE_EIQMEL function

    Hi All,
    It should be highly appreciable if any one could please help.
    I need the name of the function module used for ENQUEUE_EIQMEL & DEQUEUE_EIQMEL function.
    waiting for help.
    Thanks
    Shaw

    Hi,
    The names 'ENQUEUE_EIQMEL' and 'DEQUEUE_EIQMEL ' you have mentioned are itself the function modules. Which other FM's you need i didnt understand.
    These are FM to ahndle lock objects 'QMEL'.
    please reframe your question in case of further issues.
    Regards,
    Mansi.

  • Function module(s) for Cube Collapsing/Compression

    Hi Experts,
    can anybody tell me if there's a SAP Function module availbale for Collapsing/Compressing requests of a cube ?
    Background is we want to automate collapsing of cubes by an APAB report instead of using a process chain or RSA1.
    Any suggestions? Any pitfalls for such an implementation ? Any expieriences ?
    We're on SAP BI 7.00 19, Oracle 10.2.0.4
    Best regards,
    yk

    Hi Srinivas,
    thanks for the quick answer, I will check the FM you mentioned.
    We think of a cube exceptions list wich should NOT be condensed, and all OTHER cubes should be condensed.
    With a process chain we have to maintain these OTHER list manually. In an ABAP report we could exclude the exceptions and condense the rest.
    Developers tend to "forget" to add the CONDENSE step. So with time more and more cubes store only in F-tables and nothing in the E-tables (producing more workload as query runtime, DB maintanence like index creation runtime , statistic runs ...) and last but not least occupy disk space wich is expensive if you have a mirrored high performance disk system .
    Best regards,
    yk

  • Function module/BAPI for executing VD51/VD52 transactions

    Hi
    Warm greetings to all,
    I require a function module/BAPI for executing VD51/VD52 transactions. Can anyone help on this
    Sreekanth

    Hi Sreekanth,
    Use this.
    There is an FM which is used by standard transaction
    'RV_CUSTOMER_MATERIAL_UPDATE' .
    Ex Code -
    CALL FUNCTION 'RV_CUSTOMER_MATERIAL_UPDATE'
    IN UPDATE TASK
    TABLES
    XKNMT_TAB = XKNMT
    YKNMT_TAB = YKNMT
    TCATALOG_TAB = LT_CATALOG.
    commit work.
    Regards,
    Vijay

  • Function Module / BAPI for Creating Material freight Group

    Hi All,
    Can anyone tell me the Function Module / Bapi for creating material freight group.
    Regards,
    Raj.

    Bapi for creating material freight group. :: You actually use mm01 or mm02 to change data for material flight.
    So you can use BAPI for mm02 and mm01
    For Ex:
    BAPI_MATERIAL_SAVEDATA
    Hope this helps

  • Function Module Name for Graph

    HI,
      Can any body tell me Function Module name for creating graph with horizontal scrollable.I dont want standard graph button.
    Thanks,
    Rakesh

    Hello,
    Check this standard programs they are using the same FM
    RFDOPR20                         Customer Payment History
    RFVD_COMPRESSION_01_I01
    RPRSTA01                         Travel Expense Reporting by Period
    RPSTA100                         Time-Related Statistical Reporting
    RPSTA200                         Time-Related Statistical Reporting
    RPSTA2GR
    RQALVF16
    RQETBI10                         Inspection lot selection
    RSDB4007                         iSeries: Display Wait Statistics by SAP Instance
    RSHOST10                         Monitor for OS Collector (ST06)
    RSORA003                         Statistics of Physical Accesses to Oracle Data Base
    RSORA007                         Statistics of Data Base Wait Situations
    RSORA138                         IO Stat for Each User Session (ORA7 V$SESS_10)
    Check this 3 FM
    GRAPH_2D                       Calling up the 2D business graphics
    GRAPH_2D_MENUE                 DO NOT USE (use 'GRAPH_2D' and 'GRAPH_BUSG_MENU_SET')
    GRAPH_MATRIX_2D                Calling up the 2D graphics (user-friendly version)

  • Function module / BAPI for FBRA IN 3.1 VERSION?

    Hello all,
    Could you please suggest Function module / BAPI for FBRA (Reverse and cancel) transaction in 3.1 version.
    Thanks,
    Subba

    Please check this FM perhaps it may help.
    CALL_FB08
    REVERSE_CLEARING
    RESET_CLEARED_ITEMS_BDC_WRITE.
    Regards
    Kiran Sure

  • Function Module/BAPI for posting of Parked Invoice/Documnet

    Dear all,
    Please provide me.
    Function Module/BAPI for posting of Parked Invoice/Documnet
    Regards
    Ricky

    Hi Ricky,
    What about MR_POST_PP_INVOICE?
    In my current project, though, we had to develop a function module for this.
    Regards,
    Eli

  • Function Module require for Accounting Document

    Hi All,
    Is there any Function Module available for getting Accounting document no which is created after IR.
    Regards,
    Paras

    Hi,
    You can use BAPI_ACC_DOCUMENT_POST.
    Regards,
    Eli

  • Function module/BAPI for ATP Material

    Hi All,
    Is there any function module/BAPI for ATP(Available-to-Promise check) for Material.
    1) Production order from one plant
    2) Scheduling agreement from another plant.
    Regards,
    Srinivas.

    Hi,
    you can use either of one below for ATP.
    BAPI_MATERIAL_AVAILABILITY
    RV_AVAILABILITY_CHECK
    /SAPNEA/SMAPI_ATP_CHECK
    regards,
    ram

  • Function module/BAPI for Pgi creation

    hi all,
    any standard function module/ BAPI for create PGI.
    i know BAPI_OUTB_DELIVERY_CONFIRM_DEC, suppose if we are using PGI reverse not possibul.
    regards

    This is not answered

Maybe you are looking for

  • Colors in Photoshop look different elsewhere

    When I open a picture in Photoshop CS3 or Camera RAW for editing and then save that picture, and then open the saved picture in any program other than Photoshop, the colors and tints and saturation are very different. I am pretty sure this has to do

  • HT1386 My iPhone isn't appearing on my iTunes when plugged in correctly

    When my iPhone 5s is plugged into my laptop, iTunes isn't recognising the device  however, the phone is new so everything is working in excellent condition and my iTunes software is up to date. Due to not being able to sync my iPhone,iCloud has sudde

  • Identification of Exception

    Hi All, I am doing few research on the exception handling in JVM. I want to understand, when a malfunction occurs in the program, how JVM knows that this is exception. What triggers the first exception initiation event at the low level. Hope I have p

  • Solution to Blu-ray Error: "Fatal Error", Code: "6", Note:"

    I had previously been able to export to a BD image with no problem and suddenly I started getting this error. People seem to be finding various ways to work around the problem including rerouting menu buttons and installing MSXML 6.0, none of which w

  • How to resetup my iphone  mistakenly i erase all data

    how to resetup my iphone  mistakenly i erase all data