Option Special functions - Delete char. w. vals is disable

Hello Experts,
I am trying to remove characteristics assignment from class, but it is not allowing me to do so.
And asking for use option "Special functions -> Delete char. w. vals " , but option is disabled when I open class data with change mode and select characteristics to be deleted.
Query 1 : How to enable this option?
Another option, to run report 'RMCLMDEL' to remove characteristics assignment from class, but I would like to know
Query 2 : is there any precaution to take before running this report, will running this report have any inconsistency.
Thanks in advance
Thanks,
Sam.

Hi Samir,
Kindly check the values maintained in dependancies , first remove those. Also remove the characteristics from all the classes wherver used. Then you will be able to delete it.
Hope this will resolve the query.
Regards,
Ravindra

Similar Messages

  • Both the 'delete' button and in the menu options do not delete messages but change them to unread. How can I remedy this?

    The delete function seems to no longer work in Thunderbird. Both the 'delete' button and in the menu options do not delete messages but change them to unread.
    I have tried to fix it by deleting the trash / deleted files as suggested in another thread but it made no difference. The delete key still works to delete things outside of Thunderbird (including here for example).
    I have not uninstalled / reinstalled. I have rebooted a couple of times and it hasn't made any difference.
    I did go through and delete a huge number of old emails a few days ago, but I have cleared out the Deleted folders and it made no difference.
    All suggestions appreciated.

    Right click on any of the other right panel headers  in Slideshow module to open the context menu. You should be able to reactivate the Options panel from there.

  • Pro forma invoice from a Delivery Output using "8 - Special Function"

    SAP Gurus
    I am interested to create a proforma invoice for a delivery that is created in the system using VL01N. I am using an option to use the Delivery output to be allow creation  of the pro forma invoice. I created a new output type and assigned 8 - Special function as the medium of the output.
    I managed to find a BAPI that serves this purpose perfectly. Please look at BAPI_BILLINGDOC_CREATEFROMDATA. Enter the following Parameters.
    In table BILLINGDATAIN insert one line with the following data:
    ORDBILLTYP = ZFDP
    REF_DOC = Delivery number
    REF_DOC_CA = 'J'
    The BAPI when it runs on own, creates the required pro forma invoice. But when it is attached to the output type to be triggered as a special function, does not work. What kind of routine should I enter in the processing routine.
    Program on output screen is ZFDP_BAPI
    Form Routine is ENTRY
    there is a routine maintained inside the program ZFDP_BAPI called "ENTRY"
    Inside the subroutine ENTRY, the BAPI_BILLINGDOC_CREATEFROMDATA is invoked.
    Please advice.
    Thank you.

    Hello
    Thanks for the reply. Earlier when I was using the BAPI BAPI_BILLINGDOC_CREATEFROMDATA, The BAPI used for the output type did not work as it uses u2018Commit Worku2019 statement and it interferes with the u2018commitu2019 of standard program. Due to this reason the transaction dumps every time.
    Are you performing the output with dispatch time '4' ? - the answer is yes, I am.
    Just double -checking with you that if you decide to use Use BAPI BAPI_BILLINGDOC_CREATEMULTIPLE and call it in background task, do you think that the we can get past this issue short dump issue? 
    Thanks

  • Special function in output type

    Hi Sap Gurus,
    I am using special function ( 8 ) as medium of sending in my output which is defined for delivery.
    If i try to process this output with dispatch time 3 ( Send application with own transaction ) its getting processed.
    But if i try with option 4  ( Send immediately --at time of saving ) its giving an error.
    Is there any standard SAP note or any pointer to solve this error
    Thanks and Regards,
    Abhijeet

    Hi,
    Use
    You can process a message immediately by updating the application document or you can process it at a later time. For later processing you must use the report program RSNAST00 or a corresponding application function.
    The individual possibilites are:
    Time 1: The message is processed through report program RSNAST00. This report program can be scheduled periodically or started manually.
    Time 2: As in time 1, but the message contains an earliest processing date and a requested processing time. The message is ignored by report program RSNAST00 before the requested date.
    Time 3: The message is selected and processed by application specific programs. Processing can take place online or in the background.
    Time 4: The message is processed when the application document is saved. No further processing of the message is necessary.
    Kapil

  • Satellite U840W/001 W8 Fn+Z not working in Special Function Key Mode

    Hi,
    I realised that the Fn+Z does not work when my Special Functions Key mode is on i.e: when I can control the volume by just pressing F9 without pressing the Fn button.
    However, when the Special Function Keys Mode is off (& I have to press Fn with the F# buttons to control the volume), only then does the Fn+Z switch the keyboard backlight on & off.
    When I open my function key program, the only option available is to either switch the notification settings on/off. There's no timer control or anything useful on it.
    My BIOS does not have any keyboard backlight setting, only the option to use the normal Fn+F# or to use the special function key mode.
    Please help me.
    Thanks

    >I realised that the Fn+Z does not work when my Special Functions Key mode is on i.e: when I can control the volume by just pressing F9 without pressing the Fn button.
    Hmm in my case using Windows 7, the Fn + Z works even if the Special Functions Key mode is enabled. But I cannot say for sure how it works running Win 8
    On Satellite U940 with Win 8, the Fn + Z works properly too (Special Functions Key mode ON)

  • Satellite L850 - Special function key not working properly

    Hi Everyone,
    I had Satellite L850 (pskg8a-07f001) running windows 8 64 bite for just 2 months.
    Just within this week, the special function key not working, each time I start the pc, i have to go into toshiba desktop assist then function key then click ok, it will working.
    But the touch pad has been set as enabled, also under keyboard setting has been set as special function mode. But don't know why each time start the pc have to go into function key box then click ok.
    When I bought it everything is ok, i can use the special function key to turn up and down the volume and disable wireless...etc
    Please advise. Thks a lot!

    Take a look here:
    Function key changes in Satellite and Qosmio 800 series
    http://aps2.toshiba-tro.de/kb0/TSB2903E00000R01.htm
    You can use the traditional FN + F key mode or just an F key mode.
    This can be enabled and disabled in BIOS or the HWSetup
    In BIOS go to Advanced -> System configuration -> Function key mode
    This mode can be changed
    Also be sure that Function Button option is enabled too

  • DTS, Substition Variables, Special Function?

    I am in the process of creating dashboards using the latest version of analzyer. However, I am relatiely new to Hyperion Products and I would like to find a way to get essbase to display the most current week, most current 6 weeks, and most current 8weeks with out me having to manually go in analzyer and change the weeks every week. I also dont want to have to go to our outline and changing our Current week, Current 6Wk or Current 8 Wk members every week (ie manually change what member weeks roll up in their parent). Is there ANY way to automate this process. Perhaps using some special function? Any help would be greately appreciated. Again Iam relatively new to Essbase products but Iam learning alot as I go<img src="i/expressions/face-icon-small-smile.gif" border="0"><BR><BR><BR>Best Regards,<BR>Benjamin M Hoffmeyer<BR>[email protected]<BR>(361) 693-3679

    Could you use substitution variables for CurrentWeek, Week1 etc?<BR><BR>Another option is aliases on your time dimension and updating the aliases every week to move them along one member.<BR><BR>Both of these options can be automated using maxl/esscmd.<BR><BR>Hope this helps.<BR>

  • HP Pavilion Laptop; Only Special Function Keys are Working

    I got my first HP laptop, a HP Pavilion 17-e049wm Notebook, refurbished a few months ago when my original quit out. Until recently, I've been more than happy with its performance. However, a few weeks ago the keyboard started acting both weird and also not working. I'll try to provide as much information as I can, and thank you in advance for your assistance!
    Circumstances before the event:
    -The night before, my keyboard worked one hundred percent fine. I played some games and went to sleep with it closed and hibernating like I always have. The next morning, I took it up with me to play music as I showered. Before I'm accused of water-damaging it, my laptop was very far from shower, so no direct water contact occured, and also we shower with the door open, so there was no build up of steam or humidity that could've done it that couldn't be present in any other situation. I knew that it worked that morning, as I must have logged in to play my music. After closing it and bringing it to my car (without drops or any other jarring), I learned a few hours later that my keyboard had stopped working. 
    -My house doesn't have internet and I havn't recently installed anything, so it's doubtful that some kind of software did it to me.
    What the keyboard does(n't do): 
    -Almost every key doesn't work. The letters, esc, enter, shifts, fn, numberpad, caps lock, etc. I've tried them each, and none work.
    -There are two exclusions to the above statement:
         -The 'special' function keys; All of the keys that share space with my function keys work fine. So my mute, pause, change display, brightness controls, help shortcut, airplane mode, etc. work. So everything from F1 to F12 work.
              -Before anyone assumes that my fn key is stuck or something, the special part is the default. On my keyboard, you hold down the fn key to do the normal fn key functions (f11 skips to the next song, fn+f11 does fullsrceen).
              -Also, I'm not sure if my 'normal' functions work. I tried holding fn on this USB keyboard and then the f# keys, but the 'special' function still is the one that works. However, as I have no control, I don't know if that would have happened anyways.
         -The second exception, which makes me doubt that it is a hardware problem, is that if I hold 'X' and 'C' at the same time, the brightness lowers, as if I tapped my f2 key. Each of those do nothing on their own, but when pushed together, they act identical to the f2.
    -Another thing is that my ported keyboard's caps lock indicator light still shines when either the USB or on-screen's caps lock keys are used.
    What I've tried:
    -Turn it off and back on
    -Turn it off, take out battery, hold the power button, wait, turn on with/without battery
    -Uninstall keyboard driver, restart
    -Summoning a demon 
    -Tried to update driver (can't, up-to-date)
    -Check status through device manager (claims that it's running fine)
    I've basically tried everything I could find that seemed relatively useful from browsing the forums, but it's on my third week keyboardless, nothing works, and I'm so tired of using my girlfriends pretty, sparkling and bedazzled, purple USB keyboard from her days in middle school. If nothing works, I'll have to resort to the system resets and lose applications and my files, which would be a mad bummer yo.
    Thank you again for your help, internet. 

    @cbowman08 ,
    Hello and thank you so much for posting on the HP support forums. Now please I am not stating you have done anything wrong in any way.  This kind of thing happens all the time. 
    You do not need a bunch of steam to cause an issue with water for one thing.  
    Inside your notebook is a huge differential in temperature zones.  If you take a notebook into a shower room even if your water is slightly above room temp there is ample moisture in the air. 
    Air has to travel and if your notebook was on the counter and it is between your shower and the door, any moisture in the air gets to get heated way up and then gets to cool way down and gather on the little metal bits in your notebook.  
    It only takes one drop of water the size of a pin head to bridge a connection and cause a short.
    I hope this is not the case.  I am hoping that the connection cable for your keyboard has come loose.
    So to see if this is just a loose connection instead of a bit of moisture causing the issue here is a link to your maintenance guide,
    Maintenance and Service Guide
    This will show you have to get your system apart to check they keyboard connection.
    As well here is a link to how to gain access to the keyboard and its connection.
    HP Pavilion 17 Replace Keyboard HDD SSD Ram New Model Laptop.
    Check to make sure the keyboard cable didnt just come loose.  Very easy fix.  If it is connected and nothing is loose then you are looking at a replacement keyboard or if the board did get some moisture on it from condensation then you will need to have it sent in for repair.
    If that is the case you will want to contact phone support for repair options.
    Please call our technical support at 800-474-6836. If you live outside the US/Canada Region, please click the link below to get the support number for your region. http://www8.hp.com/us/en/contact-hp/ww-phone-assist.html
    I am hoping for the keyboard connection coming loose here.
    Have a great day and thank you again for posting let me know how it goes.
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    D5GR
    I work on behalf of HP

  • Lost function key special functions - flash cards?

    I seem to have lost the function key special functions which I think is related to flash cards. The function LED illuminates but pressing a function key has no effect (brightness, hibernate, monitor switch etc.).
    How can I restore the function. I can't find anything under Toshiba Assit utility.
    Thank you
    Richard

    Hello Richard
    When you press FN button the Flash Cards should be shown at the top of the display. If nothing happens you can try to restart Flash Cards. This option you can find under START > All Programs > TOSHIBA > Utilities > Restart Flash Cards.
    Please try it. If this will not helps please restart your notebook. Be so nice and post the result.

  • Remapping special function keys

    Hello,
    I have a new Penryn MacBook Pro and I like the new special function keys for Expose, Dashboard, and audio controls. However, I use the Expose "Application Windows" command far more often than the Expose "All Windows" command, which is mapped to the F3 key here. Does anyone know how I can map the F3 special function to "Application Windows" instead?
    I have the "Use all F1, F2, etc. keys as standard function keys" preference disabled because I rarely use the true function keys and would like to continue using the special functions with a single keypress. Also, I know I can map the All Windows command to fn-F3, but I'd rather just press F3 if possible.
    I'd prefer to do this without installing a third party extension, but I'm not opposed to editing a config file from the command line if necessary.
    Thanks in advance.
    -Arlo

    Well, I haven't figured out a way to do this. I looked into DoubleCommand, but based on the screen shots I don't think it can do it (or change my right-option key back to an Enter key, which I would also like to do). And the release notes mention a lot of kernel panics, so I didn't want to deal with that. I also looked at Ukelele (sic), but its user manual explicitly states that it can't change to special function keys (and also isn't fully supported under Leopard).
    What I ended up doing is changing the keyboard shortcut for Expose - Application Windows to fn-F3, and Expose - Desktop to fn-F4. So now I can access the three Expose commands and Dashboard with the F3 and F4 keys, with and without the fn. That lets me access those commands with one hand, and frees up my F8-F12 keys for the occasional Word or Flash keyboard shortcut.

  • Paste Special function

    My question :
    1. in column A I hv a value, let' say "10"
    2. in column B I hv a value, "price", let's say "10"
    3. in column C I hv the result of A*B = "100"
    4. in column D I hv the result of C*0,90 = "111,111"
    Now I want to copy and paste (or cut and paste) column D in column E
    Then I want to delete column C and B and A and keeping the values of column E but as numbers has no "paste special" function my results in column D become "0"
    How to solve this problem in a way I was used in "excel" ? Or is there no solution and hv I to calculate this by hand and calculator and fill the result in a new "sheet" ?

    Don't worry.
    I didn't miss this one but I missed some others
    And it's the same with functions.
    You are lucky you english users.
    For you ROW() is always ROW().
    For a french user, it was RANGÉE() in AppleWorks but it is now LIGNE() in Numbers so we are always searching for the "missing" item
    And sometimes the localisation is so odd that I must look at the English interface to understand what the help is describing.
    Yvan KOENIG (from FRANCE samedi 15 décembre 2007 21:31:38)

  • Issue with configuration of 'Special Function' to a custom output type

    Hi Experts,
    In my project we have a requirement to configure a custom output type for application V3 (billing) and assign a Special Function to it. I have assigned a custom Program Name and a custom form routine within the custom output type in Processing Routines (in NACE). But when I try to save the Billing document using VF01 / VF02 it gives me an error saying 'Processing Routine XXXXX in program ZXXXXX does not exist'. I have double checked that the Z program is activated. I have declared as follows:
    REPORT ZXXXX.
    FORM XXXX USING return_code us_screen.
    Can anyone please tell me if I am missing something?
    Thanks,
    Avi

    Hi Neil,
    Now this error is resolved. It does not give me that message anymore. But I am getting a new error while saving the billing document with the customized output type. Following is my configuration in NACE:
    Application: V3
    Output Type: ZMAM
    Program: YVRO_TOLLING
    Form Routine: F_FETCH_AND_PREPARE_DATA
    I am trying to place a break-point within the form routine F_FETCH_AND_PREPARE_DATA but it does not stop there. When go back inside the billing document, it shows an error against the ZMAM output type but has nothing in the processing log. Am I missing something?
    Avi

  • Changing option in function module

    sir,
      plz explain the role or importance of changing option in function module SE37

    hi check this example it had the usage of the changing option..
    here the using will input the value to the perform and do some prosses and output some value..
    PERNR               TYPE P0001-PERNR                           Personnel Number                  
    PLANS               TYPE P0001-PLANS                           Position                          
    ORGEH               TYPE P0001-ORGEH                           Organizational Unit               
    DATE                TYPE SY-DATUM       SY-DATUM               Date and time, current (applic    
    PLVAR               TYPE PLOG-PLVAR     '01'                   Plan Version                      
    ISTAT               TYPE PLOG-ISTAT     '1'                    Planning Status                   
    MANAGER     TYPE     ZHMSS_MANAGER     Structure for manager for MSS
    NO_PERNR_PLANS_ORGEH_SPEC     No pernr, position or org unit specified
    NO_EXIST_PLANS                Position does not exist                 
    INVALID_PLANS                 Position invalid                        
    NO_EXIST_ORGEH                Org unit does not exist                 
    NO_EXIST_PERNR                Personnel number does not exist         
    function z_get_orgunit_manager_info.
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(PERNR) TYPE  P0001-PERNR OPTIONAL
    *"     REFERENCE(PLANS) TYPE  P0001-PLANS OPTIONAL
    *"     REFERENCE(ORGEH) TYPE  P0001-ORGEH OPTIONAL
    *"     REFERENCE(DATE) TYPE  SY-DATUM DEFAULT SY-DATUM
    *"     REFERENCE(PLVAR) TYPE  PLOG-PLVAR DEFAULT '01'
    *"     REFERENCE(ISTAT) TYPE  PLOG-ISTAT DEFAULT '1'
    *"  EXPORTING
    *"     REFERENCE(MANAGER) TYPE  ZHMSS_MANAGER
    *"  EXCEPTIONS
    *"      NO_PERNR_PLANS_ORGEH_SPEC
    *"      NO_EXIST_PLANS
    *"      INVALID_PLANS
    *"      NO_EXIST_ORGEH
    *"      NO_EXIST_PERNR
      if pernr is initial and
         plans is initial and
         orgeh is initial.
        raise no_pernr_plans_orgeh_spec.
      endif."pernr is initial and
      if not pernr is initial.
        if pernr cn '0123456789'.
          exit.
        endif.
    *-- See if pernr exists
        call function 'P_EMPLOYEE_CHECKEXISTENCE'
             exporting
                  object_id          = pernr
                  date               = date
             exceptions
                  employee_not_found = 01.
        if sy-subrc ne 0.
          raise no_exist_pernr.
          exit.
        endif.
    *-- Obtain pernr position
        call function 'HR_READ_INFOTYPE'
             exporting
                  pernr           = pernr
                  infty           = c_infty_0001
                  begda           = date
                  endda           = date
             importing
                  subrc           = g_retcd
             tables
                  infty_tab       = i0001
             exceptions
                  infty_not_found = 01
                  others          = 02.
        if sy-subrc eq 0.
          describe table i0001 lines g_lines.
          if g_lines > 0.
            read table i0001 index 1.
    *-- Got position now find org unit
            perform zf_proc_get_om_objects tables i_objects
                                           using c_otype_position
                                                 i0001-plans
                                                 plvar
                                                 c_rsign_a
                                                 c_relat_003
                                                 istat
                                                 date
                                                 date
                                                 c_otype_orgunit
                                        changing g_retcd.
            if g_retcd eq 0.
              read table i_objects index 1.
              g_orgeh = i_objects-sobid(8).
            endif. "g_retcd eq 0.
          endif. "g_lines > 0. for i0001
        endif.  "sy-subrc eq 0 hr_read_infotype
      elseif not plans is initial.
        if plans co '9' or
           plans co '0'.
          raise invalid_plans.
          exit.
        endif.
        call function 'RH_READ_OBJECT'
             exporting
                  plvar     = plvar
                  otype     = c_otype_position
                  objid     = plans
                  istat     = istat
                  begda     = date
                  endda     = date
                  langu     = sy-langu
             exceptions
                  not_found = 1
                  others    = 2.
        if sy-subrc <> 0.
          raise no_exist_plans.
          exit.
        endif.
    *-- Find org unit
        perform zf_proc_get_om_objects tables i_objects
                                       using c_otype_position
                                             plans
                                             plvar
                                             c_rsign_a
                                             c_relat_003
                                             istat
                                             date
                                             date
                                             c_otype_orgunit
                                    changing g_retcd.
        if g_retcd eq 0.
          read table i_objects index 1.
          g_orgeh = i_objects-sobid(8).
        endif."g_retcd eq 0.
      elseif not orgeh is initial.
        call function 'RH_READ_OBJECT'
             exporting
                  plvar     = plvar
                  otype     = c_otype_orgunit
                  objid     = orgeh
                  istat     = istat
                  begda     = date
                  endda     = date
                  langu     = sy-langu
                  CHECK_STRU_AUTH   = space              "ASikaria, 10/15
             exceptions
                  not_found = 1
                  others    = 2.
        if sy-subrc <> 0.
          raise no_exist_orgeh.
          exit.
        endif.
        g_orgeh = orgeh.
      endif. "not pernr is initial.
      if not g_orgeh is initial.
        manager-orgeh = g_orgeh.
    *-- Got org unit now find manager
        perform zf_proc_get_om_objects tables i_objects
                                       using c_otype_orgunit
                                             manager-orgeh
                                             plvar
                                             c_rsign_b
                                             c_relat_012
                                             istat
                                             date
                                             date
                                             c_otype_position
                                    changing g_retcd.
        if g_retcd eq 0.
          read table i_objects index 1.
          if sy-subrc eq 0.
            manager-plans = i_objects-sobid.
            call function 'Z_GET_POSITION_HOLDER'
                 exporting
                      plans              = manager-plans
                      plvar              = plvar
                      istat              = istat
                      date               = date
                 importing
                      pernr              = manager-pernr
                 exceptions
                      position_not_exist = 1
                      position_invalid   = 2
                      others             = 3.
            if sy-subrc <> 0.
              clear: manager-pernr.
            endif.
            if not manager-pernr is initial.
    *- BOC RTDK902962
    *-- Obtained formatted name
              clear: i0001.
              refresh: i0001.
              call function 'HR_READ_INFOTYPE'
                   exporting
                        pernr           = manager-pernr
                        infty           = c_infty_0001
                        begda           = date
                        endda           = date
                   importing
                        subrc           = g_retcd
                   tables
                        infty_tab       = i0001
                   exceptions
                        infty_not_found = 1
                        others          = 2.
              if sy-subrc eq 0.
                read table i0001 index 1.
                if sy-subrc eq 0.
                  manager-ename = i0001-ename.
                endif.
              endif.
    *- EOC RTDK902962
    *-- Obtain pernr information
    *- Get 0002 data
              clear: i0002.
              refresh: i0002.
              call function 'HR_READ_INFOTYPE'
                   exporting
                        pernr           = manager-pernr
                        infty           = c_infty_0002
                        begda           = date
                        endda           = date
                   importing
                        subrc           = g_retcd
                   tables
                        infty_tab       = i0002
                   exceptions
                        infty_not_found = 1
                        others          = 2.
              if sy-subrc eq 0.
                read table i0002 index 1.
                if sy-subrc eq 0.
                  manager-inits = i0002-inits.
                  manager-vorna = i0002-vorna.
                  manager-nachn = i0002-nachn.
                  manager-midnm = i0002-midnm.
                endif.
              endif.
    *- Get 0105 data
              clear: i0105.
              refresh: i0105.
              call function 'HR_READ_INFOTYPE'
                   exporting
                        pernr           = manager-pernr
                        infty           = c_infty_0105
                        begda           = date
                        endda           = date
                   importing
                        subrc           = g_retcd
                   tables
                        infty_tab       = i0105
                   exceptions
                        infty_not_found = 1
                        others          = 2.
              if sy-subrc eq 0.
                describe table i0105 lines g_lines.
                if g_lines > 0.
    *- SAP usrid
                  loop at i0105 where subty = c_0105_usrid_subty.
                    manager-usrid = i0105-usrid.
                  endloop.
    *- Email address
    *// not sure where email is going to be stored but assume it is subtype
    *// 0010
                  loop at i0105 where subty = c_0105_email_subty.
                    manager-email = i0105-usrid_long.
                  endloop.
                endif. "g_lines > 0
              endif."sy-subrc eq 0.
            endif. "not manager-pernr is initial.
          endif. "sy-subrc eq 0.
        endif."g_retcd eq 0.
      endif. "not g_orgeh is initial.
    endfunction.
    zposition holder
    PLANS     TYPE     PLOG-OBJID                               Object ID
    PLVAR     TYPE     PLOG-PLVAR     '01'     Plan Version
    ISTAT     TYPE     PLOG-ISTAT     '1'     Planning Status
    DATE     TYPE     SY-DATUM     SY-DATUM     Date and time, current (application server) date
    PERNR               TYPE      P0001-PERNR                 Personnel Number                
    POSITION_NOT_EXIST            Position does not exist                 
    POSITION_INVALID              Invalid position                        
    function z_get_position_holder.
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(PLANS) TYPE  PLOG-OBJID
    *"     REFERENCE(PLVAR) TYPE  PLOG-PLVAR DEFAULT '01'
    *"     REFERENCE(ISTAT) TYPE  PLOG-ISTAT DEFAULT '1'
    *"     REFERENCE(DATE) TYPE  SY-DATUM DEFAULT SY-DATUM
    *"  EXPORTING
    *"     REFERENCE(PERNR) TYPE  P0001-PERNR
    *"  EXCEPTIONS
    *"      POSITION_NOT_EXIST
    *"      POSITION_INVALID
      if plans cn '0123456789'.
        raise position_invalid.
      endif."plans cn '0123456789'.
      if plans co '9'.  "default position
        exit.
      endif.
      call function 'RH_READ_OBJECT'
           exporting
                plvar     = plvar
                otype     = c_otype_position
                objid     = plans
                begda     = date
                endda     = date
           exceptions
                not_found = 01
                others    = 02.
      if sy-subrc ne 0.
        raise position_not_exist.
      else.
        perform zf_proc_get_om_objects tables i_objects
                                       using c_otype_position
                                             plans
                                             plvar
                                             c_rsign_a
                                             c_relat_008
                                             istat
                                             date
                                             date
                                             c_otype_pernr
                                    changing g_retcd.
        if g_retcd eq 0.
          sort i_objects by begda descending. "get earliest rec
          read table i_objects index 1.
          if sy-subrc eq 0.
            pernr = i_objects-sobid(8).
          endif.
        endif. "g_retcd eq 0.
      endif. "sy-subrc ne 0.
    endfunction.
    regards,
    venkat

  • Total funcnality of select options in function module

    Dear ABAPers
    i am using structure and  ranges  to meet the functionality of select-options in function module3
    but unlike reports if i leave it blank rather than selecting all the data it comes blank.
    how can i do that
    coz my select query uses 8 selection criteria and user may enter one two or three as per his need.
    in that case the output comes out to be blank.
    how this can be resolved
    Thanks and Regards
    Luthra, Deep.

    You have to maintain conditions for all your possibilities.
    Something like this.
      IF ( post_dt_from IS INITIAL AND post_dt_to IS INITIAL AND
       doc_dt_from IS INITIAL AND doc_dt_to IS INITIAL ) OR
         ( post_dt_from IS INITIAL AND post_dt_to IS NOT INITIAL AND
       doc_dt_from IS NOT INITIAL AND doc_dt_to IS NOT INITIAL ) OR
         ( post_dt_from IS NOT INITIAL AND post_dt_to IS INITIAL AND
       doc_dt_from IS NOT INITIAL AND doc_dt_to IS NOT INITIAL ) OR
         ( post_dt_from IS NOT INITIAL AND post_dt_to IS NOT INITIAL AND
       doc_dt_from IS INITIAL AND doc_dt_to IS NOT INITIAL ) OR
         ( post_dt_from IS NOT INITIAL AND post_dt_to IS NOT INITIAL AND
       doc_dt_from IS NOT INITIAL AND doc_dt_to IS INITIAL ) OR
       ( post_dt_from IS NOT INITIAL AND post_dt_to IS INITIAL AND
       doc_dt_from IS INITIAL AND doc_dt_to IS INITIAL ) OR
         ( post_dt_from IS INITIAL AND post_dt_to IS NOT INITIAL AND
       doc_dt_from IS INITIAL AND doc_dt_to IS INITIAL ) OR
         ( post_dt_from IS INITIAL AND post_dt_to IS INITIAL AND
       doc_dt_from IS NOT INITIAL AND doc_dt_to IS INITIAL ) OR
         ( post_dt_from IS INITIAL AND post_dt_to IS INITIAL AND
       doc_dt_from IS INITIAL AND doc_dt_to IS NOT INITIAL ) OR
        ( ( post_dt_from IS NOT INITIAL AND post_dt_to IS NOT INITIAL ) AND
         ( doc_dt_from IS NOT INITIAL AND doc_dt_to IS NOT INITIAL ) ).

  • Output type - Special function 8 - ARCHIV_CONNECTION_INSERT

    Hi gurus,
    I created a new Output Type with special function 8 called ZPDF in transaction NACE with application MR (invoice verification) and I added to that Output Type ZPDF our custom program called ZXXX_ARCHIVE_LINK in order to post into the MM invoice, a PDF who cames from the SD inovoice.
    The SD invoice number is recorder into the field "Referece" in the MM invoice.
    So, the program should (through the output type and the program):
    1. Read the MM invoice number generated (NAST table into NAST-OBJKY).
    2. Enter to table RBKP with MM invoice number RBKP-BELNR and get the SD invoice number: RBKP-XBLNR.
    3. Enter with SD invoice number XBLNR to table TOA01-OBJECT_ID And get TOA01-ARC_DOC_ID.
    4. Call FM ARCHIV_CONNECTION_INSERT.
    The problem here is when I post a MM inovice in MIRO transaction the system through the condition record added the ZPDF Output Type but don´t read the program ZMIC_INVOICE_PDF_ARCHIVE_LINK added to that output type. The status of the output type is green (but without any processing log). I checked the setting for the Output Type like 100 times and everything seems to be OK.
    Please this is very urgent. Any advice?
    I don´t know why SAP don´t call the program. I think the ABAP code is wrong:
    REPORT ZXXX_ARCHIVE_LINK.
    Table Declaration
    TABLES: NAST, " Message Status
    CMFP, " Storage Structure for Errors Collected
    EDIDS, " Status Record (IDoc)
    VBRK, " Billing Document: Header Data
    TOA01. " Link table 1
    TYPES: BEGIN OF TY_RBKP,
    BELNR TYPE RE_BELNR, " Document number of an invoice document
    XBLNR TYPE XBLNR1, "SAEOBJID, " Reference Document Number
    END OF TY_RBKP.
    TYPES: BEGIN OF TY_TOA01,
    OBJECT_ID TYPE SAEOBJID, " SAP ArchiveLink: Object ID (object identifier)
    ARC_DOC_ID TYPE SAEARDOID, " SAP ArchiveLink: Document ID
    END OF TY_TOA01.
    Data Declaration
    DATA: WA_BELNR TYPE RE_BELNR ,
    WA_ARC_DOC_ID TYPE TY_TOA01 , "-ARC_DOC_ID,
    WA_SAP_OBJECT LIKE SAPB-SAPOBJID," TYPE TOAOM-SAP_OBJECT ,
    ARC_DOC_ID TYPE TOAV0-ARC_DOC_ID,
    GT_RBKP TYPE STANDARD TABLE OF TY_RBKP , "WITH HEADER LINE,
    GT1_RBKP TYPE STANDARD TABLE OF TY_RBKP, " WITH HEADER LINE,
    GT_ARC_DOC_ID TYPE STANDARD TABLE OF TY_TOA01, " -ARC_DOC_ID,
    WA1_RBKP TYPE TY_RBKP ,
    WA_RBKP TYPE TY_RBKP.
    DATA: WA1_OBJECT_ID TYPE SAEOBJID.
    DATA: WA_OBJKY TYPE NA_OBJKEY,
    WA1_OBJKY TYPE RE_BELNR.
    FORM entry USING ent_retco ent_screen.
    CLEAR ent_retco.
    PERFORM ARCHIV_CONNECTION_INSERT USING nast-objky ent_retco.
    ENDFORM. "entry
    FORM ARCHIV_CONNECTION_INSERT USING objky returncode.
    * Select Reference Document Number from RBKP table
    SELECT BELNR XBLNR
    FROM RBKP
    INTO TABLE GT_RBKP
    WHERE BELNR = objky . " .WA1_OBJKY .
    IF SY-SUBRC EQ 0 .
    LOOP AT GT_RBKP INTO WA_RBKP.
    WA1_OBJECT_ID = WA_RBKP-XBLNR .
    CONCATENATE WA1_OBJECT_ID '%' INTO WA1_OBJECT_ID .
    WA_SAP_OBJECT = WA_RBKP-BELNR .
    SELECT OBJECT_ID
    ARC_DOC_ID
    FROM TOA01
    INTO TABLE GT_ARC_DOC_ID
    WHERE OBJECT_ID LIKE WA1_OBJECT_ID.
    IF SY-SUBRC EQ 0 .
    READ TABLE GT_ARC_DOC_ID INTO WA_ARC_DOC_ID INDEX 1.
    ARC_DOC_ID = WA_ARC_DOC_ID-ARC_DOC_ID.
    WA_SAP_OBJECT = WA_ARC_DOC_ID-OBJECT_ID.
    ENDIF.
    CALL Function Module:Link table operations
    CALL FUNCTION 'ARCHIV_CONNECTION_INSERT'
    EXPORTING
    ARCHIV_ID = 'Z0'
    ARC_DOC_ID = ARC_DOC_ID
    AR_DATE = SY-DATUM
    AR_OBJECT = 'MMILOGINV'
    DEL_DATE = ' '
    MANDANT = SY-MANDT
    OBJECT_ID = WA_SAP_OBJECT
    SAP_OBJECT = 'BUS2081'
    DOC_TYPE = 'PDF'
    BARCODE = ' '
    EXCEPTIONS
    ERROR_CONNECTIONTABLE = 1
    OTHERS = 2
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CLEAR: WA_RBKP.
    ENDLOOP.
    ENDIF.
    ENDFORM.

    Hi,
    Use
    You can process a message immediately by updating the application document or you can process it at a later time. For later processing you must use the report program RSNAST00 or a corresponding application function.
    The individual possibilites are:
    Time 1: The message is processed through report program RSNAST00. This report program can be scheduled periodically or started manually.
    Time 2: As in time 1, but the message contains an earliest processing date and a requested processing time. The message is ignored by report program RSNAST00 before the requested date.
    Time 3: The message is selected and processed by application specific programs. Processing can take place online or in the background.
    Time 4: The message is processed when the application document is saved. No further processing of the message is necessary.
    Kapil

Maybe you are looking for

  • Wwan for x230

    Hello I´m new here I have some questions. I have a new x230 to upgrade my old but great x200 Can i use the wwan from the x200 in the 230? the wwna is : Ericsson F3507g Form Factor: PCI Express Mini Card Modes: HSPA/WCDMA/EDGE/GPRS Bands: WCDMA 2100/1

  • Email manually deleted, verizon unable to return username name

    My email stopped working one day after 8 years. I contact verizon who advised the email address was manually deleted. I requested that verizon return the email address to me because i've had this email for many years.  Verizon apologized but said the

  • Help understanding what's going on with permissions

    This is long and rather complicated, so if you're not in the mood, skip it. Background: A few days ago I needed to burn some data to CD. First time since owning the machine (about 1 year). Didn't work. System would not recognize any blank media or mo

  • Internal and External sources for OBIEE

    Hi, When we say OBIEE can integrates data feeds from internal and external sources..what exactly does this mean. Can OBIEE even do that? Thanks

  • Idoc for stock level info?

    Dear EDI Experts, we are looking for a solution for the following issue: An external system (Mobile solution) shall get plant/stock info from SAP ERP. Process: 1.Plant/Slocation is NOT empty, e.g. Material 1100 -> 100 PC 2. Stock is posted to Pant/Sl