BDC in ALV
Hi, need help in ALV. My task is to display report using ALV with Check box for each record, Com.Code, Doc.No., Doc.Date, Pos.Date & Doc.Hdr.Text fields. In status bar I need 3 extra buttons, for selecting all records, deselecting them & 3rd for calling BDC using call transaction. Thanks in advance........
HI,
Please check the below code....
FORM USER_COMMAND USING P_UCOMM TYPE SY-UCOMM
P_SELFLD TYPE SLIS_SELFIELD.
DATA : L_REP_MODE. "report mode
CASE P_UCOMM.
Data ref1 type ref to cl_gui_alv_grid.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
E_GRID = ref1.
call method ref1->check_changed_data
WHEN 'BUTTON1'.
loop at itab.
itab-check = 'X'.
Modify itab.
endloop.
WHEN 'BUTTON2'.
loop at itab.
itab-check = ' '.
Modify itab.
endloop.
WHEN 'BUTTON3'.
Implement your logic here(Call Transaction)
WHEN OTHERS.
ENDCASE.
cheers,
Bujji
Similar Messages
-
Hi everybody,
I´m working with transaction SHDB to record a "Z" transaction. This one has an ALV grid with a toolbar. The problem is that when i´m recording this transaction, i cannot capture the events of the ALV toolbar and the selected lines of the grid.
Hope you can help me,
Pablo.Hi Pablo,
Another thought. If it is Z report, why dont you just submit the report/call routines in this report directly to perform the required actions?
When you a do BDC on a Z report, you gotta be a little careful. There is every chance that tomorrow there might be a need to change selection screen parameters, show one more popup, insert one more screen and so on. And this might cause the BDC to fail.
And as for the reason of why you are not able to capture the events, these events are not defined in the Status of the screen menu (SE41). Hence, it is not possible to captue these events.
/Sagar -
What is the best way to learn BDC's and ALV's?
Hi,
For BDC,refer the following links.
http://sappoint.com/abap/
http://www.sapgenie.com/abap/bdc.htm
For BDC,if you record the data using SHDB and then changing the program apporpriately is better.
For ALV,refer the following links.
For follg., refer http://www.henrikfrank.dk/abapuk.html
http://www.sapdevelopment.co.uk/tips/tipshome.htm -
hi all,
after a long search in the forums im posting this,
i have a Z tcode for which im creating a BDC (in a FM). this tcode when i execute manually i will get a ALV grid output with a check box(only 1 record).
i have to select this check box and press a push button which will further proceed.
now when i process the tcode manually this check box is identified and a method in PAI is ldentifying the changed data before and after selecting the check box and further process is done.
Now after searching i came to know that this BDC cannot capture the checkbox value.
now my concern is how do i capture the value in checkbox and pass to the background program separately into the PAI module, or can i add a perform stmt to capture the value in BDC. or any IMPORT or EXPORT stmt will work.
any help in this regard will be gratefull.
regards,If not capturing the value,
You can code that value
in
PERFORM bdc_field USING 'BDC_CURSOR'
'YOUR_FIELD'.
PERFORM bdc_field USING 'YOUR_FIELD'
'X'.
Insert this code into your exact place. -
Can anybody help me with this query. since i am a beginner in abap.
this is my requirement
i have to do a recording using shdb(i have done that for xk01 t-code. i have given entries only for the mandatory fields).
then based on that i have to write a code to export data from a flat file on my desktop(presentation server).
i have done till this.
the next requirement is that i have to use alv block display to show 2 blocks.in 1st block i have to display the vendor name and all the records which were populated and success message if records are successfully populated from flat file into the system.
in second block i have to print all the records which were not populated in the database and some error message.
can u help me with full code.Hy,
In your call transaction you can put the adition "messages into messtab". With this you will have all the messages of the transaction in a internal table. If there is a message of type E, A or X in that internal table, you can mark the transaction as ERROR.
You can also search for the message "vendor crated". With this you just have to put it in a ALV. There are many examples of alvs in SDN.
hope it helps -
Can anybody help me with this query. since i am a beginner in abap.
this is my requirement
i have to do a recording using shdb(i have done that for xk01 t-code. i have given entries only for the mandatory fields).
then based on that i have to write a code to export data from a flat file on my desktop(presentation server).
i have done till this.
the next requirement is that i have to use alv block display to show a block to display the vendor name and all the records which were populated and success message if records are populated from flat file into the system.
else if i have errors then i have to show another bock containing the error messages. can anybody help me with that?
Edited by: kundan jha on Dec 26, 2007 4:27 PMHi Kundan,
You can do it in one way,
After you call the transaction , just check the return code, if the call success then maintain the table value as 0(success, or your own). and if it fails maintain it as 1.
After total records have been processed, then create an ALV report to show 1 records or 0 records.
Pavan -
Hi All,
We have a requirement to write BDC on the ALV. Is it possible to write BDC on ALV Grid?you don't get line selection with bdc ok code but with the chk field in the alv structure
declare a field CHK type xfeld in you're alv structure
here the parts you need in the alv to make it work
with this example a user can select multiple tasks and click on a button to edit them. when 1 is saved or skipped then automaticaly the next one in the selection is executed
slayout-box_fieldname = 'CHK'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER = ' '
* I_BUFFER_ACTIVE = ' '
i_callback_program = h_repid
i_callback_pf_status_set = 'SET_PF_STATUS'
i_callback_user_command = 'USER_COMMAND'
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
CASE r_ucomm.
WHEN 'WIJZ'.
LOOP AT ta_zcs_operatielijst_alv WHERE chk = 'X'.
REFRESH bdcdata.
PERFORM display_change_maintenance_ord USING
ta_zcs_operatielijst_alv-aufnr
ta_zcs_operatielijst_alv-vornr
con_change
CHANGING
h_transaction_code.
CALL TRANSACTION f_tcode USING bdcdata MODE 'E' UPDATE 'S'.
ENDLOOP.
COMMIT WORK.
endform.
FORM display_change_maintenance_ord USING p_aufnr
p_vornr
p_activity TYPE c
CHANGING p_transaction_code
LIKE sy-tcode.
DATA: flg_transaction_found TYPE flag.
PERFORM bdc_dynpro USING 'SAPLCOIH' '0101'.
PERFORM bdc_field USING 'CAUFVD-AUFNR' p_aufnr.
CHECK NOT p_vornr IS INITIAL.
PERFORM bdc_field USING 'BDC_OKCODE' 'VGUE'.
PERFORM bdc_dynpro USING 'SAPLCOIH' '3000'.
PERFORM bdc_field USING 'BDC_OKCODE' 'OBSE'.
PERFORM bdc_dynpro USING 'SAPLCO05' '2010'.
PERFORM bdc_field USING 'RCOLS-VORNR' p_vornr.
PERFORM bdc_field USING 'RC27X-OBJECT' 'O'.
PERFORM bdc_dynpro USING 'SAPLCOIH' '3000'.
PERFORM bdc_field USING 'RC27X-FLG_SEL(1)' 'X'.
PERFORM bdc_field USING 'BDC_OKCODE' 'VGD3'.
PERFORM bdc_dynpro USING 'SAPLCOIH' '3800'.
IF p_activity = con_change.
p_transaction_code = 'IW32'.
ELSEIF p_activity = con_display.
p_transaction_code = 'IW33'.
ENDIF.
flg_transaction_found = 'X'.
ENDFORM. " DISPLAY_CHANGE_MAINTENANCE_ORD
kind regards
arthur -
ALV - o/p logic - for Qty segregation
Hi
This Report is for Semifinished product's system status. (radio buttons - with & w/o serial no.)
W/o serial no. o/p is -->
Material - Total Qty - Qty in store - Qty in Elctronics - Qty in Mechanical - Delivered Qty
SPDEW - 5 - 1 - 2 - 2 - 0
It's as required.
But When I display with Serial no. ( Sr. no is not in system) IS COMES -->
Material - Serial no. - Total Qty - Qty in store - Qty in Elctronics - Qty in Mechanical-Delivered Qty
SPDEW - 123 - 5 - 1 - 2 - 2 - 0
SPDEW - 234 - 5 - 1 - 2 - 2 - 0
SPDEW - 456 - 5 - 1 - 2 - 2 - 0
SPDEW - 567 - 5 - 1 - 2 - 2 - 0
SPDEW - 789 - 5 - 1 - 2 - 2 - 0
BUT THIS SHOULD BE IN FIFO (FIRST IN FIRST OUT) MANNER AS -->
Material - Serial no. - Total Qty - Qty in store - Qty in Elctronics - Qty in Mechanical-Delivered Qty
SPDEW - 123 - 5 - 0 - 0 - 1 - 0
SPDEW - 234 - 5 - 0 - 0 - 1 - 0
SPDEW - 456 - 5 - 0 - 1 - 0 - 0
SPDEW - 567 - 5 - 0 - 1 - 0 - 0
SPDEW - 789 - 5 - 1 - 0 - 0 - 0
Hw can I segregate Qty like this ?may be u can develop BDC on ALV double click
Form user_command .....
case 'XXXX'.
when 'VA02'.
write ur BDC code here
endcase. -
Alv report for multiple record insertion
hi,
i'm new to abap. i'm using alv report for record display and insertion. how can i insert multiple records from alv to my table??well that can be achieved only by running BDC inside alv report to enter the entries.and in that too you can append or edit single entries only
reward if useful
regards
vivek -
Display record once i click alv o/p
hi friends
once i click or double click the output of alv record..it must be added in itab.
finally i want all the records.. whatever item i already clicked in the internal table..(without using screen painter concept)
thankz in advance
gowrishankarmay be u can develop BDC on ALV double click
Form user_command .....
case 'XXXX'.
when 'VA02'.
write ur BDC code here
endcase. -
Hi All,
When i click on perticular field on ALV O/P.It should go to <final Screeen>
Where <final Screen> = VA02->Put SO->enter->Extras->Packing Proposal->Double click on Packing Material-i.e-Detailed data for HU.
Pls help me on this regards.
Thanks,
Singhamay be u can develop BDC on ALV double click
Form user_command .....
case 'XXXX'.
when 'VA02'.
write ur BDC code here
endcase. -
Hi ..
by using BDC how to upload flat file(legacy system) to sap System..in BDC which method is mainly using in real time..can you please send me some FAQs for me about Reports,smart forms,BDC,LSMW,ALV(ABAP List viewer),sap scripts,Module pool.aHi
Call Transaction method makes an immediate call on the transaction and upload starts immediately.,
Session method only creates a session of the whole recording including all the values that have to be inserted,it does not insert values into the system. This session can be invoked anytime to upload values
In short call transaction is immediates
session is not immediate
Session method is faster
Synchronous is simoultaneous upload
Asynchornous is non-simultaneous upload
Start with this.Refer this
For BDC:
http://myweb.dal.ca/hchinni/sap/bdc_home.htm
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/bdc&
http://www.sap-img.com/abap/learning-bdc-programming.htm
http://www.sapdevelopment.co.uk/bdc/bdchome.htm
http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
http://help.sap.com/saphelp_47x200/helpdata/en/69/c250684ba111d189750000e8322d00/frameset.htm
http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
Check these link:
http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
http://www.sap-img.com/abap/question-about-bdc-program.htm
http://www.itcserver.com/blog/2006/06/30/batch-input-vs-call-transaction/
http://www.planetsap.com/bdc_main_page.htm
call Transaction or session method ?
http://www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_DATADICTIONARY_FAQ.html
http://www.****************/InterviewQ/interviewQ.htm
http://help.sap.com/saphelp_46c/helpdata/en/35/2cd77bd7705394e10000009b387c12/frameset.htm
Reports
http://www.sapgenie.com/abap/reports.htm
http://www.allsaplinks.com/material.html
http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
http://www.sapfans.com/forums/viewtopic.php?t=58286
http://www.sapfans.com/forums/viewtopic.php?t=76490
http://www.sapfans.com/forums/viewtopic.php?t=20591
http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
ALE/ IDOC
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
Check these step-by-step links
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287
https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292e
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985
for Smartforms material
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sapgenie.com/abap/smartforms.htm
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
Re: Need FAQ's
check most imp link
http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
step by step good ex link is....
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
SAPScripts
http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf
http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm
SAP SCRIPT FIELDS
http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/8033ea454211d189710000e8322d00/content.htm
scripts easy material
http://www.allsaplinks.com/sap_script_made_easy.html
Debugging Document.
http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/84/1f624f4505144199e3d570cf7a9225/frameset.htm
http://help.sap.com/saphelp_bw30b/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
BAPI
http://help.sap.com/saphelp_46c/helpdata/en/9b/417f07ee2211d1ad14080009b0fb56/frameset.htm
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
Checkout !!
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
List of all BAPIs
http://www.planetsap.com/LIST_ALL_BAPIs.htm
http://www.sappoint.com/abap/bapiintro.pdf
http://www.sappoint.com/abap/bapiprg.pdf
http://www.sappoint.com/abap/bapiactx.pdf
http://www.sappoint.com/abap/bapilst.pdf
http://www.sappoint.com/abap/bapiexer.pdf
http://service.sap.com/ale
http://service.sap.com/bapi
http://www.geocities.com/mpioud/Abap_programs.html
http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
Simple ALV report
http://www.sapgenie.com/abap/controls/alvgrid.htm
http://wiki.ittoolbox.com/index.php/Code:Ultimate_ALV_table_toolbox
ALV
1. Please give me general info on ALV.
http://www.sapfans.com/forums/viewtopic.php?t=58286
http://www.sapfans.com/forums/viewtopic.php?t=76490
http://www.sapfans.com/forums/viewtopic.php?t=20591
http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
2. How do I program double click in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=11601
http://www.sapfans.com/forums/viewtopic.php?t=23010
3. How do I add subtotals (I have problem to add them)...
http://www.sapfans.com/forums/viewtopic.php?t=20386
http://www.sapfans.com/forums/viewtopic.php?t=85191
http://www.sapfans.com/forums/viewtopic.php?t=88401
http://www.sapfans.com/forums/viewtopic.php?t=17335
4. How to add list heading like top-of-page in ABAP lists?
http://www.sapfans.com/forums/viewtopic.php?t=58775
http://www.sapfans.com/forums/viewtopic.php?t=60550
http://www.sapfans.com/forums/viewtopic.php?t=16629
5. How to print page number / total number of pages X/XX in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=29597 (no direct solution)
6. ALV printing problems. The favourite is: The first page shows the number of records selected but I don't need this.
http://www.sapfans.com/forums/viewtopic.php?t=64320
http://www.sapfans.com/forums/viewtopic.php?t=44477
7. How can I set the cell color in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=52107
8. How do I print a logo/graphics in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=81149
http://www.sapfans.com/forums/viewtopic.php?t=35498
http://www.sapfans.com/forums/viewtopic.php?t=5013
9. How do I create and use input-enabled fields in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=84933
http://www.sapfans.com/forums/viewtopic.php?t=69878
10. How can I use ALV for reports that are going to be run in background?
http://www.sapfans.com/forums/viewtopic.php?t=83243
http://www.sapfans.com/forums/viewtopic.php?t=19224
11. How can I display an icon in ALV? (Common requirement is traffic light icon).
http://www.sapfans.com/forums/viewtopic.php?t=79424
http://www.sapfans.com/forums/viewtopic.php?t=24512
12. How can I display a checkbox in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=88376
http://www.sapfans.com/forums/viewtopic.php?t=40968
http://www.sapfans.com/forums/viewtopic.php?t=6919
Go thru these programs they may help u to try on some hands on
ALV Demo program
BCALV_DEMO_HTML
BCALV_FULLSCREEN_DEMO ALV Demo: Fullscreen Mode
BCALV_FULLSCREEN_DEMO_CLASSIC ALV demo: Fullscreen mode
BCALV_GRID_DEMO Simple ALV Control Call Demo Program
BCALV_TREE_DEMO Demo for ALV tree control
BCALV_TREE_SIMPLE_DEMO
BC_ALV_DEMO_HTML_D0100
Remote Function Call:
RFC is an SAP interface protocol. Based on CPI-C, it considerably simplifies the programming of communication processes between systems.
RFCs enable you to call and execute predefined functions in a remote system - or even in the same system.
RFCs manage the communication process, parameter transfer and error handling.
http://help.sap.com/saphelp_47x200/helpdata/en/22/042860488911d189490000e829fbbd/frameset.htm.
ALE/ IDOC
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
Refer this
http://www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_DATADICTIONARY_FAQ.html
http://www.****************/InterviewQ/interviewQ.htm
http://help.sap.com/saphelp_46c/helpdata/en/35/2cd77bd7705394e10000009b387c12/frameset.htm
http://www.techinterviews.com/?p=198
http://www.techinterviews.com/?p=326
http://www.sap-img.com/abap/answers-to-some-abap-interview-questions.htm
http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
http://www.geekinterview.com/Interview-Questions/SAP-R-3/ABAP
http://sap.ittoolbox.com/documents/popular-q-and-a/abap-sample-interview-questions-3240
http://www.sap-img.com/abap/abap-interview-question.htm
http://www.allinterview.com/Interview-Questions/ABAP.html -
Hi SAP Guru's,
1. BDC recording was done for LQ02 in R/3 4.7, to select a line item & click POST CHANGE button, it uses ALV LIST DISPLAY, to output , in which a check box is selected in recording & POST CHANGE button is clicked.
2. The same recording fails in ECC6, here recording to select checkbox in ALV list is not working, so error while clicking POST CHANGE button. ( Here checkbox icon used in ALV List looks different than in R/3 4.7 )..
I understand BDC for ALV will not work, but how come it works in 4.7 & not in ECC6
Is there any solutions for this, any commets ????
Thanks in advance.
Regards,
Aakash.Hi Aakash,
When there is a new release, there may be some chanegs in screen elements in the new version. As a result of which the BDC recording of older version may never work as earlier. So during upgrade BDC programs are modified in case there are errors.
You will have to create new recording in Tcode SHDB and use it in the BDC program
Regards,
Vasuki -
Physicall inventory with Handling Units
hello, I´m trying to do a program that simulates HUINV03 transaction. Sap Help recomend to use FM HUINV_DOCUMENT_COUNTING to introduce data as HUINV03 does.
When I execute the FM via abap report the results seems OK, but when I go to post the document, sap say that there is nothing to post.
Can anybody help me?
Thanks in advance.
Galf.I am also struggling with the same issue:
As SAP doesn't allow to use BDC on ALV-driven screens (like second screens in <b>HUINV03</b> & <b>HUINV05</b>) and no BADI is available for this - does anyone have a clue how can we programatically simulate these transactions? -
To avoid unwanted data in graphs
Hi all,
The below code is giving output in graphical representation. but the problem i am facing is
even though i am passing SPACE for some variables, they are appearing in the output graph.
what should i do to avoid them ?
for example..
0 to wa_itab-val2,
0 to wa_itab-val3,
0 to wa_itab-val4.
i am passing 0 to itab-val2, itab-val3, itab-val4, but in the result graph they are appearing.
types: begin of t_tab,
class(5) type c,
val1 type i,
val2 type i,
val3 type i,
val4 type i,
end of t_tab.
types: begin of t_opttab,
c(20),
end of t_opttab.
data: itab type table of t_tab,
wa_itab type t_tab,
opttab type table of t_opttab,
wa_opttab type t_opttab.
move: 'BDC' to wa_itab-class,
12 to wa_itab-val1,
0 to wa_itab-val2,
0 to wa_itab-val3,
0 to wa_itab-val4. " space, 0, ''
append wa_itab to itab.
clear wa_itab.
move: 'ALV' to wa_itab-class,
space to wa_itab-val1,
15 to wa_itab-val2,
space to wa_itab-val3,
'' to wa_itab-val4.
append wa_itab to itab.
clear wa_itab.
move: 'Scripts' to wa_itab-class,
space to wa_itab-val1,
space to wa_itab-val2,
17 to wa_itab-val3,
'' to wa_itab-val4.
append wa_itab to itab.
clear wa_itab.
move: 'MPP' to wa_itab-class,
'' to wa_itab-val1,
'' to wa_itab-val2,
'' to wa_itab-val3,
09 to wa_itab-val4. " space, 0, ''
append wa_itab to itab.
clear wa_itab.
wa_opttab = 'FIFRST = 3D'. " Graphics type
append wa_opttab to opttab.
clear wa_opttab.
wa_opttab = 'P3TYPE = TO'. " Object type
append wa_opttab to opttab.
clear wa_opttab.
wa_opttab = 'P3CTYP = RO'. " Colors of the objects
append wa_opttab to opttab.
clear wa_opttab.
wa_opttab = 'TISIZE = 2'. " Head Title Size
append wa_opttab to opttab.
clear wa_opttab.
wa_opttab = 'CLBACK = X'. " Background Color
append wa_opttab to opttab.
clear wa_opttab.
call function 'GRAPH_MATRIX_3D'
exporting
col1 = 'BDC'
col2 = 'ALV'
col3 = 'Scripts'
col4 = 'MPP'
dim2 = 'Type of reports'
dim1 = 'No of reports'
titl = 'ABAP reports'
tables
data = itab
opts = opttab
exceptions
others = 1.
leave program.
Thanks
KR.Hi,
instead of using this extremely old graphics in an external window use the chart engine (cl_gui_chart_engine).
Creating gaps is easy using the chart engine. Just let me know if you need help after changing your project.
Regards, Kai
Maybe you are looking for
-
Logging pageflow - In a Hurry...please help :)
Hi guys, I need to log messages from my pageflow into a log file. All my pageflows are inside a root package called pageFlows. my log4j.properties is specifying log4j.logger.pageFlows=debug, myLogger log4j.appender.myLogger=org.apache.log4j.DailyRoll
-
SQL Server 2008 self-signed certificate is 1024bit or 2048bit?
When there is no user defined certificate available, SQL Server will generate a self-signed certificate when service starts, We have a tool scans and finds that in SQL 2005 the self-signed certificate is 1024bit, does someone know the default self-s
-
Macbook Pro sound not working in windows XP
I have a macbook pro and recently installed bootcamp/windows xp. Everything works fine in both windows xp and mac os x, except that I have no sound in windows xp. I get the sound on startup that normally plays, and audio plays fine in OS X, but when
-
ORA-12528: TNS: listener: all appropriate instances are blocking new connec
Hi this is kumar, i am getting the below error . ORA-12528: TNS: listener: all appropriate instances are blocking new connections please find my alertlog file ,in alert log file we are getting opertaion timed out. TNS-12535: TNS:operation timed out n
-
WPC - Custom Web Form - Cannot render container
Hello! I've created custom web form for WPC (wpc_utg_sitelink) and gone through customizing provided in [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/2041eb17-6001-2b10-b08d-b95ce55fa9b7&overridelayout=true] It looks fine at designtime. In