Query on Bapi
HI
This is the query on BAPi,I have got one FS on Enhancement.i.e EPOS Upload program,that means i have to upload the data from Excel sheet to sap by using BAPI.I have one BAPI Name also,i.e XBAPI_RE_CN_SALES_REP_REPORT.This was given from onsite,i am workig in offshore,Actually in the excel sheet the fields are comp code,contact number,sale type,report name ,report to,and sales netvolume.But in that BAPI i could not find all the parameters which are existing in the excel sheet.If we want to upload the data from excel sheet,we shud have the same fields in the BAPI na!! to pass from that fucntion module(BAPI).So please tell me the process and coding ,I know its very simple procedure.But I am unable to do it.Please help me out
it is necessary to have fields...but there might be a case where company code in BAPI will hold some other field, means it might not be company code but some other field and when executed it transfers data to company code field. also, XBAPI_RE_CN_SALES_REP_REPORT is not a BAPI...check it...
Similar Messages
-
Querying a BAPI Function Module
Is it possible to write a query on the BAPI Function Module. For example I have a views in oracle database and i can query the views based on some condition and get the required data from the views. In the same way is it possible to query the BAPI function module to get the data based on given condition
Hi Nikki,
You can use FM RFC_READ_TABLE to read data from any SAP table.
Also check following post by Raja -
RFC_READ_TABLE for SAP Web AS - Code Sample
Cheers,
Sanjeev -
Hi Friends,
Here is my query in BAPI,
I need a BAPI to upload asset information (which is currently held in Physical data) data to SAP.
Its very very urgent for me,plz help me on this.
Thanks a lot in Advance.
mrutyun^hi Mrutyunjaya,
try using BAPI_FIXEDASSET_CREATE1.
You will get lot of information about asset in business object BUS1022.
regards, -
Hi All,
I have a requirement on LSMW, Can any body send me step-by-step procedure
to create SD-pricing conditions by using BAPI in LSMW.
Thanks,
Nagahi naga,
FOR BAPI/IDOC METHOD, WE NEED TO MAINTAIN IDOC INBOUND PROCESSING EXPLICITLY. IN THE INITIAL TRANSACTION OF LSMW, GO TO SETTINGS AND CLICK IDOC INBOUND PROCESSING. WE NEED TO PERFORM THE FOLLOWING STEPS.
 DEFINE OR SELECT A FILE PORT FOR TRANSPORTING THE FILE. OPTIONALLY, YOU CAN ALSO CREATE A TRFC PORT.
 THE PARTNER TYPE HAS TO BE DEFINED OR SELECTED.
 THE PARTNER NUMBER HAS TO BE DEFINED OR SELECTED.
 IDOC INBOUND PROCESSING MUST BE ACTIVATED AND THE WORKFLOW CUSTOMIZING MUST BE CHECKED. BOTH OF THESE TASKS ARE PERFORMED ONCE IN EACH SYSTEM.
EXPORTING AND IMPORTING
EXPORTING - IT IS A GOOD IDEA TO PERFORM THE MIGRATION FROM A LEGACY SYSTEM TO THE SAP SYSTEM IN A TEST SYSTEM FIRST. THIS FUNCTION IS USED TO TRANSFER THE FIELD ASSIGNMENTS DEVELOPED TO THE PRODUCTION SYSTEM.
IMPORTING - IMPORT THE MAPPING AND FIELD ASSIGNMENTS INTO A DIFFERENT SAP SYSTEM.
1) MAINTAINING OBJECT ATTRIBUTES
SPECIFY WHETHER THE DATA IS TO BE TRANSFERRED ONCE OR PERIODICALLY. AND THEN SPECIFY WHICH METHOD YOU GONNA USE FOR THE DATA TRANSFER.
2) MAINTAING SOURCE STRUCTURE
WE CAN CREATE SOURCE STRUCTURES EITHER AT THE SAME LEVEL OR AT THE LOWER LEVEL.
3) MAINTAINING SOURCE FIELDS
WE CAN DIRECTLY CREATE THE SOURCE FIELDS. OR WE CAN COPY THE FIELDS USING THE FOLLOWING METHODS.
 UPLOAD TAB DELIMITED TEXT
 COPY FROM OTHER OBJECT
 COPY FROM DATA REPOSITORY FROM A STRUCTURE OF ABAP DICTIONARY.
 FROM DATA FILE.
4) MAINTAING STRUCTURE RELATIONS
HERE WE ARE ESTABLISHING THE STRUCTURE RELATIONSHIPS BETWEEN THE PROJECT AND THE SAP SYSTEM.
5) MAINTAIN FIELD MAPPING AND CONVERSION RULES
HERE WE ARE MAINTAINING THE FILED RELATIONSHIP BETWEEN THE SOURCE AND TARGET STRUCTURE.
AUTO FIELD MAPPING
AUTO FIELD MAPPING IS USEFUL IN CASE IF FIELDS WITH IDENTICAL OR SIMILAR NAMES/DESCRIPTIONS EXIST IN THE SOURCE AND TARGET STRUCTURES. THIS IS PARTICULARLY THE CASE IF DATA IS TRANSFERRED FROM ONE SAP SYSTEM TO ANOTHER SAP SYSTEM.
CONVERSION RULES
THE DEFAULE CONVERSION RULE IS TRANSFER (MOVE).
INITIAL, CONSTANT, TRANSFER (MOVE), PREFIX, SUFFIX, CONCATENATION, TRANSFER LEFT- ALIGNED, ABAP CODE, X FIELD, MOVE WITH LEADING ZEROS, [(R) FIXED VALUE, TRANSLATION AND USER-DEFINED ROUTINE].
THERE IS A CHECKBOX ONLY IF SOURCE FIELD NOT INITIAL.
GLOBAL VARIABLES
WE CAN USE THESE GLOBAL VARIABLES IN ABAP CODE.
G_PROJECT CURRENT PROJECT
G_SUBPROJ CURRENT SUBPROJECT
G_OBJECT CURRENT OBJECT
G_RECORD CURRENT TARGET STRUCTURE
PROCESSING TIMES
__BEGIN_OF_PROCESSING__ BEFORE PROCESSING OF DATA IS STARTED.
__BEGIN_OF_RECORD__ BEFORE THE CONVERSION RULE FOR A SOURCE STRUCTURE IS APPLIED.
__END_OF_RECORD AFTER THE CONVERSION RULE FOR A SOURCE STRUCTURE HAS BEEN APPLIED.
__END_OF_TRANSACTION__ AFTER PROCESSING OF THE TRANSACTION HAS BEEN COMPLETED.
__END_OF_PROCESSING__ AFTER PROCESSING OF DATA HAS BEEN COMPLETED.
__BEGIN_OF_TRANSACTION__ BEFORE PROCESSING OF DATA FOR A TRANSACTION IS STARTED
GLOBAL FUNCTIONS
TRANSFER_RECORD. THE CURRENT RECORD (THAT IS, THE RECORD FOR THE CURRENT TARGET STRUCTURE) IS TRANSFERRED TO THE OUTPUT BUFFER.
TRANSFER_THIS_RECORD '...'. A RECORD OF A DIFFERENT TARGET STRUCTURE IS TRANSFERRED TO THE OUTPUT BUFFER. THE NAME OF THE TARGET STRUCTURE HAS TO BE SPECIFIED AS ARGUMENT BETWEEN QUOTATION MARKS.
AT_FIRST_TRANSFER_RECORD. THE CURRENT RECORD IS TRANSFERRED TO THE OUTPUT BUFFER IF IT IS THE FIRST TRANSACTION INVOLVED.
ON_CHANGE_TRANSFER_RECORD. THE CURRENT RECORD IS TRANSFERRED TO THE OUTPUT BUFFER IF IT HAS CHANGED AS COMPARED TO THE LAST RECORD.
TRANSFER_TRANSACTION. THE CURRENT TRANSACTION IS WRITTEN TO THE OUTPUT FILE. THIS TRANSFERS ALL THE RECORDS OF THE OUTPUT BUFFER TO THE OUTPUT FILE.
SKIP_RECORD. THE CURRENT RECORD IS NOT TRANSFERRED TO THE OUTPUT BUFFER.
SKIP_TRANSACTION. THE CURRENT TRANSACTION IS NOT WRITTEN TO THE OUTPUT FILE.
6) MAINTAIN FIXED VALUES, TRANSALTIONS, USER-DEFINED ROUTINES
REUSABLE RULES ALLOW YOU TO DEFINE CONVERSION RULES THAT CAN BE USED SEVERAL TIMES.
7) SPECIFY FILES
WE CAN SPECIFY FILES IN PC OR IN APPLICATION SERVER. IN CASE YOUR DATA IS STORED IN MULTIPLE SETS OF FILES, YOU CAN SPECIFY A WILDCARD (*) FOR THE NAME OF YOUR FILE. A WILDCARD CAN BE USED EVERY TIME THE FILES FOR SEVERAL IMPORT RUNS COME FROM DIFFERENT FILES; WITH THE FILE NAME BEING DIFFERENT IS SOME CHARACTERS ONLY.
FOR READ DATA, THE FILE NAME IS IN THE FORMAT OF PROJECT_SBPROJ_OBJ.LSMW.READ
FOR CONVERTED DATA, THE FILE NAME IS IN THE FORMAT OF PROJECT_SBPROJ_OBJ.LSMW.CONV
8) ASSIGN FILES
ASSIGNS THE FILES ALREADY DEFINED TO THE SOURCE STRUCTURES.
CONVERSION PROGRAM - /1CADMC/SAP_LSMW_CONV_OBJN.
9) READ DATA
THE FILES MUST HAVE BEEN SPECIFIED BEFORE AND MADE KNOWN TO THE LSMW. IN THIS STEP, THE DATA IS READ INTO THE APPLICATION SERVER.
WE CAN READ THE SELECTED DATA BY GIVING TRANSACTION NUMBER.
10) CONVERT DATA
THE FILE OF READ DATA IS TRANSFERRED TO THE FILE OF CONVERTED DATA DURING MIGRATION.
WHEN THE LSMW OBJECT IS BASED ON A BAPI OR AN IDOC, ADDITIONAL SELECTION PARAMETERS ARE AVAILABLE ON THE SELECTION SCREEN OF THE DATA CONVERSION PROGRAM:
CREATE IDOCS DIRECTLY: IDOCS ARE COLLECTED AND THEN PASSED FOR IDOC GENERATION PACKAGE BY PACKAGE.
NO. OF IDOCS PER PACKAGE: THE DEFAULT IS 50 (THIS VALUE CAN BE CHANGED).
THE ABOVE MENTIONED STEPS ARE COMMON FOR ALL THE TYPES OF IMPORTING METHODS IN LSMW.
IN THE CASE OF STANDARD BATCH INPUT/ BATCH INPUT RECORDING, CREATING BATCH INPUT SESSION AND PROCESSING THAT.
IN THE CASE OF STANDARD DIRECT INPUT, START A DIRECT INPUT SESSION.
IN THE CASE OF BAPI/ IDOC,
 STARTING IDOC GENERATION
 STARTING IDOC PROCESSING
 CREATING AN IDOC OVERVIEW
 STARTING IDOC POSTPROCESSING
FOR DIRECT INPUT METHOD, WE CAN USE EITHER THE PROGRAM RMDATIND OR THE TRANSACTION BMV0.
STARTING IDOC GENERATION FIRST, THE FILE WITH THE CONVERTED DATA IS READ. THE PACKETS OF INFORMATION IN THIS FILE ARE THEN SAVED TO THE SAP DATABASE IN IDOC FORMAT, BUT NOT TO THE DATABASE OF THE CORRESPONDING APPLICATION. THE SYSTEM ASSIGNS A NUMBER TO EACH IDOC. THE FILE WITH THE CONVERTED DATA IS THEN DELETED.
STARTING IDOC PROCESSING THE IDOCS CREATED IN THE FIRST STEP ARE SENT TO THE ASSOCIATED APPLICATION PROGRAM. THIS APPLICATION PROGRAM CHECKS THE DATA AND UPDATES IT IN THE APPLICATION DATABASE, IF NECESSARY.
Pls reward if helpful. -
BEx Query and BAPI RSR_OLAP_BADI
Implemented the badi so that Virtual Key Figure could be populated. (Cube does not have std cost, so it's defined as VKF. Std cost resides in custom table. By providing Material number from query it could be retrieved thru BADI.)
Unfortunately, cube is cumulative, thus in badi I need to pass 'I_NCUM' as 'X'. I am unable to do so, as parameter I_NCUM is not changeable. I may have to implement it differently. Do not know how. Any help would be appreciated.
Thank youHi,
You could use a formula variable directly in the query. Create it of type customer exit and then code it to retrieve the standard cost.
Regards. -
Hi All,
I have a requirement where-in I would need to change the Expiration Date of a Credit Card.
Is there any FM or BAPI through which i can have my requirement achieved?
If not, then i guess i would need to create a Custom BAPI i.e. "Z" BAPI.
Thanks in Advance,
RajeshI don't think there is a standard BAPI available to do that.
Regards,
Ravi
Note :Please mark all the helpful answers -
Query in BAPI BAPI_GOODSMVT_CREATE
Hi,
I am usnig a BAPI BAPI_GOODSMVT_CREATE for creating good movement. I am succefully able to update the document flow. But when i try to delete the material through MIGO then not able to update the document flow.
If the goods movement is created through standard then i am successfully able to delete the material document and document flow is updated successfully.
I am passing the following parameters in the BAPI.
At Item Level: gs_item-move_type = '101'.
gs_item-mvt_ind = 'B'.
gs_item-po_number
gs_item-po_item
gs_item-deliv_numb_to_search
gs_item-deliv_item_to_search
gs_item-deliv_numb
gs_item-deliv_item
gs_item-entry_qnt
gs_item-entry_uom
gs_item-stge_loc
At Header Level:
gs_header-pstng_date = p_bldat.
gs_header-doc_date = sy-datum.
gs_code-gm_code = '01'.
Please suggest if i am getting wrong or have to pass some other parameters at header or item level so that when user delete the record through MIGO then also document flow will occur.
I have searched on SDN a lot for this but just found how to update document flow while creating... not while deleting through MIGO.
Regards,
Pankaj AggarwalHi,
please suggest how can i achieve.. -
Hi,
I would like to know if there is a BAPI for changing the plant in a PO.I have already checked the following Function Modules and they do not serve the purpose.
CN_WF_PURCHASE_ORDER_CHANGE
MASS_CHANGE_PURCHASE_ORD
MASS_CHANGE_PURCHASE_REQ
SD_PURCHASE_CHANGE_ORDER
ME_CHANGE_PURCHASE_DOCUMENT
WWG2_PURCHASE_ORDER_CHANGE
Any genuine help would be appreciated.
Thanks and Regards,
Nejuma IqbalUse the BAPI BAPI_PO_CHANGE.
Check the below link for the sample code:
http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm
Regards,
Prakash. -
A small query about BAPI "BAPI_PBSRVAPS_GETDETAIL"
Hi All,
I am Reading key figures from a planning area by parallally running jobs !
I am using BAPI "BAPI_PBSRVAPS_GETDETAIL" in the code.
When i run the program parallally for separate locations, run time exceeds.
Is it because lot of programs are trying to access live cache key figures from the same planning area.
One more strange thing is that after 5 to 6 runs, even if i run for a single location,
it takes increasingly bad time. Do you suggest to open and close simsessions in the code?? But how would that be helpful !
Please win full points by answering this simple question!
Thanks in advance,
chandanHi Chandan,
see note 792626 for performance.
Other question - which release do you have ? > 4.0 the BAPI_PBSRVAPS_GETDETAIL is obsolete and should be replaced by BAPI_PBSRVAPS_GETDETAIL2
Regards,
Ernst -
Hi experts
Can i have the sample program for invoice posting through bapi ,hi,
Please refer this link
BAPI_ACC_INVOICE_RECEIPT_POST Error
or
search on this
https://www.sdn.sap.com/irj/scn/advancedsearch?query=invoicepostingthrough+bapi&cat=sdn_all
thanks -
Update the table SCMG_T_CASE_ATTR using BAPI
Hi Experts,
I have query regarding bapi BAPI_DISPUTE_ATTRIBUTES_CHANGE.
what are the values to be passed in attribute of tables section.
I have pass field name as 'closed_by' (of table SCMG_T_CASE_ATTR) in parameter of bapi (ATTR_ID).
And attr_value field with 'test'.
Please help me to update a field value like 'closed_by' of SCMG_T_CASE_ATTR using this bapi.
Thanks in advance,
SahilHi Cristobal,
Thanks for helping me, however the function does not give me any results, the problem is that this document is a linked object, and not an attachment.
Thanks for your help.
Best regards,
Adriana -
May i know about BAPi and BADI ?
Hi All,
I want to learn the Cross Applications in ABAP. Do the BAPI and BADI comes under CA ? Can you please sugges me any tutorials regarding the BAPI and BADI ?
Rewarded if useful.
Thanks,
KKHi,
check any fo the below links. this will def help u.
badi.
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
http://www.allsaplinks.com/badi.html
And also download this file....
http://www.savefile.com/files.php?fid=8913854
There are other tutorials on this site...
http://sapbrain.com/Tutorials/tuto_download.html
BADI'S
http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
http://support.sas.com/rnd/papers/sugi30/SAP.ppt
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
http://members.aol.com/_ht_a/skarkada/sap/
http://www.ct-software.com/reportpool_frame.htm
http://www.saphelp.com/SAP_Technical.htm
http://www.kabai.com/abaps/q.htm
http://www.guidancetech.com/people/holland/sap/abap/
http://www.planetsap.com/download_abap_programs.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
/people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
/people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
BAPI Programming Guide
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
BAPI User Guide
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
http://techrepublic.com.com/5100-6329-1051160.html#
http://www.sap-img.com/bapi.htm
http://www.sap-img.com/abap/bapi-conventions.htm
http://www.sappoint.com/abap/bapiintro.pdf
http://ifr.sap.com/catalog/query.asp
BAPI-step by step
http://www.sapgenie.com/abap/bapi/example.htm
Check these links.
BAPI.
http://help.sap.com/saphelp_46c/helpdata/en/9b/417f07ee2211d1ad14080009b0fb56/frameset.htm
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
http://techrepublic.com.com/5100-6329-1051160.html#
http://www.sap-img.com/bapi.htm
http://www.sap-img.com/abap/bapi-conventions.htm
http://www.sappoint.com/abap/bapiintro.pdf
http://www.sapgenie.com/abap/bapi/example.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
BADI :
http://www.sap-img.com/abap/business-add-in-you-need-to-understand-abap-oo-interface-concept.htm
http://www.sap-img.com/abap/difference-between-badi-and-user-exits.htm
http://www.allsaplinks.com/badi.html
http://www.savefile.com/files.php?fid=8913854
http://sapbrain.com/Tutorials/tuto_download.html
BADI'S
http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
http://support.sas.com/rnd/papers/sugi30/SAP.ppt
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
http://members.aol.com/_ht_a/skarkada/sap/
http://www.ct-software.com/reportpool_frame.htm
http://www.saphelp.com/SAP_Technical.htm
http://www.kabai.com/abaps/q.htm
http://www.guidancetech.com/people/holland/sap/abap/
http://www.planetsap.com/download_abap_programs.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
/people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
/people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
Hope this will help you.
Regards,
Ram
Message was edited by:
Ram Mohan Naidu Thammineni -
Hi All,
I am currently preparing for certification this tech ed.
I got the syllabus fom SDN and sap website.
i found the following is <b>missing</b> from the syllabus.
<b>ALE / IDOC/ EDI
Smart forms
SAP Script
LSMW
ALV Reporting
ABAP Query
RFC
BAPI</b>
Some certified consultant can clear my doubt, whether questions from the above areas will be asked or not.
Thanks in Advance.
Regards,
SenthilHi laxmi,
syllabus:
Certificate name : SAP NetWeaver - ABAP Workbench (2003) (C_TAW12) 3 / 80 SAP WebAS 6.20
The certification test consists of questions from the areas specified below:
Topic Areas
1. mySAP.com Technologies
- mySAP.com
- Navigation (system handling)
- Technical setup of an SAP system
- System-wide concepts
2. ABAP Workbench Basics (++)
- Data types and data objects
- Internal tables
- Data retrieval (authorization check)
- Subroutines
- The ABAP Runtime System
- Function groups and function modules
- Program calls and data transfer
3. ABAP Objects (++)
- Classes and objects
- Inheritance
- Casting
- Interfaces
- Events
- Global classes and interfaces
- Exception handling
- Dynamic programming
4. ABAP Dictionary (++)
- Database tables
- Performance for table access
- Consistency through input check (foreigh key dependency)
- Dependency of ABAP Dictionary objects
- Views
- Search help
5. Techniqes for List Generation (++)
- Data output to lists
- Selection screen
- Logical database
- Program-specific data retrieval
- Data formatting and control level processing
- Storage of lists and background processing
- Interactive lists
6. Dialog Programming (++)
- Screen (basics)
- User interface (GUI title, GUI status)
- Screen elements for output (text fields, status icons, and group boxes)
- Screen elements for input/output
- Subscreen and tabstrip control
- Table control
- Context menu
- Dialog programming lists
7. Database Changes
- Database updates with Open SQL
- LUWs and Client/Server Architecture
- SAP locking concept
- Organizing database changes
- Complex LUW processing
- Number assignment
- Change-document creation
8. Enhancements and Modifications
- Changes in SAP Standards
- Personalization
- Enhancements to Dictionary elements
- Enhancements using customer exits
- Business Transaction Events
- Business Add-Ins
- Modifications
Weighting Key in the Test:
+ = 1 - 10%
++ = 11 - 20%
+++ = over 20%
Regards,
Senthil -
Program for uploading Statistical Key Figure KK01 Stattistical Values KB31
Hi ,
I need a Program through which we can upload statistical kay figure and statistical key figure values data
any one who worked on this specific requirement please send the coding
Moderator message: this is not your code factory, please do some own research first.
Edited by: Thomas Zloch on Mar 2, 2012Read [BAPI_ACC_STAT_KEY_FIG_POST|http://www.sdn.sap.com/irj/scn/advancedsearch?query=bapi_acc_stat_key_fig_post] documentation. For a list of such BAPI look at [BAPIs for manual actual posting in Controlling|http://help.sap.com/saphelp_46b/helpdata/pt/34/60afcfae724effe10000009b38f91f/frameset.htm] (or more recent ones) as well as transaction BAPI. Another solution is the [sdn search tool|http://www.sdn.sap.com/irj/scn/advancedsearch?query=kb31+bapi].
[Get back if you have more precise queries|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement].
Regards,
Raymond -
Joining two output tables in ONE table
Hi All,
I have 1 read query and 1 bapi... I need to show the output of these two into a table.
EXAMPLE:
Query returns 2 columns FIRST NAME and ID NUMBER.
Bapi returns 2 columns LAST NAME and ID NUMBER.
now table should show 3 columns like FIRST NAME.....LAST NAME...... ID NUMBER.
FIRST NAME is from Query....LAST NAME is from bapi.... where ID NUMBER is same.
Fname 1(from Query) Lname 1 (from Bapi) id 1(matching in both Query and Bapi)
Fname 2(from Query) Lname 2 (from Bapi) id 2(matching in both Query and Bapi)
In other words.... when ID NUMBER is same in query and bapi those record should come in single line.
Thanks,
PradeeP
Note: Right now I am using UNION operator which is showing both the results line by line....
USING UNION OPERATOR, RESULT IS.....
Fname1 id 1
Fname 2 id 2
Lname1 id 1
Lanem2 id 2
DESIRED RESULT...
Fname 1 Lname 1 id 1
Fname2 Lname 2 id 2
same question raised in forum union info from two datasources but no correct answers. its not possible in VC 7.1?????
I am thinking it is not possible after reading below threads.... please share your thoughts.....
Merging Two Tables from BAPI into single VC Table
union info from two datasourcesHi,
VC doesn't have a join operator, so it can't be done just with VC.
Instead, you should create a service that receives the 2 tables and performs the join, and consume the service in VC.
Best regards,
Tal.
Maybe you are looking for
-
I bought "the Pianist" in HD from itunes on my ipad 2. it says that an SD version of the movie will dowload free to my computer so i can also put it on my iphone. the movie has not dowloaded yet. where is it???
-
ICloud drive Photo Library not showing in finder
Although I can see my various folders (Keynote, Pages etc) in iCloud Drive in the finder in my Macbook, I can't see my Photo Library, it's there because I can see it in a browser and my iPhone. Very frustrating. (Yosemite and iOS 8.1)
-
Hi, Iam developing a report for APO, wherein I pass matid & locid to the function module '/SAPAPO/MSNP_GET_DRPIO_READ' and get the order details as the o/p from the function module, now these takes place in a loop..endloop for more than 60,000 record
-
HR Report category payroll clusters
Hi, I have a problem in using the report category which i have created for reading data from payroll clusters. I have attached PNP LDB in my program attributes and have set '900' as the selection screen. In the new report category which i had created
-
How to get the date in 01-jan-2008 format
hi how to get the date in 01-jan-2008 format