Copy standard bapi to Zbapi in the same standard package

Dear SAP,
I wanted to copy a standard bapi into Zbapi. As soon as i do this it is asking for access key.
Is it ok to use the access key and create??
Is there any exit to do this ?
Please help me in this regard.
The Bapi name  /AFS/BAPI_SALESORD_CREATEFDATA
from this Bapi, i want to create the ZBAPI.
Regards,
Arati

If you put it in the same function group as the original, when new function modules are added to that function group, your BAPI will be affected - possibly disappear (depending on settings). it will certainly be an upgrade issue.
If you put it in a SAP package, you are violating the principle of separating custom developments from SAP standard, but it's unlikely to cause issues.
However, copying a BAPI (indeed any cloning of SAP standard code) is a bad idea. The reason is that the copy won't benefit from any notes or upgrades. If there's an error in the standard fixed by note application, you won't get it applied in the copy. Your copy will gradually become out of date. At some point it will probably break, and then you'll have to reclone the original, which can be quite difficult if it has changed radically.
You should first try to find user exits (CMOD, BADI, explicit enhancement points), and implicit enhancement points, and finally direct modification of the original bapi.
I repeat, cloning a SAP standard object is 99.9999% of the time the worst things to do. Far worse than a customer modification. Ignorant project managers, team leads etc. prefer clones because they don't need an object key. Don't be stupid. Do the right thing.

Similar Messages

  • Proceedure to copy the standard BAPI into ZBAPI

    Hi Gurus..
       I found the standard BAPI and I want to copy the standard BAPI into ZBAPI(for my company purpose) and use it in SAP xMII.
      Please give the steps for copying.
    Thanks
    R M

    Hi,
    To copy the standard BAPI into ZBAPI.
    check this link:
    how to copy BAPI
    How to Copy standard BAPI to ZBAPI....
    Regards
    Adil

  • Any standard BAPI available to get the project manager name or id

    Hi all,
    Any standard BAPI available to get the project manager name or id  for the particular  employee working on that project.
    Regards,
    Surjith

    I dont know abt any BAPI but this FM do the same so can be copy to RFC enabled and use the same.
    HRCM_GET_ORGUNITS_FOR_MANAGER
    Regards,
    Amit
    Reward all helpful replies.

  • Can i copy all my itunes content exactly the same to another pc?

    Can i copy all my itunes content exactly the same to another pc? my itunes library in my office is diff from my personal pc, like all songs i had had album artwork and its been organizd already.

    See also Recover your iTunes library from your iPod or iOS device.
    tt2

  • Is it possible to have Office Standard and Office Enterprise on the same computer?

    Hi,
    Would it be possible to have Office Standard and Office Enterprise on the same computer? For instance, we would like to have standard installed for Word, Excel, and PowerPoint. And then have Office Plus/Enterprise installed for Outlook so that archiving
    is possible? TIA

    Hi GibsonLP2012,
    You can run multiple versions of Office, yes:
    https://support.microsoft.com/en-us/kb/218861
    However, I don't believe you can run multiple editions of the same Office version. Perhaps somebody else will be able to shed some light on this? It sounds unlikely though.
    Best regards,
    Please remember to mark the replies as helpful if they help, or as answers if they answer your question. Please also unmark the answers if they provide no help.
    Zach Roberts
    Independent Microsoft Community Support Advisor
    Disclaimer: I don't work for Microsoft. Any advice given is my own and does not represent Microsoft.
    Follow me on Twitter:
    @WindowsZach

  • I am interested in mirroring my calibrated mac monitor to a led tv but the tv profile takes over and negates my monitor profile.  I want both to be calibrated to the same standard.  Suggestions?

    I am interested in mirroring my calibrated mac monitor to a led tv but the tv profile takes over and negates my monitor profile.  I want both to be calibrated to the same standard.  Suggestions?

    I am interested in mirroring my calibrated mac monitor to a led tv but the tv profile takes over and negates my monitor profile.  I want both to be calibrated to the same standard.  Suggestions?

  • HT204053 what if i change to new iphone can the apps & contacts been copied to my new devise use the same icloud/apple id?

    what if i change to new iphone can the apps & contacts been copied to my new devise use the same icloud/apple id?

    Yes, they can ... best way ist to backup your current device with iTunes and setting up the new iPhone from this backup ... iTunes will ask you this when you connect your new one for the first time ...

  • Copy STD BAPI to ZBAPI

    Hi Guys,
    I am trying to copy std BAPI  to custom one and modify based on my requirements.
    When I copy some of the includes are not getting copied and I am getting syntax error .
    Please guide ,How to achieve complete copy .
    Cheers,
    Raj

    Hi Rajesh
    Please have a look at the below link
    [Link|Re: To add write statement in BAPI_MATERIALSAVEDATA]
    Hope this will be very useful to Copy the standard BAPI
    Thanks
    Kalyan

  • How to copy data of a table to the same but on a DIFFERENT MACHINE?

    Hello experts,
    I want to copy all entries of table TE422 to the same, but on a <u>different machine</u>. I created a transport request (workbench request using TABU) intending to copy the entire table data from QA into DEV environment.
    However, this is not working, because, in our installation, QA is on one server, and DEV on another! So, in a way, each machine seem to be transparent to the other and I cannot, or, do not know, how to specify the DEV environment as target.
    I was told that I have to do something at the OS level. That is to say, have some kind of SQL query which collects data from one and uploads it onto the other.
    Now my question is: Is there a SAP way to do this, that is to say, forget the SQL thingy and do it with some SAP transaction? If yes, how? If not, do you have a sample code which does this please?
    Your help is greatly appreciated.
    Goharjou

    Method 1:
    You can transport using ALE/IDOC, Write a simple outbound function moule in Source System and Develop a Inbound function module in target system.
    Method 2:
    Download the entire table contents into a flat file from source system by developing a simple report using WS_DOWNLOAD function module. Then Develop a report using WS_UPLOAD in target system and upload thd flat file.
    Thanks & Regards,
    Vijay

  • Copying 2 drives to 1 for the same project

    I'm copying an external drive and have a 2nd for the same project I want to also copy (to the same external drive) and am wondering if I'll have any issues with media becoming unlinked?
    Anyone have any ideas?
    .

    That didn't work at-all. That Media Manager deal is way too confusing in the way the options and parameters are worded - It's like reading riddles. And, I kept getting some kind of i/o error message.
    Blah.
    I copied all the files to a single new drive with 2 partitions and named the partitions the same as the 2 drives I previously had the files on.
    Seems to be working fine other than losing some render files which is pretty normal anyway for FCP.
    .

  • Unable to copy database with different name in the same instance

    I had a huge database and wanted to try some change optimization changes.
    So wanted to make a copy of the database along with data in the same instance.
    I have tried copy database wizard several times but always see the error as in attachment.
    Can someone let me know how to troubleshoot further?
    If this is not the correct way please suggest how do i copy a database with different name in the same instance along with data.

    Hi Nandu,
    From the screenshot, the error 1813 happens when corrupt database log is attempted to attach to the SQL Server. To work around this issue, please preform the following steps, for more details, please review this
    blog.
    1. Create a new database with same name which you want to recover. Make sure that the MDF file and LDF file have same name with previous database data and log file.
    2. Stop SQL Server. Move original MDF file from old location to new location by replacing just created MDF file. Delete the LDF file of new location just created.
    3. Start SQL Server. At this point, the database is in suspect status.
    4. Make sure that system tables of Master database allows to update the values. Please note that you will be performing this in query window.
    Use Master
    go
    sp_configure 'allow updates',1
    reconfigure with override
    go
    5. Change database mode to emergency mode.
    SELECT *
    FROM sysdatabases
    WHERE name = 'DatabaseName'
    BEGIN
    UPDATE sysdatabases
    SET status = 32768
    WHERE name = ' DatabaseName '
    COMMIT TRAN
    6. Restart SQL Server. Then execute the following DBCC command in query window to create new log file.
    DBCC TRACEON (3604)
    DBCC REBUILD_LOG(databasename,'c:\yourdatabasename_log.ldf')
    GO
    7. Reset the database status using following command.
    sp_RESETSTATUS yourdatabasename
    GO
    8. Turn off the update to system tables of Master database running following script.
    USE MASTER
    GO
    sp_CONFIGURE 'allow updates',0
    RECONFIGURE WITH OVERRIDE
    GO
    9. Reset the database status to previous status.
    BEGIN
    UPDATE sysdatabases
    SET status = (value retrieved in first query of step 5)
    WHERE name = 'DatabaseName‘
    COMMIT TRAN
    GO
    Make sure that you have done all the steps in order and restarted SQL Server where it is mentioned. Also run SQL Server Management Studio as administrator.(Right click-> Run as Administrator)
    Thanks,
    Lydia Zhang

  • Multiple Input Ports on BAPI to submit at the same time

    Hi
    I have looked at previous threads and still not getting this right. When I click the submit button I need it to all go to the BAPI at the same time.
    I'm using BAPI SalesorderCreatefromdat2, I need to use at least three input ports.
    I have done the following.
    -dragged the bapi on the page
    -selected the ports required, flipped a port of required
    -the for ports I have created 1 form (Order Headr I n Port), 2 tables (Order Itmes In port, Order Partners Port).
    -the have connected the form and tables to the bapi, so have three different lines.
    -For each one the eventname is *SubmitAll
    -Then there is one button,on the action tab I selected custom action,the name is SUBMITALL, Apply To is Self
    Is the above correct??
    Please let me know, thanks in advance

    Hi Basheer
    Thank you for your reply.
    I have changed the buttons to Action Type "System Action", the field System Action to "Submit Form", the Apply To is "Self"
    I however get the error "Please enter sold to party or ship to party"
    Can you please help me. I have changed my BAPI to use  SalesorderCreatefromdat1 like yours.
    I'm using the following input ports and fields
    -Order Header in form, using fields DISTR_CHAN, DIVISON, DOC_TYPE, SALES_ORG
    -Order Partners Table in table, using fields PARTN_NUM and PARTN_ROLE
    -Order Itmes Table in Table, using fields MATERIAL and TARGET_QTY.
    Is this correct? Thank you for the response.

  • System copy of a DEV system on the same server

    Hi experts!
    In our company, we have a 2-systems landscape, DEV and PRD, and we are working on the system together with another organization of the same company. Now, they want me to "split" the systems, one for each organization, making a copy of the systems. In other words, they want to completely split the systems, running on the same server, development server will have 2 systems, DEV and DEV' and so on in production server.
    The doubt is in developments, as I don't know how to face the CTS and TMS setup to provide 2 different development environments, without losing the actual change requests for both systems. As you know, I have to change the SID, because the copy will be in the same server, so what happends with change requests?? Do I have to make a copy of DIR_TRANS and set up a new DIR_TRANS for the new system???
    Thank you in advance!
    Fran.

    Hi William,
    I guess I did not explain it properly.
    Now we have:
    1. System DEV in DEV server.
    2. System PRD in PRD server.
    Transport later ZDEV from DEV to PRD.
    And we will do:
    1. Homogeneous system copy from DEV to DEV' in DEV server, so we will have DEV and DEV' on the same server.
    2. Homogeneous system copy from PRD to PRD' in PRD server, so we will have PRD and PRD' on the same server.
    Sizing is good, servers are very powerful.
    The doubt is configuring the TMS, as we will have two different development environments on the same server. How do I have to set up the TMS properly???
    Thanks!!

  • I can't copy and paste formatted text within the same or between Word and Excel documents

    I run Microsoft Office Professional Plus 2010 (English) (Student Select)
    when I try to copy any formatted text or tables within the same or different Word documents I will always loose the formatting. This is also true if I try to copy formats or formatted tables within Excel or from Excel to Word, see example screenshot:
    When I have a look at my paste options via 'Alt', 'e', 's' or 'Paste special' it only lets me choose between "Unformatted Text" or "Unformatted Unicode Text", see screenshot:
    Here is what I tried already:
    - In the advance options menu all options are on "keep formatting"
    - I uninstalled and reinstalled the entire office suit but keep having the same problem!
    Any ideas?
    Thanks in advance,
    Boston

    I found the solution on another site, superuser.com, so I can't claim the solution as my own, but it worked for me. Kent Ng says: 
    I face the similar issue with Excel 2003. If you have installed Skype-Click-to-Call, just removed it to resolve this issue.

  • Copying contents between hard drives with the same folder names erases data

    I have Final Cut Pro assets stored in two hard drives. I was attempting to consolidate them into a single directory on one of the two hard drives. I did this by dragging and dropping the contents of one folder into the equivalent folder on the destination hard drive, meaning that several folder names were shared between the two directories.
    In Windows, the only contents that would be overwritten are files and folders who share the exact same relative name during the copy procedure. However, OS X appears to have erased the entire contents of the destination folder in favor of the contents of the source folder.
    Time Machine is not enabled: Not enough hard drive space to store everything twice.
    Is this by design? Am I missing something? Is my data recoverable by means that would not cost me several hundreds of dollars? On a scale of 1 to screwed, am I screwed?
    Message was edited by: NuclearBastard

    Seems like you did not select the content but the folder itself. Let's say you're copying from folder A to B. To only overwrite stuff in folder B with the same name while keeping other files & folders, you need to go inside folder A and select the content. If you do select folder A itself, it will completely replace folder B. This is normal behaviour and I'm sure it's the same with other operating systems like Windows.
    This behaviour, of course, applies also to any subfolders within A & B, so you can't just use the Finder for such a +merge operation+. I'm not 100% sure, but since you were overwriting a lot of stuff, I'd say you're screwed and your data is gone, sorry.
    To avoid things like that in the future, you might want to use software which has the ability to synchronize file structures. In Terminal you can use ditto for that, but there are several GUI apps out there, too. Just search http://www.versiontracker.com for merge or synchronize and you should find something.
    Björn

Maybe you are looking for

  • HTTP to JDBC

    Hi Experts, I am doing a HTTP to JDBC synchronous interface, while testing it from the Component Monitoring using the Test Message, i get the status as Message Sent . But when i check it in the SXMB_MONI i am getting the following error com.sap.aii.a

  • Color shift between Ai and the web ... again

    Hi there, Classic problem again ... color never seems to let me rest in peace Well, I copied colors hex numbers from this palette http://www.colourlovers.com/palette/2077685/Stargazer When I fill 5 squares in Illustrator, each one with the palette's

  • Move from iphoto to photoshop

    I just got Photoshop elements and would like to stop automatic download of my photos into iphoto. I figured out how to edit the photos in Photoshop but can't seem to find an iphoto setting that will stop it from being the default program that opens a

  • How do you pass XML as a URL param?

    How do you pass XML as a URL param? Thanks!

  • I have a urgent question?

    Hi, friends: I am installing Oracle RAC 10gR2--.. when I first install Oracle clusterware, I got an error that we didn't met before: In the cluster configuration page---I input all the public, private, and VIP name for each node. When go next, I saw