AFAB dynamic variant creation for Posting period.

HI,
Business Requirement :
Business want to run AFAB transaction code every month automatically with schedule job.
system should pick present month period in posting period field.
i checked in variant creation  against posting period there is no dynamic " D " in selection variable column.
how can i fix this.

Hi Jani,
Check with abaper if TVARV table can Help you in this case, or create a z program from AFAB. And add date field to it, and schedule job based on that,
I think TVARV table will be a better approach.
Another point to consider here would be that dep should be run once business is ready to do so, and has its own hick ups in business if corrections are required to be made after executing AFAB by job
Regards
Pankaj B.

Similar Messages

  • Variant Creation for the Back Ground Jobs

    Hi experts
    1) What are the settings we need to consider in the Variant Creation for generating CVC's, Planning Area Initialization, Calculate Proportional Factors and Loading planning area.
    2)I believe  Process flow to create process chain:
    Generate CVC's-->Planning Area Intialization>Load Planning Area Vesrion--
    >Calculate Proportional Factors
    Please correct if the process flow is not right.
    3) Is it require to check the adjust time series for generating CVC's for every time?
    4) How to generate the proportional factors for all the products in the single job?I assume that  need to create a single selection ID which has all Characteristic values and assign this while creating the Proportional factors.Please correct me if i am wrong.
    Please give your valuable opinions on the above queries
    Thanks in advance
    Edited by: Mani4690 on Mar 4, 2009 9:37 PM

    Hi,
    Below are the answers to your queries.
    1) What are the settings we need to consider in the Variant Creation for generating CVC's, Planning Area Initialization, Calculate Proportional Factors and Loading planning area.
    While creating CVC's (t-code /n/sapapo/mc62)select your MPOS, goto create characteristic combinations, then enter Target mpos, say generate in background, tick against all fields in action selection, and then save as variant. During planning area initialisation(/n/sapapo/msdp_admin), select your planning area, right click and say create time series objects and then enter planning version, start and end dates and execute job in background.  While calculating proportional factors (/n/sapapo/mc8v), enter ur planning area & infocube and then save as a variant.  For loading data from infocube to planning area (tcode /n/sapapo/tscube), select the infocube, planning version, planning area, planning versin, periods, tick mark in results log, key figure assignments, if you have any selection criteria enter, and then save as variant.
    2) 2)I believe Process flow to create process chain:
    Generate CVC's-->Planning Area Intialization>Load Planning Area Vesrion--
    >Calculate Proportional Factors
    Please correct if the process flow is not right.
    Correct
    3) ) Is it require to check the adjust time series for generating CVC's for every time?
    Yes, it is required.
    4) How to generate the proportional factors for all the products in the single job?I assume that need to create a single selection ID which has all Characteristic values and assign this while creating the Proportional factors.Please correct me if i am wrong.
    if you use mc8v t-code and provide planning area & infocube, it will ask for version name and dates, once u enter this info, proportional factors will get created.
    Regards
    R. Senthil Mareeswaran.

  • Tables for posting period check

    Hi,
    Can somebody tell me the tables for posting period check for tcodes F-63 and MIR7. I need to check whether the posting period is open when uploading data to these tcodes.
    Arun Mohan

    Use FM <b>FI_PERIOD_CHECK</b>
    Check this out for the same
    http://sap4.com/wiki/index.php?title=FI_PERIOD_CHECK
    Regards,
    Santosh

  • Data column (for posting period) converted to COMPARISON COLUMN

    Hi all,
    I use 'posting period'(derived from fiscal period/year) in the data column and assigned CHAR-posting period to a variable (the value is 1.2.3....12) in the planning level.
    When I execute my layout, I got an error message: Data column 2 will be converted into a comparison column.
    Diagnosis:
    You have entered variable ZFIU004 in data column 2 and provided it with an offset. This results in values arising for variable ZFIU004, which are no longer within the selection, which was defined for the variable.
    Can someone please advise me?

    Hi,
    What is the selection maintained for posting period on the level.
    thanks

  • Planned depreciation not showing for posting period

    hi,
    I have query for planned depreciation.
    my company code is having following setting.
    1. check "dep to the day" is there.
    2. in Fiscal year Variant for the period 7 & 8 the setting is as below.
    month day period
    8          1      7
    8          29    8
    so the planned depreciation is not showing in period 8, in period 7 it is showing double (for period 7 & 8). this is the same for posted depreciation also.
    please suggest if any setting available for the same.
    Thanks,

    Why do you have your both periods 7 & 8 setting in the same month 8 ??
    Every period and month should be exclusive and look something like this > http://www.saptechies.com/userfiles/Define-Business-Area-5.jpg
    Please post your query properly if you don't get this explanation.
    Zub

  • Profit Center-wise authorization for posting period

    Hi
    I have two profit centers - 1000 and 2000 under company code A001. Now management requires that posting in different must be restricted separately. For ex: Profit center 1000 needs more time for closing. Hence Profit Center 2000 must be closed in OB52 even though Profit center 1000 is opened.
    Posting period variant assigned to company code: A001 is 1100.
    Now in OB52, i gave
    Variant:1100
    Account type: +
    GL Accounts: 1000000 (from account) 99999999 (to account)
    From period 1/2011 to 2/2011
    Authorization group: 1000
    But how to link (add / remove) user id to that authorization group. Please help

    Hello,
    I'm using new GL and i've activated the Profit Center cenarios. However, the profit centers filled at the GL items aren't transferred for the FAGLFLEXA / FAGLFLEXT tables.
    Do you know why isn't the FAGLFLEXA / FAGLFLEXT  filled?
    Additionally i'm using the transaction F.5D and 1KEK to transfer information at the GL items for the GLPCA / GLPCT tables. Why aren't this information transferred online?
    Best regards,
    Rita Magno

  • Dynamic variant create for select option High value

    Hi ,
    I would like to set a dynamic variant for Date filed in selection screen as lower limit as 01/01/2009 and Last day of previous month as hiher limit. For examplae: Lower limit = 01/01/2009 and higher limit as 02/28/2011.
    Please help me in creating dynamic variant as mentiond above.
    Thanks & Regards,
    Venkat N.

    Hi,
    Thank you for your reply and could you please provide if you have any code.
    Thanks & Regards,
    Venkat N.

  • Authorization for posting periods

    Hi All,
                 is it possible to give authorization to only one user for postings for the previous months. where as my requirement is I need to unlock previous months posting periods, so that one user will login into XXX userid and he will start postings in to previous months. Mean while i want to restrict other users to post entries in to previous months.
    Please help.......
    Thankyou,
    Sree.

    Hi!
    Yes, very much possible in SAP B1 2007B
    Set Posting Period as Closing Period for the Financial Year
    Do Authorization for Closing Period under General Authorization.
    Give full autho to that particular user who going to do postdated entry.

  • Bin determination in automatic TO creation for posting changes

    Hello guys,
    could someone provide some information or some links on how the automatic bin determination for posting changes will be processed in SAP WM?
    Actually I'm looking for some further information for automated processing during a posting with movement type 309.
    What data from the posting change will be taken into account for the automated bin determination?
    Or is it 100 % comparable to the standard putaway / stock removal strategies?
    Thanks for some hints on that.

    Hi,
    I would like to add a point here that there is possibility of transmitting a screen widow to hav the value of GR number. You can do the settings  in OMLR in the AddlData for the appropriate Mvt (eg 321)
    This will cause to have the GR number to the PCN, which is compared with the GR no in the quant existing, while creating the TO wrt PCN.
    For eg: Material           Qty              Stk catgry                Bin                      GRno
                     A                  20                    Q                      B001                  5000000102
                     A                  40                    Q                      B003                  5000000140
    Now, when transfering the stock category form Quality to unrestricted, for 20 qty, a PCN will be created bforethat a pop-up screen flows in which u'll b giving the GR no as 5000000140.
    So u have the PCN for Qty 20, with GR no 5000000140.
    When u create a TO wrt PCN, system will pick the stock from the bin B003.
    I don't know how far this may light u.
    Reg
    Prasanna

  • Get start and end date for posting period (YYYYMMM format)

    In revenue recognition I'd like to have the start date and the end date of the posting period, which is in format YYYYMMM. It's field VBREVR-BDJPOPER.
    Any idea?
    I had no luck so far to find a relevant FM.
    Thanks in advance,
    Peter

    Hi,
    Use this FM To convert the date into DD.MMM.YYYY format
    <b>CONVERSION_EXIT_SDATE_OUTPUT</b>.
    Use the followiong FM To convert the date into <b>user specified</b> format
    <b>SLS_MISC_CONVERT_TO_DATE</b>     
    Rewaed if helpful.
    Regards,
    Sandhya

  • Dynamic variant creation, Current date "-NNNN" *(4 digit number)*

    Hi,
    Is there any way of creating "-NNNN (4 digit number)" for dynamic date calculation in variant variables?
    I need to set 4 digit number in the "DLFL to Change Date (Old ver: To Change date)" field but system only allow total 4 digit including +/-.   I'll be using the "Current date +/- ??? days" option to set date dynamically.
    In order to set deletion flag for PM orders older than 6 years, I need "Current date -2190".
    Or is there other way to set it as MONTH when calculating the change date?
    I'm using PM order initial archiving job whose report name is RIARCORV.
    Thanks in advance,
    Alex
    Edited by: Alex Kwon on Jul 16, 2009 2:44 AM
    Edited by: Alex Kwon on Jul 16, 2009 2:45 AM

    Alex,
    I dont think its possible to do the same using the variant functionality. You will have to do some workaround to accomplish the same by either using other fields like Order number.You could also look at enhancing the code implicitly in the RIARCORV program, if you are in ECC6.0 or above versions.
    Regards
    Narasimhan

  • Help required:Spool Creation for posted document in FB03 transaction

    Hi Experts,
    The requirement is like I have to send the PDF document to the user by mail once the document gets posted in SAP ECC. The posting is taking place by IDOC.
    The problem is how do i get the spool request for the document which is posted in ECC. It can be seen by entering document number in FB03 transaction but there is no smart form or SAP script or any Output type. The document is posted by IDOC.The client wants the PDF document excatly as seen from FB03 transaction. Please help as this is typical requirement i have never come across.
    Do let me know some of the user exits where in just after the posting i can write my code for spool creation. The idoc is using the BAPI_ACC_DOCUMENT_POST.

    HI
    In test mode i am able to view the document no. but not the reference document no and when double click on the document no i am not able to view the journal entry.
    Thanks.

  • Error during Variant Creation for a report

    hi,
    i'm trying to schedule a background job for the report MEREP_DISTRIBUTOR. it requires me to create a variant. i go to SA38 Transaction and try creating a variant.
    <b>"Maintain Variant: Report MEREP_DISTRIBUTOR, Variant Distributor" </b>Screen.
    When i give simulate, i get this error.
    <b>Simulate --> No Mobile ID found.</b>
    Can you help me solve this issue?
    Thanks and Regards
    Arun
    PS: Answers will be Rewarded.
    Message was edited by: Arun Kumar Ravi

    > Login in to your webconsole, under the
    > 'Administration' tab, press 'Add entry' button; which
    > will allow you to assign the componen to a user.
    at this point, i get a message  "Selected component type cannot be assigned\n"
    but when i see what components have been assigned,
      On All Devices    MI_ADMIN   ZMI0_EX1   01   Deployment with Next Synchronization    With Role Assignment    2005-12-29   19:14:23  
    ZMI0_EX1 - MCD Name.
    01 Version
    MI_ADMIN - User name.
    the above statement was a result of role sync from the ABAP server side.
    So, what's next?
    Regards,
    arun.
    Message was edited by: Arun Kumar Ravi

  • Dynamic Series creation for Plot Chart

    Hi,
    I am using a plot chart which takes data from an external XML file.
    Based on certain fields in the data, I create 3 different plot series.
    I use a Combo box to show different plot series based on the selected value from it.
    I am placing another Combo box
    How can do the below task:
    I need to create some dynamic series based on some node elements in the series for which the chart is currently shown.
    I create another Combo box to show the above generated plot series based on the selected value from it.

    Hi,
    I am using a plot chart which takes data from an external XML file.
    Based on certain fields in the data, I create 3 different plot series.
    I use a Combo box to show different plot series based on the selected value from it.
    I am placing another Combo box
    How can do the below task:
    I need to create some dynamic series based on some node elements in the series for which the chart is currently shown.
    I create another Combo box to show the above generated plot series based on the selected value from it.

  • Dynamic Variant creation

    Hi Folks,
    I have a requirement where-in i need to schedule report 1 in background from report 2.
    Report 1 has a selection screen which contains one select-option and variant for the same is created.
    Now i need to schedule report 1 in such a way so that the select-option that is created is automatically changed every time i have scheduled the report.
    Please let me know how is it possible to create a variant for report 1 so that the select-option is changed every time i schedule the report.
    Please note that report 2 will know the list of values to be used for select-option in report 1 (to be used for job scheduling).
    Also if there is any other approach of tackling this problem then let me know.
    Thanks,
    Imran

    Hi,
    With selection variant you can start a report with fixed selection values again.
    You need not use them for documentation. You are able to see the used selection screen in a job step.
    For time/date selections often selection variables are very useful.
    Perhaps in your case it would be a good idea to store the last selection value with each job start in a Z-table.
    Regards
    Walter

Maybe you are looking for