Copy standard BAPi
Can anybody send me the step by step procedure for copy the standard bapi , i copied the bapi , but its no coping all the incules and function modules ,
when iam tyring to copy those its error..
pls any help me abt this pls..
Regards,
pandu
Hi,
Check this.
http://help.sap.com/saphelp_nw04/helpdata/en/df/0495e4bd6f11d1ad09080009b0fb56/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/18/22b812773211d396b20004ac96334b/content.htm
Reward if helpful.
regards,
Ramya
Similar Messages
-
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,
AratiIf 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. -
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 MHi,
To copy the standard BAPI into ZBAPI.
check this link:
how to copy BAPI
How to Copy standard BAPI to ZBAPI....
Regards
Adil -
Copying standard transaction to Z-Transaction
Hi,
I need to copy standard transaction to Z-Transaction,
i.e., MIRO to ZMIRO.
And then I need to insert some code in one of the include program of ZMIRO.
please tell me the various steps involve for copying a standard transaction.While copying a standard transaction may at first seem the easy way to achieve the functionality you need, there are a number of longer term negatives with this approach.
If you copy major parts of SAP code like this, your copies will not be kept up to date as SAP OSS Notes are applied to the original using SNOTE. You can manually apply such changes, but this is nearly always forgotten as the person applying the note does not always realise there is a local copy.
This also applies when support packs are loaded - the SAP code can be changed without these changes being reflected in your copy. In the worst case scenario, the change may result in your copy of the transaction performing invalid updates to data and causing data integrity issues in your system.
When the time comes to upgrade the system, there will be a major amount of work in comparing the Z version of the code with the standard code to identify what is in the new version and to update the Z code - in a lot of cases this will mean a complete rebuild of the Z version is required.
It is far better to use available BADIs, user exits, enhancement points and even repairs using the object key to achieve the desired result so that tools like SNOTE, SPAU, etc can keep the basic code up to date with the latest patches.
Another option for some types of change is to build a custom screen that calls the standard transaction using BDC / Call Transaction or using a BAPI so that the data is presented as desired by the customer, but the updates still use the SAP supplied code.
Andrew -
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,
SurjithI 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. -
Dear All,
I am using standard BAPI Name is BAPI_AR_ACC_GETBALANCEDITEMS.This BAPI also using in Interface on J2ee AND SAP.Now I am Added in One New Field.Name is USNAM.But USNAM Field is Not Available in the above BAPI.How to Add the USNAM field.Please Help me.AND Standrad BAPICopy is Possible.IF it Possible How to Copy the standard bapi.
NOTE: I will try for developement system Is need to Accesskey.
regards,
raj a1. When trying to enhance a standard BAPI, you can make use to the new enhancement framework to extend the interface. However, you will need to have at least mySAP 2005 based on SAP NW 2004s.
2. Copy the BAPI to a Z_BAPI and use that. Go to transaction SE80 and display the function module (BAPI) to be copied. Press left mouse button on FM in the tree on the left and choose copy. In some cases it might be better to copy the whole function group since in the top include of the function group, all global variables are declared which are used in your function module. so instead of declaring them yourself, it would be faster to copy the whole function group.
3. Change the interface via modification, you will need an access key. -
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,
RajHi 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 -
Issue while creating Outbound Delivery using Standard BAPI
Hi all,
I am trying to create an outbound delivery for a Sales order using the Standard BAPI - BAPI_OUTB_DELIVERY_CREATE_SLS.
After giving the valid inputs for Sales order no and doc no, am getting an error as "No instance of object type OutboundDelivery has been created. External reference:" But when trying to create manually there is no problem. Please suggest what may be the issue and how to correct it?
Regards,
Vimala PHi Vimala,
I am trying to create outbound delivery using BAPI_OUTB_DELIVERY_CREATE_SLS & BAPI_DELIVERYPROCESSING_EXEC. But no success. Getting "No instance of object type outbound delivery has been created" in return.
1) Delivery Type
2) Delivery selection date
Needs to be passed in import parameters.
Could you please tell me what are all the parameters to be passed under tables tab in RV_DELIVERY_CREATE?
Thanks in Advance..
Regards,
Rajasekar .M -
Support message creation using "BAPI_NOTIFICATION_CREATE" standard BAPI
Hello Experts,
I am a ABAPer making use of "BAPI_NOTIFICATION_CREATE", for creation of support desk message in SOLMAN 4.0 . The problems that i am facing , when i create message using this BAPI are,
1)By default the notification type is taken as 'SLFN',though i pass 'SLF1' as my input parameter to BAPI.WHY is this happening?
2)The description part of the message is not coming up in the support desk screen ,though i pass it in NOTIF_TEXT_LINES in TDLINE.
3)Support Team value is getting picked up in the partners tab of Transaction data in support desk screen.
4)I would like to ADD ATTACHMENTS also ? where should i pass this parameter ?
Other than this i am getting the rest of the feilds,in the message created
If some one has worked with this standard BAPI pls send me the details of the input parameters that i have to pass for the message creation and give solution for my problem ASAP.
If there are any SAP notes or blogs that are related to this,pls send me those details also, its a urgent requirement.
Thanks & Regards,
Mohana PriyaWas this resolved? I am having same issue I need to get the Description and Attachements fixed, Any help is appreciated, Thanks
-
Copy standard cost with Cost Component from another material
Hi,
I need to copy standard cost from another material not only total price but also details of cost component split. I try to used transaction CKUC with procedure of "explode material cost estimate" but the reference material use "mixed costing" and isystem stop explosion.
There is another procedure in order to make this copy? I can not use special procurement because are different codes (material A / Plant XXX copy froma material B /Plant XXX).
Thanks for your support.
MicHi Chandra,
thanks for your suggestion, it works but only if I explode a level ... material "B" contains two mix codes that also contain their mixes. So system shows this message "Mixed cost estimate explosion in level 2 for material xxx" and "Mixed cost estimate exists: maximum of 2 explosion level (s) possible".
So Is not possible to copy and esploded a standard cost with multi level mix?
Thanks
Michela -
How to add new fields in sap copied standard form using itcsy structure
hi guys,
i want add some fields in sap script copied standard form using itcsy structure.
let me know the procedure with any example.
thanks,
anitha.Hii anitha
plz c code below
Syntax goes like this
/: PERFORM <form> IN PROGRAM <prog>
/: USING &INVAR1&
/: USING &INVAR2&
/: CHANGING &OUTVAR1&
/: CHANGING &OUTVAR2&
/: ENDPERFORM
INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
Example:
In script form
/: PERFORM READ_TEXTS IN PROGRAM 'Z08M1_FORM_EKFORM1'
/: USING &EKKO-EKORG&
/: USING &EKPO-WERKS&
/: USING &EKKO-EKGRP&
/: USING &EKKO-BSTYP&
/: CHANGING &COMPNAME&
/: CHANGING &SENDADR&
/: CHANGING &INVCADR&
/: CHANGING &COMPADR&
/: CHANGING &COVERLTR&
/: CHANGING &SHIPADR&
/: CHANGING &REMINDER&
/: CHANGING &REJECTION&
/: CHANGING &POSTADR&
/: CHANGING &LOGO&
/: ENDPERFORM
In program
FORM Read_texts - To extract the standard texts from the table *
FORM READ_TEXTS TABLES IN_PAR STRUCTURE ITCSY
OUT_PAR STRUCTURE ITCSY.
DATA : L_EKORG TYPE EKORG,
L_WERKS TYPE WERKS_D,
L_BSTYP TYPE BSTYP,
L_EKGRP TYPE BKGRP.
READ TABLE IN_PAR WITH KEY 'EKKO-EKORG' .
CHECK SY-SUBRC = 0.
L_EKORG = IN_PAR-VALUE.
READ TABLE IN_PAR WITH KEY 'EKPO-WERKS' .
CHECK SY-SUBRC = 0.
L_WERKS = IN_PAR-VALUE.
READ TABLE IN_PAR WITH KEY 'EKKO-EKGRP' .
CHECK SY-SUBRC = 0.
L_EKGRP = IN_PAR-VALUE.
READ TABLE IN_PAR WITH KEY 'EKKO-BSTYP' .
CHECK SY-SUBRC = 0.
L_BSTYP = IN_PAR-VALUE.
CLEAR Z08M1_ORG_TEXTS.
SELECT SINGLE * FROM Z08M1_ORG_TEXTS WHERE EKORG = L_EKORG
AND WERKS = L_WERKS
AND EKGRP = L_EKGRP
AND BSTYP = L_BSTYP.
IF SY-SUBRC NE 0.
SELECT SINGLE * FROM Z08M1_ORG_TEXTS WHERE EKORG = L_EKORG
AND WERKS = L_WERKS
AND EKGRP = L_EKGRP
AND BSTYP = SPACE.
ENDIF.
READ TABLE OUT_PAR WITH KEY 'COMPNAME'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_COMP.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'SENDADR'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_ADRS.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'INVCADR'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_INVC.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'COMPADR'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_CPAD.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'COVERLTR'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_COVR.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'SHIPADR'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_SHIP.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'REMINDER'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_RMDR.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'REJECTION'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_RJCT.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'POSTADR'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_POST.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'LOGO'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_LOGO.
MODIFY OUT_PAR INDEX SY-TABIX.
ENDFORM.
reward points if useful
regards
Jaipal -
Standard BAPI to post payment in SAP-ISU
Hi Experts,
My client's requirement is the payment via third party should be posted synchronously in SAP-ISU system means payment is accepted by third party and we just need to update that payment in SAP-ISU system. We are trying to achieve this by RFC.
I came across BAPI_CTRACCTRCTACCNT_PAYBYCARD which post the payment in the system but it need credit card detail. I want to post the payment from third party which can be cash/cheque. I just wanted to know if there is any standard BAPI which can be used to post payment in SAP-ISU system?
Thanks in Advance,
Mansoob
Edited by: Mansoobkhan on Oct 21, 2010 4:08 PMHi you can try with the following BAPI'S
BAPI_CTRACPAYMINC_CREATE
BAPI_CTRACPAYMINC_APPEND
BAPI_CTRACPAYMINC_RELEASE
BAPI_CTRACPAYMINC_CLOSE
If you have PI available you should check out the external cash desk functionality.
Best regards.
Cristóbal. -
Standard BAPI or Function Module for FB01posting
Hi Experts,
My requirement is as follows.
Invoice details would be sent across from Middleware to SAP and for which I have developed a Custom Remote Enabled Function Module. The Function Module needs to post the data using FB01 Transaction.
I had planned for recording a BDC for FB01 and post the data, however, we are on the verge of getting upgraded from 4.7 to ECC 6.0. To avoid problems that we might face for change of screens in ECC 6.0, I would prefer using a BAPI or Function Module for FB01 posting, if available, instead of BDC.
Data coming from Middleware are as follows.
HEADER:
BKPF-BLDAT : Document Date
BKPF-BUDAT : Posting Date
BKPF-XBLNR: Reference (Invoice#)
BKPF-BLART : Document Type
BKPF-BUKRS : Company Code
BKPF-BKTXT : DocHeader Text
BKPF-WAERS : Currency
LINE ITEM:
BSEG-LIFNR : Vendor no
BSEG-WRBTR - Total amt -Debit/Credit -Vendor
BSEG-ZUONR : Assignment field
BSEG-EMPFB : Alternative Payee
BSEG-UZAWE : Payment Method Supplement
BSEG-ZTERM : Pmt terms
BSEG-KOSTL : Costcenter
BSEG-HKONT : GL AccountNumber
BSEG-WRBTR : Amount for GL
BSEG-SGTXT : Line item text
The Vendor Line Item would be one where as GL line items could me more than one.
Can any of you suggest me a standard BAPI or Func Mod?
Points will be awarded for valuable inputs.
Thanks to all!!!!You can use RFBIBL00 program for FB01 postings. Go through the program help on how to use this program.
This program requires a file to be on application server in a certain format.
You may also refer the program RFBIBLT0 on how the file format should be.
Hope this helps.
Thanks,
SKJ -
Are there any standard BAPIs available to load Vendor and Park invoices?
Hi Gurus,
do we have standard BAPI;s available to load "Vendor" master data and to "Park Vendor Invoices"? Please advise,
1) I wanted to load vendors from the flat file, with input fields and it is a mass update.?
2) I wanted to park the documents around 100 or so at one time, not posting?
Any suggesttions on the Bapis available?
Thanks
SuryaRavi,
Thanks for your suggestions. But BAPI_VENDOR_CREATE doesnt have any input fields, am not sure how it is used??? And also, I am sepcifically looking for BAPI;s LSMW will do but looking for more of a web service kind of service with BAPI. I am looking for a service which reads fields from input file and store in LFA1 table.
Also regarding the second BAPI, i read in some threads that we need PO number to park it, but my invoices have only reference from the old system, not PO number, does this matter??
Thanks
Surya -
Which option to choose:idoc user exit or copy standard idoc?
Hi gurus,
We are using idoc technolody to implement the interface between R3 and 3rd party system.
Most of idocs are inbound processing, and it seems standard idoc can't meet our all requirements.
So we are considering the option:i choose doc user exit or create new idoc by copying standard idoc.
Which way do you like better?What are the advantages and disadvantages of them?
Any help will be appreciated.
BTW, our customer will upgrade their R3 4.7 system to ECC6.0 after this project the next year.Hi,
By making changes in the User-Exits, if you can achieve what you are looking for then I would recommend to use user-exits. SAP programs are not bug free and SAP keeps on updating them by releasing hundreds of notes every day. If customer is upgrading to new version in near future then using standard programs are the best option.
Cheers,
Maybe you are looking for
-
Why can't I delete certain songs from my iPhone?
On my iPhone they are songs that synced from my computer that I don't want on my phone too. I was trying to delete them today and most of the songs i didn't want on my phone wouldn't delete and I was wondering if there was a reason for that or a way
-
How to take my phone out of recovery mode without erasing all data
I recently tried to update my iphone in itunes but an error occured and now my phone is stuck in recovery mode and it says that if i restore i will lose all my data. How can i just go back to where i was before i tried to update. I cannot contact app
-
Running OS X 10.8.2 with iLife '09 with iPhoto, iMovie and Garage band all in one install. Yesterday, I purchased iPhoto '11 and iMovie '11 through iTunes. It showed "Downloading" and then finally "Downloaded" for both but did take a long time to com
-
Still no Contacts sync in Mavericks 10.9.3
Mavericks 10.9.3 says "Adds the ability to sync contacts and calendars between a Mac and iOS device using a USB connection" I updated Mavericks to 10.9.3, iTunes to 11.2.2, but when I connect my iPod classic iTunes doesn't show any place to sync cont
-
Hello All, I've created different roles for different applications and attached them to the Users. Now when I chk the same as a User I see this : 1. I've opened the Portal 2. I navigated thru the Roles I've been authorized-to. 3. Now all the iviews f