2008 Jun 08 9:37 PM
can anyone help me regarding "conversion".
what do we use to do conversion, is that any FM or lot of FM?
Suppose i have to do conversion in BDC how do we do that .
Please help me out.
Thanks,
2008 Jun 08 9:55 PM
Hello Shipra
Conversion are defined as attribute of the domain, e.g. domain MATNR has conversion exit MATN1. If you double-click on MATN1 the corresponding function modules are displayed:
CONVERSION_EXIT_MATN1_INPUT
CONVERSION_EXIT_MATN1_OUTPUT
This conversion exit convert e.g. material number '123' into '000000000000000123' and vice versa.
If you are working via SAP-GUI this conversion is done automatically but not within reports.
Regards
Uwe
2008 Jun 09 1:52 AM
Hi, Uwe,
Thanks for ur instant reply.
How do u find conversion exit for domain?
Thanks
2008 Jun 09 7:01 AM
Hi,
Are you talking about Data tranfer (Uploading bulk of data from legacy to file to SAP database table)..?
Please eloborate..If It is Data transfer, I will help you..
Thanks,
Prabakaran
2008 Jun 09 12:53 PM
yes, i am talking about data transfer. Actually i have transfered data, using BDC, from flat file to SAP system.
I want to know what is the technique to transfer data from another system to flat file.
2008 Jun 09 1:21 PM
Hi Shipra,
Can you just explain me what kind of data you want to transfer into the flat file???
I mean the database data or the records from your flat file which were not processed during the upload process???
pls clarify.
Thanks,
-Syed.
2008 Jun 09 1:57 PM
HI, Syed,
Can you tell me in both the case, database data or the records from flat file which were not processed during the upload process??
If it is possible.
2008 Jun 09 4:56 PM
Hi Shipra,
1. You can directly download the Database Committed data after the database commit is done.
You need to call two function Modules after the "Call Transaction".
1. F4_Filename
2. cl_abap_char_utilities=>gui_download
After this you need to display the Messages for the Committed data (Whether Successful, or not).
2. Regarding the Records which were not processed during the update,has to be logged under another internal table of similar structure and then has to be appended under the loop.
For this logic, i'll send you the code to'row from the office. o.k
Till now just check with the first logic.
Thanks,
-Syed.
2008 Jun 09 10:41 PM
Hi Syed,
Thank You very much for ur valuable help.
So u mean,
In bdc programming first call Call Transaction. After that FM F4_Filename then FM gui_download then gui_upload.
Can u tell me:-
1) What does this FM F4_Filename does
2) If we r transferring data from Legacy system then still this approach will work.
I know we can use LSMW for that but what if we want to use BDC.
Thank you very much
2008 Jun 10 5:12 AM
Hi Shipra,
Basically, F4_filename will pop a Pop up to find a file name where you want to download the Data on the Presentation Server.
I won't say that this is the conventional process to be followed or following to download the processed data.
The Actual logic behind downloading the data from the database is that after the database commit that means if the database is committed with the data provided thru the Flat File then you can download the same after or before the messages are shown.
The same applies to the unprocessed data also.
Pls reward if this is useful,
Thanks,
-Syed.