Termination of a particular SAP process in a BTE/BADI

Hi All,
I have to implement a BTE/BADI for a particular process and in case certain conditions are not met I have to terminate this process.
What are the possible ways to do that ?? Can somebody please suggest ?
Thanks in advance,
Archana.

Hi Archana..
If it is a foreground process we can give an error message and stop the process so that user is also aware of the situation....
Regards
Byju

Similar Messages

  • How to display complete menu tree for a particular SAP user in UI5

    Hi Experts,
    I am trying to display menu tree for a particular SAP user on click of button placed in shell content.
    I am referring this link
    Displaying the Complete Menu Tree - User Interface Add-On for SAP NetWeaver - SAP Library
    But I am not getting the exact process.
    Can anyone please provide some help.
    Thanks in advance.

    >
    cranjith kumar wrote:
    > I am displayed a user name and password columns in
    > screen painter.if i will not fill any one of the two fields
    > means then a message will be display.
    > My requirement is if i wont fill the "username field"
    > means then the cursor should not move to the
    > "password"  field (i.e we should not able to enter passwords)
    > and a message should be displayed to indicating that
    > user name is invalid.
    > Kindly send me the coding for this one immediately.....
    How about you immediately try to figure it out for yuorself?  Read the SAP help on screen development and search these forums.  Here's a hint, look at things like FIELD and CHAIN in your PAI...

  • How to make plant mandatory field in Sales order thru standard SAP process

    Hello,
    There is requirement in business that User wants to make plant field Mandatory in Sales order line item once material number is entered. Can you please guide me how I can make Plant field mandatory thru Standard SAP process.
    I had checked it thru Incompletion process & Order type incompletion messages but still Plant field is not becoming mandatory in Sales order. It only gives incompletion log while saving the SO. Please suggest how to do it thru Standard SAP process.
    Thanks & Regards,
    Saurabh

    HI
    Plant will determine based on Customer-material Info Record, Customer Master data & material Master
    If plant is not mandatory in customer Master and Customer material no problem
    but at the time of creating the material master  Plant Mandatory as per my knowledge, so system will pick plant from Material master  that is the case why you required plant Mandatory in Sale order level
    and you need to do Shipping Point Determination for that plant
    Did you check by using User Exit ? if not try once what i have suggested
    Try with User Exit
    MV45AFZZ , FORM USEREXIT_SAVE_DOCUMENT
    VBAP - WERKS = " "
    if VBAP - MATNR , POSNR = not initial
    Error Messgae "E"
    Check and Revert
    Regards,
    Prasanna
    Edited by: prasanna_sap on Feb 14, 2012 11:41 AM

  • Create a terminal through my own Java process

    I am cross posting this thread: [http://forums.sun.com/thread.jspa?messageID=10913756|http://forums.sun.com/thread.jspa?messageID=10913756].
    I believe that this will have to be accomplished using a Solaris or UNIX specific device.
    The question is how I can call a process and tell it that it is running in a terminal.
    For example "prstat -a" will adjust to fit the size of the window as well as respond to my keystrokes.
    If I call it using a java process it will not do either of those two things because it detects that it it not in a terminal.
    Is there a process or middleman I can call to create a terminal? Or do I have to write my own middleman in C/C++? (I would really prefer a middleman that is already part of Solaris)

    Darren_Dunham wrote:
    Well, you're asking this in a general OS forum. You might want to ask this in a Java forum.Already did :)
    In general, the process will have to allocate a psuedo-terminal (pty) and use that to talk to the process (so that it sees a terminal is being used). I don't really know how to do that in java.I don't think it is possible without a middleman. Still looking
    I have no idea if it's useful, but this page says it's an implementation of Expect in java. Any implementation is either going to have to open ptys directly, or it's going to have to re-implement their functionality. You might be able to examine the code and see it's accomplishing that.
    [http://expectj.sourceforge.net/]
    That code uses the standard exec function. It does not actually create a terminal (although it still uses a shell). It is similar to running "sh | cat" on your own terminal.
    I will search on psuedo-terminal (pty) later today
    alan.pae wrote:
    http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/prstat/prstat.c
    http://src.opensolaris.org/source/search?q=prstat&defs=&refs=&path=&hist=&project=%2Fonnv
    prstat was an example. I am not looking for a C method to detect a terminal as much as one to create a terminal. If there is something I am missing, please elaborate

  • FIELD SYMBOLS - Not Assigned/Looking to fetch SAP processed ITAB from a ALV

    Hi Experts,
    Pls. let me know that,
    How to fetch the SAP Standard Prog. processed (w/ data) internal table into my_z_prog.?
    Actually, my intension is that, I need to develop a Z_alv_report similar to RFITEMGL.
    So,I coded as,
    SUBMIT RFITEMGL
      WITH SELECTION-TABLE seltab1
      WITH x_opsel     EQ x_opsel    SIGN 'I'
      WITH x_clsel     EQ x_clsel    SIGN 'I'
      WITH x_aisel     EQ x_aisel    SIGN 'I'
       with pa_vari    eq pa_vari  sign 'I' "ltdx
      EXPORTING LIST TO MEMORY
      and return.
    (seltab1 contains the selection criteria of BUKRS)
    Its working fine for small amount of data, if user runs wide open, huge data, so, dumps r throwing becoz of DECIMAL NOTATIONS, some other crap data!!!
    So, I thoght to use FIELD SYMBOLS.
    So, I know, How to use FILEDS SYMBOLS, like,
    FIELD-SYMBOLS: <fs> TYPE ANY.
    ASSIGN ('(SAPFV45P)XVBAP[]') TO <fs>.
    CHECK SY-SUBRC IS INITIAL.
    IF NOT <fs> IS INITIAL.
    I_T_VBAP = <fs>.
    ENDIF.
    So, i implemented the same in my_z_alv_prog; from other thread, likem eblow.
    Suppose RFGLBALANCE is your standard program and you have an internal table named I_RFGLBALANCE.
    And lets say your Z program name is Z_SRINIVAS.
    First find out the type of the internal table you want in your Z-program in the standard program. And declare an internal table of similar type in your Z-program.
    Later wherever you are putting the below mentioned code.
    SUBMIT RFGLBALANCE WITH selection criteria
    here I used the FILED SYMBOLS .......
    BUT, am getting error as FILED SYMBOL NOT ASSIGNED.
    So, pls. let me know that,
    1 - Can I get the SAP processed ITAB by using FIELD SYMBOL into my_z_prog.?
    2 - If NOT , wht is the alternative idea?
    3 - if so, pls. code a peice of code according my reqirement by using FIELD SYMBOLS, in such a way to get SAP ITAB from RFGLITEMS
    URGENT pls.
    thanq
    Edited by: Srinivas on Mar 26, 2008 9:53 AM
    Edited by: Srinivas on Mar 26, 2008 10:08 AM

    no response

  • SAP process for SAB 101 / SAB 104

    Hi ,
    In order to comply with SAB 101/SAB 104, is there a "standard" SAP process or reporting in place in my SAP ERP 2004/2005 ?
    Any information will be welcome .

    Thank you ,
    Revenue Recognition functionality is used for Service contracts, and yes we are using it ?
    The part we do not have a SAP process for is for shipment and installation of Equipments when the customer pay X% at installation or acceptance of the material . And the X% have to be "differed" .

  • SAP processes available for use in the process analysis tool Adonis?

    Hi everybody,
    I'm currently working in a project where we design a process for process documentation for a globally acting company.
    Mainly there are SAP and non-SAP based processes.
    For the SAP processes there doesn't exist any process diagrams just some functional specifications how the SAP system is working.
    All documentation will be designed with Adonis, a business process analysis tool by BOC (Link: http://www.boc-group.com/).
    Does anybody know, whether there are business process documentations available by SAP as diagrams e.g. the order flow process so that I can import the business process into Adonis to make it available as a process diagram? As far as I know Adonis can import BPMN, UML, XML files.
    Any help or hint is appreciated.
    Thanks in advance and best regards,
    Frank

    Hi Dan,
    no this is not possible. The Solution Documentation Assistant allows the analysis of how often certain transaction, reports etc. are executed in a certain time frame. But this is not split-up per organizational unit like company code or plant.
    You should contact your SAP Support Advisor and ask for a Continuous Quality Check service offering "Business Process Analysis & Monitoring" as part of SAP's Enterprise Support. This service comprises two remote days . One day analyzing your ERP processes like Order to Cash, Procure to Pay, Manufacturing, Plant Maintenance and Warehouse Management. There you can learn something about used document types and plants, sales orgs or shipping points. The second service day is used to setup an Business Process Monitoring (BPMon) example in your SAP Solution Manager.
    You can learn more about BPMon either in several SDN blogs (best starting point /people/volker.vongloeden/blog/2009/07/23/functional-scope-of-business-process-monitoring-in-sap-solution-manager) or on the SAP Service Marketplace https://service.sap.com/bpm.
    Best Regards
    Volker

  • Get process-ID of particular java process?

    I have created a startup script for air-video-server which happens to be a java application.
    The problem I'm facing now is that I can't identify the process ID of the particular java process using pidof.
    ps aux | grep AirVideo shows:
    user 4180 7.0 0.3 2309364 31288 pts/0 Sl 12:51 0:00 java -jar AirVideoServerLinux.jar
    Here's the line I'm using right now:
    PID=`pidof -o %PPID java`
    but this obviously lists the process IDs of all running java processes, not just air-video-server.
    PID=`pidof -o %PPID ava -jar AirVideoServerLinux.jar`
    doesn't match anything at all.

    pgrep(1) might help you

  • Directing requests to a particular server process

    Hi
    If I have two Server process connected to a single Java dispacther how can I force my web dynpro application to be run from one or the other .
    I am aware that the J2EE Engine uses cookies to register a request with a particular server process and thus by which dedicate all requests with specific cookie information to specific server processes.
    Is there a way to provide dispatcher+server instance details in a URL and thus forcing a particular server process to service this request.
    Regards
    Pran

    Hi,
    Sorry to say but all servers which are member of same RD Farm name are expected to have access of all application installed. We cannot control which specific server in a RD Farm a user is directed to. Still we can configure RemoteApp under RDSH server and assign
    the user to connect to the specific RemoteApp by assigning RemoteApp User Assignment.
    By this way, suppose we install WordPad as RemoteApp on RDSH server 1 and Notepad as RemoteApp on RDSH server 2 then provide the access to the specific user to access that RemoteApp under user assignment and don’t allow under other App so that specific user
    can only access the assigned RemoteApp.
    Anyway for redirection of server is managed by RDCB and there are different ways now to handle such as DNS RR, NLB, Hardware Load balancer or Dedicated Farm redirection and it depends on you what you prefer for your environment.
    More detail.
    Introducing RemoteApp User Assignment
    http://blogs.msdn.com/b/rds/archive/2009/06/12/introducing-remoteapp-user-assignment.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Standard SAP process for third party repair or subcontracting repair

    Hi All,
    Please let me know if there is any standard SAP process for third party repair or subcontracting repair.
    Given below is the process in brief.
    1. Receive the repairable product in the warehouse from customer
    2. Do the inspection in warehouse
    3. Send the repairable product to the subcontractor to do the repair
    4. Receive the repaired product from the subcontractor
    5. Send the repaired part to the customer.
    6. Bill the customer
    Please share your inputs if you have any.
    Thanks in Advance.
    Regards,
    Madhu.

    Hi there is no SAP standard process for this. I can give you work around for that.
    1.. Receive the repairable product in the warehouse from customer - Normal customer returns or customise a movement type to receive it with our without value as per requirement
    2. Do the inspection in warehouse - Normal inspection
    3. Create a service PO with the vendor.
    4. Send the repairable product to the subcontractor to do the repair - Send using 541 movement type to vendor or use the copy of 541 movement type to send to vendor.(you can refer PO also system does not validate)
    5. Receive the repaired product from the subcontractor - Reversal of 541
    6. Send the repaired part to the customer.
    7. Bill the customer
    Regards
    Antony

  • How to find Primary Key for a particular SAP Databse Table?

    Hi Guys,
                  How to find Primary Key and foreign key  for Particular SAP Databse table ?for Ex : EKKO , EKPO , EKKN , EKBE , EKBEH  , EKET and EKETH.
    Thanks,
    Srinivas.

    Use transaction SE11 to display the table. Put the cursor on the field you want to display the check table and click 'Foreign key' push button (a key with an bottom point arrow), then it will show the check table of the foreign of a field.
    Or by just simple double click on the field, a pop-up window of all the attribute (including the foreign key and the check table if exists) will show too.
    <i><b>Please reward point for helpful answer.</b></i>
    Minami

  • SAP process steps for tool room

    What will be the SAP process steps for tool room.
    Moulds are manufactured and maintenance of moulds are being done in the tool room

    Hi,
    Assuming the moulds are available, you may follow the steps below:
    > Create mould as Equipment with PRT screen data
    > Create measuring point for this equipment.
    > Create counter based maintenance plans for preventive maintenance.
    > Use applicable user exit to update the measuring point, in association with PP product confirmation, where this mould is used in respective work center.
    > This will give the preventive maintenance schedule in accordance with usage.
    > For unplanned repairs, use notification/Maintenance order route to calculate the costs and to maintain history.
    > When life expires, deactivate and set 'deletion' flag' to the respective mould equipment master, so that it can not be used in production.
    > Detailed scenario should be mapped, based on the actual customer requirement.
    James Prabaharan

  • Dw.sap processes do not release memory on Suse SL9

    Hello,
    We have an ecc6 Ehp4 system running on ;
    One Central instance ; Hp-ux ia64
    6 Linux Dialog Instances ; Linux SUSE SLES9/X86_64 64BIT
    More than 30 Gb of physical memory have been assigned to each Linux application servers, but
    we are facing memory bottlenecks. after analysys, it turns out that some sap processes dw.sap
    do not release the memory.
    At the sap level, the DIA or BTC process is not running anymore.
    At the OS level the corresponding dw.sap process still uses big chunk of memory
    p01adm   10674  2.9 45.4% 20081372 14955448 ?   S    Oct03  77:58  |   \_ dw.sapP01_D01 pf=/sapmnt/P01/profile/P01_D01_aor3p01a1
    p01adm   20839  6.4 48.5% 20091644 15992276 ?   S    Oct04 121:43  |   \_ dw.sapP01_D01 pf=/sapmnt/P01/profile/P01_D01_aor3p01a1
    p01adm   25379  5.8 47.6% 20085096 15670868 ?   S    Oct04 106:47  |   \_ dw.sapP01_D01 pf=/sapmnt/P01/profile/P01_D01_aor3p01a1
    p01adm   29367  6.1 44.7% 20086804 14735952 ?   S    Oct04 110:44  |   \_ dw.sapP01_D01 pf=/sapmnt/P01/profile/P01_D01_aor3p01a1
    p01adm    1326  3.8 41.6% 20078600 13703268 ?   S    Oct04  66:53  |   \_ dw.sapP01_D01 pf=/sapmnt/P01/profile/P01_D01_aor3p01a1
    p01adm   21643  6.3 42.3% 20087888 13951496 ?   S    Oct04  98:53  |   \_ dw.sapP01_D01
    I had a look at SAP note 706071, but it doesn't corespond to our issue, anyone has any idea ?
    thank you
    Regards
    Raoul

    > * 6 Linux Dialog Instances ; Linux SUSE SLES9/X86_64 64BIT
    You're aware that SLES 9 is out of support since August 2011?
    Note 936887 - End of maintenance for Linux distributions
    > More than 30 Gb of physical memory have been assigned to each Linux application servers, but
    > we are facing memory bottlenecks. after analysys, it turns out that some sap processes dw.sap
    > do not release the memory.
    A SAP system uses shared memory, it's allocated on system start and not released until the system is stopped.
    If you run out of memory I would suggest that you check your memory configuration.
    > At the sap level, the DIA or BTC process is not running anymore.
    > At the OS level the corresponding dw.sap process still uses big chunk of memory
    They are attached to the shared memory segment, this is not exlusive memory.
    > I had a look at SAP note 706071, but it doesn't corespond to our issue, anyone has any idea ?
    Usually it's not a problem if the memory keeps being allocated if the system is properly configured. Shared memory disclaiming is available on Linux but it's not supported on your operating system.
    Note 724140 - Extended memory, release for operating system
    I would suggest that you first check your memory parameters, execute on an application server as user <sid>adm:
    sappfpar pf=/sapmnt/<SID>/profile/<instance_profile> check
    and post the output.
    Markus

  • How to consume SAP Process

    Hi....
           Can anyone help me "How to Consume the SAP Process from a JSP page  (any other external system)."

    You need to use special JAVA APIs, JCO I think to directly access RFCs. If you want to access web services, you need to import the WSDL and call the service.
    VJ

  • More SAP Processes on Front End PC

    Hi all
    It seems to me that as PC's get more and more powerful --sometimes more powerful than the application server itself  the old 3 Layered Architecture level might not be the best use of resources.
    For instance in classical SAP a lot of time is often spent in reading data from data bases into internal tables, manipulating the tables via sorting / filtering etc etc  and then creating a list / or display -- all of these tasks using Central Processing functions..
    Maybe we should start looking at using the processing power of the PC itself for a lot of these task --especially where no data base update is required
    For example data could be downloaded very quickly on to the users PC where it can then be queried and manipulated. Network load is not usually an issue these days.
    Given the thrend of "Persistent Objects" it would seem this would be the way to go -- retrieve the object(s)  from the SAP server and then do all the queries locally.
    Not everything could be done this way  - you still need "Classical Batch Work"  but certainly a huge amount of stuff could be done on the users front end now.
    When SAP R3 first appeared PC's were not very powerful,  the Net as a business tool was hardly recognized and network connections were often painfully slow.
    Now it's totally the opposite. --It seems almost a crime to sit at an 8GB RAM dual processor PC simply to look at a sales order (VA03) or create some reports.
    Cheers
    -K

    I think, that strategically there are other approaches already on the market.
    Not everyone uses FAT clients, I know quite a few companies, who use very old PCs and connect to a Citrix or Terminal Server farm instead of distributing everything locally.
    The management of a huge number of PCs is becoming more and more a nightmare, given the fact, that more and more dependencies are added to run your SAP applications (speaking of Adobe SVG viewer, Flash, Java Runtime etc.) This nightmare would even become bigger if one thinks of synchronizing different steps of a transaction on a different PC. Out of my experience, it´s often just lazyness of the users, that make systems slow by quering just too much data. If you have a system with > 10 years of data and users are quering that data by NOT entering a "from" date, I can just say, that lazyness
    I agree with you, you don´t need a FAT client to display something in VA03, you don´t even need a full PC to do that, a Termina Server session is sufficient for such users.
    Markus

Maybe you are looking for

  • RAM issues WHY WON'T THIS WORK??!!

    I bought 1 additional 2Gb stick of RAM for my MacBook Pro 2.16, all information given on Mac website, documentation etc states that this MAC is capable of handling up to 3Gb RAM. But when the new RAM is install it will not boot. I have tried everythi

  • Transfer or change master data

    for fixed asset, if it is already acquired and depreciated, can we use ABUMN to move to different cost center, after we do transfer, is cost center in asset master automatically be changed to new cost center? do we still need as02 to change cost cent

  • Daily sequence number

    Hi, I need a clean solution for a daily sequence number (starts from 1 everyday). Clean in the sense that upon initial setup, I do not have to do anything and I can get my number everyday by just one jdbc call/query. Thank you in advance.

  • Is it possible to order a macbook pro online (thailand) with a german keyboard??

    hi, i am german and live in thailand, i need a new macbook pro soon, but i cant find out if it is possible to get a macbook pro with a german keyboard here in thailand (it is not very helpful to ask one of the reseller, sorry) thanks alex

  • Shapes remain selected in Photoshop CC a big nuisance....

    Ok so the issue I am having is that when I have a shape layer with multiple shapes and I group that layer with other layers, transforming the group gives unexpected results. Currently what is happening is that all none shape layers are getting transf