Variable values updation in table TVARV- for SCMA - very urgent..

Hi all,
Can anyone pass on the code or logic for udating the values of variables like
SAP_SCMA_FISC_YEAR
SAP_SCMA_PERIOD
or the variables I define like
Current fiscal year
Current period
The program should update the values for above variables based on system date, by the period end dates maintained in T009B table
Your help in this regard is highly appreciated
Thanks in advance
Kumar

Here you go !!
<b>FM  "UPDATE_TECHN_PERIODEN_ERWEIT"</b>
<b>FYI</b>
see the source code of FM "MCP_TECH_PERIODEN_GEN"
call function 'UPDATE_TECHN_PERIODEN_ERWEIT' "IN UPDATE TASK
         tables
              uw_t009b = mt_t009b
         exceptions
              others   = 0.
<b>Pl... award the points.</b>
Good luck
Thanks
Saquib Khan
"Some are wise and some are otherwise"

Similar Messages

  • To make a table available for maintanance(very urgent Pls!)

    Hi ,
    My requirement is .I need to create a Z custom table to which  some default values are to be maintained.
    My question is...
    1) what is the delivery class that i need to give while creating that Ztable?
    2) How to make it open for maintanence? Do i need to create a maintanance view for this???
    Please Let me know.
    Thanks in advance.

    Hello Sudha,
    1) The delivery class that you need to give while creating the table is Z.
    2) To make it open for maintenance, you need to go to utilities--->Table Maintenance generator
    In th table maintenace generator you will have to  assign an authorization group. Create a function group and assign it in the Function group and also give the Developement class/ Package
    Choose the maintenance type as one step
    After filling all this say create .
    Now the table is ready for maintenance through SM30.
    I hope this helps.
    Thanks,
    Kalyan

  • How to pass Temp variable value instead of Table name in From clause.

    Hi,
    I have an requirement to pass the Temperorary variable value instead of Table name in FROM Clause in SQL.
    But I am strugglint to pass this variable value.
    E.g., a Varchar2(5) := 'aa';
    Select * from a;
    Here I come to mention a - 'aa'. But the SQL looks for 'a' as Table. But its should look into 'aa' as Table name.
    Kindly guide me.
    Thanks.

    SQL> declare
      a     varchar2 (5) := 'emp';
      v     varchar2 (100);
      cur   sys_refcursor;
    begin
      open cur for 'Select ename from ' || a;
      fetch cur into v;
      while cur%found
      loop
        dbms_output.put_line (v);
        fetch cur into v;
      end loop;
      close cur;
    end;
    JAMES
    SCOTT
    SMITH
    ALLEN
    WARD
    JONES
    MARTIN
    BLAKE
    CLARK
    KING
    TURNER
    ADAMS
    FORD
    MILLER
    PL/SQL procedure successfully completed.

  • Need Fields KDAUF, KDPOS, BWART update in table GLPCA for movement type 633

    Hi All,
    I need following field update in Table GLPCA for movement type 633 (Consignment Issue):
    KDAUF : sale document no.
    KDPOS : Order Line Otem
    BWART : Movement Type
    The same fields are updated for movement type 601 (Standard order). Also I checked with Table MSEG and find the same as above.
    Thanks in advance.
    AT

    You should use the BAPI instead BAPI_GOODSMVT_CREATE
    of BDC.
    http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm
    Welcome to SDN. Please be sure to award points for any helpful answers and mark  your post as solved when solved completely.  Thanks.
    REgards,
    Rich Heilman

  • Need to update table from Maintenance view (Very Urgent !!!)

    Hi Abap Guru's,
    I got a requirement where in I need to create a new Zprog so that it shld give  a call to view v_abc and thru this view I need to update the table abc if any duplicate entries are entered then I shld popup a message.
    Cld u plz help me out how to go further with this requirement and any suggestions...
    if we create a table maintenance generator for the table abc then it will check for the duplicate entries are not ? if it checks for the duplicate entries then my job is done esaily but how to assign the zt-code to the table maintenance ?
    awaiting for u r answer's and realyy appreciated with lots of points.
    Regards,
    Ravi V Ganji

    Hi,
       table generator will check duplicate entries as any
       other table .
        table maintanance Generator is used to manually
        input values using transaction sm30
        follow below steps
       1) go to se11 check table maintanance check box under
          attributes tab
       2) utilities-table maintanance Generator->
          create function group and assign it under
          function group input box.
          also assign authorization group default &NC& .
       3)
        select standard recording routine radio in table
        table mainitainence generator to move table
        contents to quality and production by assigning
        it to request.
       4) select maintaience type as single step.
       5) maintainence screen as system generated numbers
          this dialog box appears when you click on create
         button
        6) save and activate table
       using sm30 you can create entries manually.
    also check below thread to assign transaction code to
    table generator
    Re: Table Maintanance Generator  
    create transaction use se93
    select parameter transaction and give below attributes
      Transaction code      ZTX1                                                                               
    Transaction text      Maintain View ZSDCZTVIEW                                                                               
    Transaction        SM30            Screen             0           
                                              From module pool                                                                               
    Name of screen field           Value                                
       VIEWNAME                       ZSDCZTVIEW                           
       UPDATE                         X

  • Recover Table in Oracle 10G - Very Urgent--Kindly Help

    Hi Guru
    I m using oracle 10G R2 in Unix. One of the user has unfortunately updated the table with wrong dataa aand hence we need to recover the table.
    Our DB does not have flashbaack databaase option on.
    For recovering the table using Flashback table point in time recovery, do we reqquire flaashback database option on?
    If so then how can i recover the table?
    Can i recover it theough RMAN??
    Kindly Advise.
    Thanks
    Ram
    Edited by: user448837 on Jan 8, 2010 5:55 PM

    I understand, but your post implies ("Because I have..") that you need to set a proper value for DB_FLASHBACK_RETENTION_TARGET for FLASHBACK TABLE to work and this is not the case.
    For example:
    SQL> ALTER SYSTEM SET DB_FLASHBACK_RETENTION_TARGET=1;
    System altered.
    SQL> CREATE TABLE TEST AS SELECT * FROM DUAL;
    Table created.
    SQL> ALTER TABLE TEST ENABLE ROW MOVEMENT;
    Table altered.
    SQL> SHOW PARAMETER DB_FLASHBACK
    NAME                                 TYPE        VALUE
    db_flashback_retention_target        integer     1
    SQL> SHOW PARAMETER UNDO
    NAME                                 TYPE        VALUE
    undo_management                      string      AUTO
    undo_retention                       integer     86400
    undo_tablespace                      string      UNDOTBS
    SQL> DELETE FROM TEST;
    1 row deleted.
    SQL> COMMIT;
    Commit complete.
    SQL> BEGIN DBMS_LOCK.SLEEP(120); END;
      2  /
    PL/SQL procedure successfully completed.
    SQL> FLASHBACK TABLE TEST TO TIMESTAMP SYSTIMESTAMP - INTERVAL '2' MINUTE; 
    Flashback complete.
    SQL> SELECT * FROM TEST;
    D
    X

  • Price limit for material -- very urgent requirement

    hi gurus,
    i m facing a prob., actually we want to assign a certain amount for a material and we ask our users to procure that material from any vendor, But they can not exceed that limit which we had defined  while creating the info-record and Purchase order.
    how could i do that.
    useful answer will be awarded..
    please reply soon.. its very very urgent.
    Thanks:
    piyush singh

    hi gurus,
    I m telling you my problem in more clear way:
    while creating a PO the value get updated from info-record, this value should be under certain limit so that the End-user can not exceed the material price after a certain limit in PO.
    if the End-user changes the info-record or creat the info-record with price exceeding that limit ,the syatem will pop-up a message and can't allow the end-user to save, and even if they get it saved.. then the system will not allow end-user to save the PO with that exceeding price.
    the scenario is as follows:
    we fixed a price limit some-where for material Xand ask our end-user that you can buy the material X
    from any of the vendors. they whether then go to creat new info-record or change the existing info-record.
    THEN,
    the system can only save or change the price in info-record under the defined limit, if exceeding the system will not get saved the info-record.
    OR
    If he succedeed to save the info-record with the exceeded value, Then this changed price will get pop-up while creating PO , but if the value of the PO foe material X exceed the limit which we had defined for that material X the system can't save the PO.
    Where will i set this Limit for Material X.
    Thanks:
    Piyush Singh

  • Stale Date Error in Advance Table...Its Very Urgent

    Hi All,
    I am getting stale data in Advance Table Regions. I am having to buttons, if I selected button1 it shows one advance table region (with show All and Hide All options) it is showing correct data in the details view.
    If I select button2 and new advance table will be shown (with show All and Hide All options) and here if I select show all then I am getting stale data. For both advance tables I am using same two VO's (HeaderVO & DetailVO) but the Viewlinks are different.
    For your reference below is the error.
    Cause:
    The number of displayed records, 8, exceeds the actual number of records, 1, in view object NetAppsProjCreationAM.ProjectLinesVO1_ProjectErrorVL_ProjectLinesVO. Some of the displayed records may have been deleted.
    Please any one of you guys help me out in this issue, this is very urgent!!
    Thanks in Advance.

    Then it should work, can you check by putting debugging messages that your VO query is fetching rows properly?Also make sure that all transient columns attributes in VO wizard are not marked selected in query!
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Update Equipment BOM using Function module (very urgent)

    Hi All,
    I am an ABAPER and trying to update equipemnt BOM.
    I want to update equipment BOM using a function module. I am currently using 'CSAI_BOM_MAINTAIN' function module. But i am not able to update the Equipment BOM. After function call the sy-subrc value is 0, even though the BOM is not updated.
    Please help its very urgent.
    Kind Regards,
    Sharat.

    Hi Sharat,
    I am facing the same problem. Could you please let me know what might be the reason.
    Plz mail me at [email protected]
    Plz update this section once u have mailed the answer.
    Thanks a lot in advance.
    Regards,
    Himanshu

  • Regarding value updates in Table V_T559D

    Hello,
    Can you please let me know, how to update a value in table V_T559D.
    The scenerio is like this :- We have to update the expiry of probation under no of deduction in Table V_T559D(Deliminate validity and deduction periods).
    Plz explain me the steps how to do this.
    rEGARDS

    Hi,
    Goto SM31, write V_T559D in the table/field.
    When the entries come to screen double click the one you wanna change and make the necessary modifications.
    Is this what you're asking for ?
    Regards,
    Dilek
    Edited by: Dilek Ersoz on Dec 18, 2008 7:44 AM

  • Default value updation in table

    Hi,
        I want to update default value 'X' in ztable field through report.How to set the field value always containing X only.

    Hi Anitha,
    Can you a bit clarify your question ? - I understand if the ZTable field value is 'X' you need to update it right ?
    Then , fetch the entries of the tables for which the field values is 'X' and modify the field value as per the business requirement and update the same table. You can use the work areas while updating the ZTable.
    Thanks,
    SK

  • What is SAP standard program to delete values in the table HRPADPM for ECM?

    Hi Experts,
    I have problem of inconsistency between HRPADPM and infotype 0759. I want to make this consistent, how do I do that? if not, how do I clean up the data of these tables?
    Thanks,
    Anthony

    Hi,
    I'm afraid in standard SAP do not have such report.
    As a workaround you could try the following: The correction would consist of the following steps:
    1) remove the link between the budget and the IT0759 in the IMG step "Assign Compensation Review Item Attributes"
    Here you will need to remove the "Budget Type"
    2) Then you should delete the IT0759 records for which the budget was not updated (revert the process completely, this means that if the status of IT0759 is "active" you will need to check IT0008 also)
    3) next step will be to reset the link removed in step 1) betweenthe budget and the IT0759
    4) create new IT0759 records as initially intended
    Please note that you should try this in a test or development system first and check if everything worked well before using it in the production system.
    Hope this help
    Sarah

  • Creation of SO based on the input in table format  for bulk data : urgent

    Hi,
    The data from an external system will be sent to SAP in a bulk format and also as a Table. i.e. they are going to send around 30 Purchase orders from external system . I need to fetch all of them at a time and create SO for each one .
    Hence, anyone please provide a work around for the same.
    shyam

    HI Shyam
    Proceed as below:
    1. Identify the file layout like how it is going to be for multiple items.
    2. Upload the data to an internal table:
    3. Loop at internal table
    4. Populate the data required for BAPI structures
    5. AT END of PO number call a BAPI to create a Sales Order.
    Make sure you are clearing/refreshing the structures/internal tables for BAPI.
    Regards
    Eswar

  • (Smartform)check box display in a table....very urgent

    Hi..
    i inserted check box by going to <b>sap symbols and inserted check box</b> but i am unable to see print preview and also in the printout.
    Can any one tell me how to insert check box in a <u><b>table.</b></u>
    your help will be appreciated.<b></b>

    Hello,
    As discussed earlier in many posts, it is better you load a graphic for Check box ( Checked and Empty ) is Tx SE78. You can create .bmp files for the same in MS paint.
    In a table node in the SSF, every line in the table will be accessed once in a loop. So you create an alternative node to check the condition when your Check box is to be checked or empty ( may be based on some field data in the work area). Then you call the necessary graphic ( Checked check box or a empty check box ). A Graphic node is to be created under the alternative node. Do remember to place the graphic in appropriate Line and Cell in your table by giving proper output options.
    Hope this helps you.
    Best Regards, Murugesh AS

  • HTTPS mode for OC4J - Very Urgent

    Hi,
    I am trying to implement HTTPS mode with OC4J for our internal application. The Server Configuration and how I tried to implement is detailed below.
    The Server Configuration :
    Operating System     :     Linux 7.1
    Java Development Kit     :     j2sdk1.3 with j2sse 1.0.3
    Web Server          :     Oracle9iAS Containers for J2EE (OC4J) OC4J build# 020712.1645.
    The command for generating the CSR (for test certificate from Entrust)
    1. keytool -genkey -keyalg "RSA" -keystore keystore -storepass 123456 -keysize 512
    2. keytool -certreq -keyalg "RSA" -file gisl-dev -keystore keystore
    I had generated a CSR from the server and submitted the CSR online for a test certificate. On submission freecert.entrust.com had issued the web server certificate and the CA certificate successfully.
    After this I tryed to import the Web Server Certificate with this command:
    3. keytool -keystore -keyalg "RSA" -import -trustcacerts -file gisl-dev.cer
    I am getting an error:
    keytool error: java.security.cert.CertificateException: Unsupported encoding
    Is there anyway to come out of this problem, I think I can use Apache Server and tunnel the request for OC4J through Apache. But the sad thing is that I don't know how do it.
    Please help me out to solve this problem

    1/ try to add a LF to your reply certicate. (there is a bug on keytool import)
    2/ Also you need to check if your CA provider certicate is known on cacerts file. If not you need to import it.
    Hope this help

Maybe you are looking for

  • Jalbum Gallery Dreamweaver.

    hey guys hows it going. My last post was about an easy and user friendly way on how to create a photo gallery for a photography website, at the time i was using adobe bridge but nancy had sugested me to download Jalbum. i have recently just got the f

  • How do I view videos from links?

    Hello all, I am a new mac user. I just got a Macbook Pro and I have a question. On my pc I used to be able to right click and download a link from a website, and then watch it. When I have tried to watch movies on my mac it comes up as a document of

  • Problem doing a re-install of photoshop premiere 8

    I had a problem with cursors in photoshop elements and was advised (incorrectly) by adobe support to uninstall my products and reinstall. I did that with photoshop elements 8 and was successful. When I try to install premiere by double clicking the i

  • Xcode error

    Whenever i try to build and go in Xcode and i have Device 2.2.1 selected it gives me 3 errors. 1.Line Location Command /Developer/usr/bin/distcc failed with exit code 255 2.distcc[64560] ERROR: compile /Users/test/Desktop/iphone projects/Camera/Class

  • FileDialog..urgent ..please

    I have added a FileDialog component( mode is LOAD) to my Japplet.... and I want to perform some function when the Open button in the Filedialog is clicked..say for example print a line..how do i capture the button click of the Open button in the File