Question related to work area

I have a work area of the format yyyymm. I want to transfer first 4 digits to another work area which is like year and the next 2 digits to another work area which is like month? Can you suggest me a sample code here?
Thanks,
Krishen

Hi Krishen,
U can achieve this by Splitting of a variable(date YYYYMM in the work area) into two or more variables .. using the OFFSET concept given by SAP ....
here goes ...
Data : var1(4) type c, "year
       var2(2) type c. "month
U have the date in the work area as YYYYMMDD lets say ... date = YYYYMMDD
now u have to assign the data to the variables ....
var1 = date+0(4). "YYYY
var2 = date+4(2). "MM
The above means
u are assigning the first 4 characters (YYYY) of the variable DATE to VAR1
and the next 2 characters starting from 'M' (MM) to VAR2
thats one of the way how u split the work area into two or more ........
Cheers ....................
Kripa Rangachari

Similar Messages

  • Question related to business area

    hello ,
               can u tel me  what is business area and why we assign it with sales area....

    Hello,
    Business Areas in SAP are used to differentiate transactions originating from different points/lines/locations in business.
    As per SAP, The intergration of Sales are to Business are help in:-
    You can charge the amounts that arise from the business transactions of several sales areas to one business area.
    You can assign a business area to a sales area and charge the amounts that arise from the business transactions of the sales area to this business area.
    Once you assign the business are to sales area:-
    The system then finds the corresponding business area for account assignment using the sales area for:
    Revenue postings
    Value postings due to material movements
    Regards,
    SAM

  • Work area creation issue -reg

    Hi,
    When i am creating an work area the below mentioned error is coming after  entering all relevant details like work area type , authorization group etc...
    error :
    You have not specified an object key
    Message no. D9364
    please help
    regards,
    madhu kiran

    Dear Madu Kiran,
    Ensure you have the below settings in your system.
    1) Number ranges
    0I    > 00000000000000000001 89999999999999999999
    0E    A                                     ZZZZZZZZZZZZZZZZZZZZ                 X
    2) User exits
    Environment, Health & Safety> Basic Data and Tools> Basic Settings>  Manage User Exits
    UExit Cat            >       UExit name      >        Function module name
    WKA_EPIDR     >         EPI_DEREF   >      CBIH_WA05_ENTRY_DEL_REF
    WKA_QUERY   >     WKA_EXP         >      CBIH_WA15_WA_FIND_BY_EXP
    WKA_QUERY    >    WKA_HEAD       >     CBIH_WA15_WA_FIND_BY_HEAD
    WKA_QUERY    >    WKA_IOJ            >     CBIH_WA15_WA_FIND_BY_INFO
    WKA_SCATCH  >    WAHID               >      CBIH_LB10_WAID_CHECK
    IHS_COPY         >   WKA_COPY       >      CBIH_WA16_ENTRY
    IHS_ENTRY       >    WKA_ENTRY     >     CBIH_WA00_ENTRY
    IHS_WAHEAD   >    WKA_HEADER  >     CBIH_WA03_ENTRY
    IHS_WANAM      >    WANAM_HELP   >    CBIH_LB10_WANAM_HLP
    and also follow the IMG documentation to check other user exits related to work area.
    3)  Status profiles:
    Environment, Health & Safety>  Industrial Hygiene and Safety>  Basic Settings  Status management>  Activate Status Profiles
    Ensure all are active
    Typ  >   OTy > StatProf    >     ASP
    WKA > E5 > EHS_WKA1  >    u221A
    ACH  > F1 > EHS_ACH1  >    u221A
    ERI  >  E6 > EHS_ERI1     >   u221A
    FAL >   E7 >EHS_FAL1    >   u221A
    IAL   >  E8 > EHS_IAL1      >   u221A
    IAP   >  E9 > EHS_IAP1    >     u221A
    QTY>    F3 > EHS_QTY1   >    u221A
    SUB>  E1 > EHS_SUB1     >  u221A  
    Let me know if problem still persists
    Regards,
    Srinivas Nookireddy

  • I have a question related to patch download using ftp which was working in

    Hi,
    I have a question related to patch download using ftp which was working in Classic Metalink.
    ftp updates.oracle.com allowed to download patches before but now it says the following.
    $ ftp updates.oracle.com
    Connected to updates.oraclegha.com.
    421-*********************** Downtime Notice ************************
    421-
    421-This service was retired as of November 06, 2009.
    421-
    421-****************************************************************
    421
    Is there a way to download patches now using command prompt. I couldn't see category for metalink in forums hence posted here.
    Regards,
    Nagendra Chillale

    Enter the following command where username and password are your My Oracle Support login and password and filename is the patch file name that you copied from the Properties window::
    wget http-user=username http-password=password no-check-certificate output-document=filename "http://updates.oracle.com/Orion/Download/download_patch/<filename>"
    For example, to download patch 7154429 for Linux where the patch file name is p7154429_10204_Linux-x86.zip, enter:
    wget http-user=[email protected] http-password=password no-check-certificate  output-document=p7154429_10204_Linux-x86.zip "http://updates.oracle.com/Orion/Download/download_patch/p7154429_10204_Linux-x86.zip"
    My Oracle Support FAQ ID 747242.5
    Regards,
    Nagendra Chillale
    Edited by: user12023326 on Dec 16, 2009 11:43 AM

  • What is the relation between object work area (EH&S) and Work Center (PP)

    Hi gurus,
    I have a conceptual doubt, about the relation when I clasify like work center an object WA of IHS and how this feature is asociated at object work center of module PP?
    Conceptually is the same?
    Thank and Best regards

    Hello Hernan
    the Work Area is defined as: take a look here
    http://help.sap.com/saphelp_47x200/helpdata/en/1f/ea8e69e09311d3b5700004ac160be0/content.htm
    Therefore there is a link available between work area, plant and cost center.
    Work Center is defined as: take a look here:
    http://help.sap.com/saphelp_46c/helpdata/en/b1/c03424439a11d189410000e829fbbd/content.htm
    Work centers are business objects that can represent the following real work centers, for example:
    Machines, machine groups
    Production lines
    Assembly work centers
    Employees, groups of employees
    To my knowledge there is no "direct" link between these objects.
    Further on on the level of the Work Area (to my knowledge) you define: which employee etc. is linked  to the work area ((is working in the work area).
    So to my knowledge there are a number of "indirect" links between both objects but no direct link
    With best regards
    C.B.
    PS: http://fuller.mit.edu/ehs/ind_hygiene_safety.htm provides a further small overview of the Work Area Topic (EHS IHS)
    Edited by: Christoph Bergemann on Nov 15, 2011 8:53 PM
    Edited by: Christoph Bergemann on Nov 15, 2011 8:55 PM

  • I have just owned a macbook pro and trying to learn things since i have all along used windows laptop. My first question is : when there are two files i am working together, one above the other on screen, how you switch over between the two with key ?

    I have just owned a macbook pro and trying to learn things since i have all along used windows laptop. My first question is : when there are two files i am working together, one above the other on screen, how you switch over between the two with key ?

    Hi...
    Mac OS X keyboard shortcuts
    Control-F4
    Move focus to the active (or next) window
    Shift-Control-F4
    Move focus to the previously active window
    By the way...  since you are new to Mac, click a clear space on your Desktop. You should see "Finder" top left corner of the screen in the menu bar.
    Click Help then click Help Center
    As an example type in    keyboard shortcuts
    You can use the Help menu for almost any application on your Mac.
    Apple - Find Out How - Mac Basics
    For held switching from PC to Mac >  Apple - Support - Switch 101

  • PhotoshopCC-work area question

    IS there a way to turn off the work area in the background?
    I like to see the finder, not a blank area behind open windows.

    In photoshop cc go to Window and turn off the Application Frame.

  • How to make site root-relative links work in DW and Server both?

    See details on buggy DW image link behavior, below. My question is:
    1) how to make site root-relative links work in DW and Server both? Or…
    2) how to reliably automate the change of several hundred legacy root-relative links of the form
    /images/image.jpg  to document-relative?
    That is, to
    ../images/image.jpg or
    ../../images/image.jpg or
    ../../../images/image.jpg etc…depending on where the directory is.
    The old format (/images/image.jpg ) used to work fine in my previous DW 8 configuration but appear grey in DW after “upgrading” to DW cs5.5 mac. (they look fine on the server, but it’s hard to edit image-heavy pages locally when they are all grey).
    I tried changing the files to how DW creates root relative links now:
    /public_html/images/image.jpg, which is a very easy, attractive root flow since there’s a one-to-one mapping. These look great in DW but are broken on the server!
    I looked at the “advanced” site setup, and it looked like it might be possible to nuke the /public_html/ part of my server info…but it also looked like there was the potential for doing damage changing these settings, which are automatically generated from our server connection settings, which seem to work.
    The “links relative to document/ site root” toggle…does that change how DW interprets existing links, or just change the default when you are adding a link?  I have made 80% of the file links document relative…before wondering if root-relative isn’t better?
    It sure seems less ambiguous for all those images if theres a way to make root relative work for DW design view, DW link check, and server.
    Summary of buggy behavior: (see test with images here)
    "old style" site root link
          /images/img_book/WScover120x150_NEW.jpg
          Design veiw in DW: broken (grey w/ broken icon)
          Link check in DW: "external link" (i.e., uncheckable, + file could appear orphaned)
          Browser: good
          Ease of switching: n/a (existing format)
    "new style" site root relative link
          /public_html/images/img_book/WScover120x150_NEW.jpg
          Design veiw in DW: good
          Link check in DW: good
          Browser: broken
          Ease of switching: easy
    Document relative link
          ../../images/img_book/WScover120x150_NEW.jpg
          Design veiw in DW: good
          Link check in DW: good
          Browser: good
          Ease of switching: hard (how to automate?)
    Absolute link
          http://www.oasisdesign.net/images/img_book/WScover120x150_NEW.jpg
          Design veiw in DW: broken (grey w/ broken icon)
          Link check in DW: external (i.e., uncheckable, + file could appear orphaned)
          Browser: good
          Ease of switching: n/a...not a real option
    Thanks!
    Similar discussion on "/"

    Hello again Jon!
    Thanks for jumping on this.
    All clear and understood about where publc_html is etc.
    No contemplation of nuking the actual public_html directory on the server, just the "/public_html" text string at the start of the DW-generated links.
    "/public_html" is automatically added to the front of the link in DW if I create the link with any of the GUI tools, if I have "site root relative" selected. And ""/public_html" ends up in the code, and gets uploaded that way to the server, where it (obviously) doesn't work.
    Doesn't sound like it is supposed to work this way. Also, what seems to be the usual root relative format (/images/image.jpg) shows as a broken link in the GUI and an external link in the DW link check. All this togther makes me thinkI have some obscure setting incorrect?
    The setting that caught my eye is manage sites/ site setup/ advance settings/ local info/ web url,  which is automatically set to http://www.oasisdesign.net/public_html/
    it gives an option to change it but it makes every effort to make this NOT look like something users should mess with:
    Having gone through the more careful thought process during this post, I'm ready to do the experiment of changing the remote server web URL (why is it wrong by default?)...think I'll eat dinner first so there's 45 min to avert disaster if anyone knows this to be a bad idea!
    Art
    PS--don't  have a local testing server...don't think this will solve the GUI broken link/ link shows as external problems.
    Is there an easy, automated way to change links sitewide from document to root relative?

  • Change Background Color Of Work Area

    I am a user of Acrobat 8 Professional and just loaded Acrobat
    9 Professional. Does anyone know if you can change the background
    color of the work area (documentation pane and navigation pane ).
    When I view a PDF the document is ok but the background color of
    the navigation pane and documentation is black.
    Is this the new look for Acrobat 9?
    Is there a way that I can change the color?
    I have searched Acrobat>Help and
    Acrobat>Support>Knowledgebase and find nothing.
    I would appreciate any help I can get.
    Ted

    Thank you for your post. These forums are specific to the
    Acrobat.com website and its set of hosted services, and do not
    cover the Acrobat family of desktop products. Please visit the
    following forums for any questions related to the Acrobat family of
    desktop products:
    http://www.adobeforums.com/cgi-bin/webx/.3bbeda8b/
    Note: The color scheme of Acrobat 9 cannot be changed.

  • Question related to concept of PCK

    Hi All.
    I am quite a newbie to XI and am only learning it thru online help. I have one conceptual question related to PCK.
    My understanding is that PCK is needed by a small business company to communicate to its larger partner which already has XI running. Correct me if I am wrong here itself.
    Now if the larger business partner already has XI, why does the smaller one need a PCK at all? The XI instance on the larger partner will have all the necessary adapters to understand any format send by the partner. So even if the partner(smaller) sends any format- be it IDOC/HTTP/FTP, the XI instance on larger partner will have its adapters ready to perform the conversion.
    Then why is this PCK needed at all?
    Thanks in advance. Hope my query is clear
    Regards.
    Samant

    Hi Samant,
      Your question is a very good one, Though I have not worked on PCK, I can share my ideas based on some brain storming session I had with our collegues & business partners.
      While executing projects, there are technical & operational issues. For example, when you access any HR related data of a UK based organisation then all those who work on that project have to undertake data security pledge. Like wise there are many constraints on data & system accesses, which vary across organisations.
    When you use PCK*, irrespective of different systems what the small vendors have, you communicate with your Big company's XI system only on the XI's msging protocol http(s)/SOAP. This allows a fair amount of ownership of data/access related issues to the small partners.
    -> you go for PCK, when there is no need for small vendors to go for XI.
    Hope this is of some help. As Michal said there might be much more (or even better) reasons.
    Michal, when you say "all of the mappings and transformations have to be on the small company side", what exactly you mean by this. can you please eloborate.
    Thanks & Regards
    Vishnu

  • Question related to Synchronous update

    Hi, all
    I have some question related to synchronous update:
    1. What is the syntax if I want to write synchronous update.
    Do i write as:
    call funcition A in update task
    commit work and wait
    Or just
    call function  A (A declared as update type function )
    commit work and wait
    Or ...
    2.If we use synchronous update, is VBHDR,VBDATA still filled the same way when using asynchronus update?
    Thanks in advance,
    Liming

    Hi,
    Why do we use this " In Update Task " ??
    The main update technique for bundling database changes in a single
    database LUW is to use CALL FUNCTION... IN UPDATE TASK.
    How do we Use ??
    A typical R/3 installation contains dialog work processes and at least one update work process. The update work processes are responsible for updating the database. When an ABAP program reaches a COMMIT WORK statement, any function modules from CALL FUNCTION... IN UPDATE TASK statements are released for processing in an update work process. The dialog process does not wait for the update to finish. This kind of update is called asynchronous update.
    What is the Use... ??
    Asynchronous update is useful when response time from the transaction is critical, and the database updates themselves are so complex that they justify the extra system load

  • Question related to project performance management

    Hi,
    We have implemented peoject management and project accounting module with Grants module for one of the semi public sector client. Now we are planning to enable project performance repporting.
    I assume below things
    1. If Grant is implemented, Project budgeting doesn't work
    And
    2. project performance reporting based on project accounting,project budgeting and project management modules.
    If anyone of you have done similar requirement , Please let us know the approach your approach.
    Thanks in advance
    Praveen Javvaji

    Duplicate post -- question related to project performance management

  • Question related to project performance reporting

    Hi,
    We have implemented peoject management and project accounting module with Grants module for one of the semi public sector client. Now we are planning to enable project performance repporting.
    I assume below things
    1. If Grant is implemented, Project budgeting doesn't work
    And
    2. project performance reporting based on project accounting,project budgeting and project management modules.
    If anyone of you have done similar requirement , Please let us know the approach your approach.
    Thanks in advance
    Praveen Javvaji

    Duplicate post -- question related to project performance management

  • I forgot my Apple ID password and I can't reset it because my email account has been closed and the security questions don't work

    I Forgot my Apple ID password and I can't reset it because the related email account has been closed and the security questions don't work! How do I solve this? Thank you.

    Click here and contact Apple.
    (113292)

  • How to fix an error  (related to work schedule rule) in Time evaluation ?

    Hi experts,
    I am getting an error while running time evaluation - PT60.
    Find the log
    Log:TimeEvaluation                                                                                General data                                                                       
    Schema ZM04 Time Evaluation Without Clock Times
    00753402 Christoudas Natalie
    Customizing error in work schedule rule 1 VM 01 5MTWTF Person rejected: 00753402
    How to fix it? Its urgent.
    Be assured of points for useful answers.
    Rajesh

    Hi All,
    I have checked work schedules and work sc. rules. everything looks fine. Reason being fine, same work schrdule rule, i.e. 5MTWTF is used for other employees, whose payroll area, personnel area, personnel subarea, employee group and employee subgroups are same.
    Why it is throwing error for one employee 753402.
    I am providing you more information. In table V_T569r, if u select recalculation category as time evaluation, it is mentioned as 01.01.2003. Initially, one action called "Conversion take on" has been maintained as on 01.03.2002, where employee had payroll area -99 (payroll irrelevant) and personnel subarea - DAYY.
    Then on 17.03.2008, another action ran "Conversion initial reassignment" where payroll area changed to "MT - monthly", subarea changed to DAYF. At that time PDC recalculation date in infotype 0003 was 01.03.2002 which was before recalculation date, i.e. 01.01.2003.
    Time evaluation was throwing 2 error messages. one was solved by changing PDC recaluation date to 17.03.2008. But other error related to work sc rule 1 VM 01 5MTWTF still occurs. 
    Can some body now provide some useful information?
    Thanks
    Rajesh

Maybe you are looking for