‎2007 Feb 06 4:58 AM
Hi All,
I am trying to add a new field in Bapi 'HRXSS_COD_GET_DETAILS' . There are already 5 fields present in the export parameters of Detail_table and now I want to add a new field.Is it possible? If so, how can i add that.
Need your help on this.
Thnx, NR
‎2007 Feb 06 5:02 AM
Hi,
You can add any field as required but for that u need to copy the standard BAPI into a customised bapi with all the required functionality and carry on.... As BAPI is nothing but a FM with a RFC-enable.
Hope this helps...
Reward if found useful..
‎2007 Feb 06 5:02 AM
Hi,
You can add any field as required but for that u need to copy the standard BAPI into a customised bapi with all the required functionality and carry on.... As BAPI is nothing but a FM with a RFC-enable.
Hope this helps...
Reward if found useful..
‎2007 Feb 06 5:09 AM
Hi Susanth,
Thnx for your prompt reply.
I am not an ABAPer, so excuse me. Can u post a sample code of addding a field after copying the standard one.
We are having ESS/MSS on ECC5.0 with EP6.
Here all the iviews that are present at portal end, are standard webdynpro applications that communicate with standard BAPIs.. (in my case 'HRXSS_COD_GET_DETAILS' ) . how does that affect here ?
Regards,
NR
Message was edited by:
NR
‎2007 Feb 06 5:18 AM
Hi,
I guess there should be no problem because the function done by the Standard BAPI will now be done by the Customised BAPI and afterwards the interfacing part should be done as usual.
Please go through the below links which guide how to create a BAPI...
http://www.erpgenie.com/sap/abap/bapi/example.htm
http://help.sap.com/saphelp_45b/helpdata/de/1f/a862ebc47411d2806300c04fada2a1/content.htm
http://www.sappoint.com/abap/bapiintro.pdf#search=%22How%20to%20create%20a%20Bapi%20%22
http://searchsap.techtarget.com/topicETA/0,295498,sid21_tax299359_idx10_off10,00.html
Reward points if found useful...
Cheers...
‎2007 Feb 06 5:27 AM
Thnx for that links.
I shall try it and get back to u if any doudt.
and do you have any idea about how to track which particular webdynpro application is using which BAPI, to get the content displayed from the backend.
and if made any changes in the BAPI, how to reflect the same with the WDP appl'n so we get the modified content in Portal. ( bcoz, the functionality of standard BAPI is being replaced with the customized BAPI)
‎2007 Feb 06 5:34 AM
Sorry,
I have no deep idea regarding webdynpro application and Portals....
‎2007 Feb 06 5:07 AM
Copy the standard BAPI to a Z FM and make changes as per ur requirement.
amit