‎2009 Jun 05 9:14 AM
hi gurus,
plz solve my questions:
1. the endusers of a company use sap, (not vb or java) then can they use bapi to upload data? bcoz bapis are rfc enabled function modules which are called from non-sap systems to upload data.
what will be written in a functional spec of bapi_salesorder_createfromdata1 ? plz show with an example
2. can bapis be run as periodic background scheduling jobs? if yes then how? plz name some bdc and bapis which are mostly run as scheduled jobs? can an abap developer schedule a background job for a foreign client? suppose i am working from india as a abap developer for a foreign company, can i schedule a background job in their production server.?(servers are at client location)
3. i have to convert euro / usd to hkd (hongkong dollars), how will i do that? any function modules used for dat? plz give an example.
4. (suppose i am getting the vbeln value from hide memory in interactive list.
which is better ? using fm 'conversion_exit_alpha_input' or
data: v_vbeln type vbak-vbeln,
v1_vbeln type p,
v2_vbeln type c.
v_vbeln = it_vbap-vbeln " value from hide memory
v2_vbeln = v_vbeln,
v1_vbeln = v2_vbeln,
v2_vbeln = v1_vbeln.
shift v2_vbeln right.
overlay v2_vbeln with '0000000000'.
select vbeln
from lips
into <internal table>
where vgbel = v2_vbeln.)
5. fm "spell_amount" doesnot convert large integers into words properly, is there any other function module to do that. i am using "hkd' and "euro" currency.
replies with examples will be appreciated
Please - one question per thread and search before asking - thread locked.
Edited by: Rob Burbank on Jun 7, 2009 3:52 PM
‎2009 Jun 07 6:13 PM
Hi,
Please find answers to some of your queries.
1. the endusers of a company use sap, (not vb or java) then can they use bapi to upload data? bcoz bapis are rfc enabled function modules which are called from non-sap systems to upload data.
what will be written in a functional spec of bapi_salesorder_createfromdata1 ? plz show with an example
Ans - Yes they can use BAPI to upload data. Either you make a custom program which will call the BAPI or you can make use of LSMW and in that select the appropriate business object and corresponding BAPI.
2. can bapis be run as periodic background scheduling jobs? if yes then how? plz name some bdc and bapis which are mostly run as scheduled jobs? can an abap developer schedule a background job for a foreign client? suppose i am working from india as a abap developer for a foreign company, can i schedule a background job in their production server.?(servers are at client location)
Ans - BAPI's are nothing but FMs. As such BAPIs wont run on their own. You will have to call them in your programs and you can schedule your programs to run in background by creating a JOB via tcode SM36.
Definitely you can schedule a background job for your foreign client from india if you have access to the system and the necessary authorisations.
4. (suppose i am getting the vbeln value from hide memory in interactive list.
which is better ? using fm 'conversion_exit_alpha_input' or
data: v_vbeln type vbak-vbeln,
v1_vbeln type p,
v2_vbeln type c.
v_vbeln = it_vbap-vbeln " value from hide memory
v2_vbeln = v_vbeln,
v1_vbeln = v2_vbeln,
v2_vbeln = v1_vbeln.
shift v2_vbeln right.
overlay v2_vbeln with '0000000000'.
select vbeln
from lips
into <internal table>
where vgbel = v2_vbeln.)
Ans : Please make use of the conversion routine 'conversion_exit_alpha_input'
Regards,
Ankur Parab