dear PLS TELL ME,COMPLETE PROCEDURE OF SESSION METHOD STEP
WITH CODE .MY ID: zaheer_guts@yahoo.co.in

Answer Posted / vijay

1 STEP)Define an ITAB based on Flat File.
2 STEP)Define an ITAB with ref of BDCDATA Str
3 STEP)Uplaod the data to ITAB Using pd Global class
CL_GUI_FRONTEND_SERVICES method GUI_UPLOAD.
4 STEP)Call pd Function module BDC_OPEN_GROUP
Provide LOOP to move record from ITAB[] into ITAB.
5 STEP)Refresh ITAB(BDCDATA)
6 STEP)CALL subroutine to place the module POOL program name
and screen no in ITAB(BDCDATA).
7 STEP)Call subroutine to place the field name and field value
in ITAB(BDCDATA)
8 STEP)CALL pd Function module BDC_INSERT.(provide Mapping)
9 STEP)CALL BDC_CLOSE_GROUP.
Endloop.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain lsmw?

646


How do you read files from the presentation server ? : abap bdc

578


What is the difference between the function module and a normal abap/4 subroutine?

632


How do you find the information on the current screen? : abap bdc

600


What are the three hierarchical levels of data types and objects?

577






In which time constraint does the infotype records depend on the subtype ? : abap hr

631


What are the advantages and disadvantages of different types of bdc's?

536


What are the different window types in sapscript?

571


Define dispatcher?

820


What are internal tables? How do you get the number of lines in an internal table? How to use a specific number occurs statement?

598


What is the length of function code at user-command?

749


How can we handle table control in bdc? : abap bdc

593


Can you define a field without a data element? : abap data dictionary

615


What are control tables?

671


What are the function module in bdc?

633