REJECT is obsolete in ECC 6.0 - Any Alternative?

Hi Developers,
REJECT statment is used to break from GET event (say GET PERNR event in Logical Database) used to process for an Employee.
This REJECT statement is Obsolete . Is there any alternative for this ?
If so, please reply at the earliest as it is very Urgent.
Regards,

Use check statement.
Demo is as follows -
constants: c_1(1) type c value '1' .
Start-of-selection.
get pernr.
Read Infotype 0
rp-provide-from-last p0000 space pn-begda pn-endda.
check pnp-sw-found eq c_1. "it will check if record is there,if not it will go to next pernr

Similar Messages

  • ACCMAP: Obsolete in ECC.. Any other wayout possible??

    Hey Guys
    A. Prior to ECC version, say, in 4.7 - There used to be a T code ACCMAP.. Here in, my client did as below
    Company code 2030
    Dep Area 01: Book dep Area
    Dep Area 20: Parallel dep area
    Dep Area 55: Delta Dep Area..
    Company code 9030
    Due to ACCMAP settings, when AFAB is run in 2030, it posts the Dep Area of 01 + Dep Area of 55 to Company code 9030 in Spl Purpose Ledger 
    B. Our client has just upgraded to ECC 6.0 and still not using New GL...
    C. Now in ECC, the ACCMAP is no longer availalbe as SAP says you can map Dep Area to parallel ledger... But our requirement is to map Dep Area 55 of 2030 to Dep Area 01 of 9010 company code
    Is this no longer possible in Standard SAP?
    Do we have any other way of doing this?? (Since the comp code 9010 not only manages the asset related postings but also many other postings, it will be very difficult to migrate from using a New Company code to using a Parallel Ledger in same company code)
    br, Ajay M

    Hi Ajay,
    I can provide you some background information regarding ACCMAP that may help for better understanding:
    Why is ACCMAP (concept of the accounting principle) obsolete in ECC 6.0. and why it is no longer needed? It was used in previous releases to "filter" which values and from what depr.area should go to the special  ledger. In this way, let´s say, you linked the depreciation area to the accounting principle and this to the special ledger in order for the information to flow from the specific area to the specific "special ledger".                                                                               
    This logic has changed. Now you link the depreciation area to the parallel ledger directly in OADB (no need of accounting principle).                                                                               
    The parallel ledger solution is, in fact, a development of the special  ledger concept.                                                                               
    I strongly advise you check SAP's online documentation in the SAP library under:                                                                               
    Asset Accounting (FI-AA) > Integration > Parallel Ledgers in Asset     
    Accounting.                                                            
    Regards,
    Brigitte

  • REJECT statment to break GET event is Obsolete in ECC 6.0 - Alternative?

    Hi Developers,
    REJECT statment is used to break from GET event (say GET PERNR event in Logical Database) used to process for an Employee.
    This REJECT statement is Obsolete . Is there any alternative for this ?
    If so, please reply at the earliest as it is very Urgent.
    Regards,

    Hi Suma,
    The REJECT statement was specially developed for leaving GET event blocks. Unlike CHECK and EXIT, REJECT always refers to the current GET event block. If CHECK and EXIT occur in a loop, they refer to the loop, and in a subroutine, they always refer to the subroutine. The REJECT statement, on the other hand, allows you to exit a GET event block directly from a loop or a called subroutine.
    The statement
    REJECT [dbtab].
    always terminates the processing of the current line of the node of the logical database. Without the optional dbtabspecification, the logical database automatically reads the next line of the same node, and the next GET event at the same hierarchy level is triggered. If you use the optional dbtab specification, the logical database reads the next line of the node dbtab. The node dbtab  must occur above the current node in the logical database hierarchy.
    Example
    The following executable program is connected to the logical database F1S.
    REPORT EVENT_DEMO.
    NODES: SPFLI, SFLIGHT, SBOOK.
    GET SFLIGHT.
      SKIP.
      WRITE: / 'Carrid:', SFLIGHT-CARRID,
               'Connid:', SFLIGHT-CONNID,
               'Fldate:', SFLIGHT-FLDATE.
      ULINE.
    GET SBOOK.
      PERFORM SUB.
    FORM SUB.
      WRITE: / 'Bookid:', SBOOK-BOOKID.
      REJECT 'SFLIGHT'.
    ENDFORM.
    This program reads and displays only the first booking for each flight, since the logical database reads the next line of SFLIGHT after the REJECT statement.

  • Is REJECT statement obsolete?

    Dear All,
               I am trying REJECT statement with LDB . but in Extended Program Check in ECC 6.0 it says REJECT is obsolete.
             Can anybody plz suggest me what could be the Alternative for the same?
    Thanks n Regards,
    Atul.

    Hi Atul
    This is what i could find from the documentation:
    Cannot Use REJECT
    The REJECT statement is not allowed in ABAP Objects.
    Error message in ABAP objects for:
    REJECT [dbtab].
    Reason:
    The REJECT statement should only be used during the GET event while type 1 programs are being executed with logical databases. Editing of the current line of the node of the logical database is terminated with REJECT and the next line of the same or of a lower lying node dbtab is read. The old event concept of the ABAP runtime environment and the past way of processing logical databases is not supported by ABAP objects.
    Regards
    Eswar

  • 'FM HELPSCREEN_CREATE is  obsolete in ECC 5.0 version'

    Hi all,
    I am upgrading SAP from 3.1I to ECC 5.0. I am getting the error that  'FM HELPSCREEN_CREATE is now obsolete in ECC 5.0 version'.
    can anyone suggest the equivalent FM for the above in ECC 5.0.
    thanks
    Rakesh

    Hi Rakesh,
    Im using ECC 5.0 version, it is not telling this FM HELPSCREEN_CREATE is obselete.
    Regards,
    Senthil

  • This Funtion POSTING_INTERFACE_START is Obsolete in ECC 6.0

    Hi,
    Someone know if this function is obsolete in ECC 6.0
    Wait you help.
    Thanks

    No, it's still used, but it's not released for direct customer use either...

  • Is there any alternative to GUI_DOWNLOAD  other than  WS_DOWNLOAD?

    Hi All,
    Is there any alternative FM other than GUI_DOWNLOAD and WS_DOWNLOAD?I need to download a PDF file to a network drive.
    Thanks in Advance,
    Anjaly

    Hi,
    If u want to download a PDF file from application server...
    u can use the transaction...  <b>CG3Y</b> directlyy..
    just check it and use it in ur program..
    cheers,
    Simha.

  • Any alternative FM for GUI_DOWNLOAD other than WS_DOWNLOAD?

    Hi All,
            Is there any alternative FM other than GUI_DOWNLOAD and WS_DOWNLOAD?I need to download a PDF file to a network drive.
    Thanks in Advance,
       Anjaly

    check this thread
    ITS Upload / Download using CL_GOS_MANAGER
    Raja

  • Any alternative to the BADI for scaled pricing in CCM catalogs

    Hi,
    We are not able to use the scaled pricing functionality in CCM. When the item is added to the shopping cart from the CCM catalog the highest price gets chosen by default irrespective of the quantity ordered.
    I understand that this can be solved by activating the BADI /CCM/CSE_ENRICHMENT and Implementation /CCM/CSE_OCISCALEPRI
    IS THERE ANY ALTERNATIVE TO THIS. CAN THIS FUNCTIONALITY OF SCALED PRICING BE ACHIEVED WITHOUT THIS BADI.
    Regards,
    Srivatsan

    Hi Srivatsan,
    you could use the BADI BBP_CATALOG_TRANSFER to amend the price, in order to do this you would need to pass the lower bound to one of the OCI custom fields in order to pick up this avlue and determine the correct price.
    Why do you not want to use the standard implementatiom though?
    Regards
    Chris

  • We tried the window.ResizeTo and window.MoveTo methods using the javascript. It doesn't seem to be working in the version 9.0.1. Please suggest any alternative .

    Hi,
    We tried the window.ResizeTo and window.MoveTo methods using the javascript. It doesn't seem to be working in the version 9.0.1. Please suggest any alternative .
    Thanks,
    Avinash

    This is no longer allowed for security reasons (bug 565541).<br>
    See https://support.mozilla.org/nl/questions/880032<br>
    https://developer.mozilla.org/en/DOM/window.moveTo<br>

  • Any alternative to ago function

    Hello,
    I am using obiee 11g.Trying to use ago function at quarter level with the date prompts as filter
    instead of year prompt but somehow the data is not matching properly.
    Would like to know if there is any alternative to ago function?
    I just want to calcultate the count(distinct(id)) for current and previous quarter,where the report gets filtered by date fields.
    The report has user column,quarter column and the currrentcount and previous count.
    like
    user1->Q1->10->19
    user1->Q2->20->10
    User3->Q1->11->26
    Any help on this please?
    Thanks

    Hello,
    Thanks for reply.
    Is the grain below quarter level?
    ------> Calc date is below quarter level in the time dimension,Time dimesnion has FS Year(level1)->FS Quarter(level2)->Cal Date and Time key(Time key is the primary key with the combination of cal date and the pk of some other table (level3))
    Does quarter exists as a field in your date dimension?
    --------->Yes Fs Quarter is a field/column in the table and in the dimension
    check if quarter is a chronological key, does your quarter contain year in it(2011-02)?
    -------->In each level i have key defined, also in the FS Quarter i have.
    In the level3 i have both the key defined as key but cal_date as pk.
    Yes, Data of the qtarter is in the form 2012-01.
    Do you have quarter in your report, without date field?
    --------->yes, the report has FS_qtr,count for current qtr,count for previous qtr using ago function
    and the filter used is cal_date>='01-JUN-11'
    facts->
    There is a view in the database which is being created for time dimesnion.
    The view has
    FS_Year , FS_Qtr , Calc_Date ,Cal_month , cal_qtr, TimeKey(PK) , Pk_from someother_table_acting_as_fk.
    Please let me know where i am going wrong?
    One more thing i would like to add if i use the filter as FS_YEAR>=2011 then the counts comes perfectly.Problem is with cal date field.Just not bale to understnd where i am i going wrong?
    Please help
    Thanks
    Edited by: user123 on Feb 10, 2012 11:00 AM

  • Internal API DCTaskFlowBinding.. any alternative to this.

    Hi All,
    -- Jdev: 11.1.1.4
    In a solution to get handle to the bindings inside a region from its parent I am using this API DCTaskFlowBinding.
    This is Internal api.. Is there any alternative api for this ?
    I know that we should avoid using internal api's but can use of DCTaskFlowBinding be seriously alarming.
    Please note that I am using this api's ONLY to get handles to internal attribute bindings to read values form it.
    Thanks
    Amit
    Edited by: Amit on Feb 7, 2012 10:16 AM
    Edited class name..

    The API I use for DCBindingContainer imports
    import oracle.adf.model.binding.DCBindingContainer;which doesnot look to me to be a internal class since it dosnot have internal anywhere in its package structure.
    What is the complete class path that your code refers to ?

  • Are there any alternatives for iphone backup extractor?

    Hi all,
    I find that the 'iphone backup extractor' program is very useful, however it is quite annoying that they limit the extraction to 4 files at a time and that we have to pay in order to get our own data files propperly. :S
    When I restore my old backup from iTunes, every new thing is gone, when I restore the backup I just made, the old backup stuff has gone. It just replaces each other.
    Apple should have their own software like this where you can extract what ever you want from your old backups and transfer it on to your phone, such as contacts for example.
    Anyway, I was wondering if there is any alternatives for this program, or any other way I can extract my backup files ?

    If you're on a Mac, there is a "free" iPhone backup extractor, but none that I know of for Windows. You could always code your own program, that would be free.
    Apple doesn't provide a mechanism to do this for the simple reason they don't want users screwing with the iPhone backup. Thus, none of these third-party programs are supported.

  • Any alternatives to "Photos" app for iPhone/iPad???

    I can't stand the white background everywhere as a result of iOS7. For me, the worst is viewing my photo collections in Photos on either iPad or iPhone.
    Can anyone recommend a better alternative to Photos? I already checked out iPhoto and didn't like that either.
    I just wish Apple would give people the choice to select either black or white as a background, at least in the Photos app.
    So any alternatives to Photos or besides iPhoto?
    Thanks very much in advance. 

    I don't have another app to recommend to you but in the meantime, did you see this from the last discussion in the More Like This box to the right>>>>
    Click on a photo to view it in full screen.
    The photo now has white background, click the photo again and the background color will change to black.
    You can now slide through your camera roll photos with black background.

  • Lost my application dvd that came with macbook pro, early 2011. any alternatives to get the applications in that??

    lost my application dvd that came with macbook pro, early 2011. any alternatives to get the applications in that??

    I'm not sure how this is an iTunes issue, but anyway, other than buying the apps from the Mac App Store (note that iDVD and iWeb are not available via the App Store), the only alternative is to call Apple support and give them the serial number of your Mac. They can usually sell you a new disk set for a reasonable fee.
    Regards.

Maybe you are looking for