cancel
Showing results for 
Search instead for 
Did you mean: 

Service Confirmation

Former Member
0 Kudos

Hi All ,

There is a requirement to create a service confirmation from file which is comes from mobile client to crm system.can anybody tell me ,how we can create a service confirmation from file .is there any BAPI or FM available in crm for create a service confirmation.

Regards ,

Vishwas Sahu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can use the BAPI "BAPI_BUSPROCESSND_CREATEMULTI " to create a 'Service Confirmaton'.

Now if you want to read it from a file, you need to know the format in which the data is sent, then based on it.... take all that into internal table... loop around and fill the corresponding structures of the BAPI and go ahead.

After the use of the above BAPI... you need to use the FMs 'bapi_busprocessnd_save' and BAPI_TRANSACTION_COMMIT' in sequence for the order to get saved.

Thanks,

Bhargava.

Former Member
0 Kudos

Hi Bhargava,

Thanks for reply.I have done all the setting like create a new site as external interface,partner profile ,and crmxif_c1 tx for fill the site name.when i save the service order,BDoc is generate with error but IDoc is also generate.when i save the service confirmation ,BDoc is generate with same error which is comes in service order BDoc,but IDoc is not generated.Can you tell me ,why is it not generate?

Thanks

Vishwas Sahu

Answers (1)

Answers (1)

former_member202474
Contributor
0 Kudos

Hi ,

As far as I know service confirmation is a business transaction like orders, In case you want to create in using an FM then please use CRM_ORDER_MAINTAIN FM , pass all the mandatory paramters to create it.

Hope this helps.

Regards,

Ruby.

Former Member
0 Kudos

Hi Ruby,

Thanks for ur quickly reply. I want to know how can i create a service confirmation using a flat file or XML file in LSMW which is comes from mobile client.is there any BAPI is available for that?How we can give validateion if i use CRM_ORDER_MAINTAIN FM.I have to give BAPI or FM name in inbound process using XIF Adapter.

Thanks

Vishwas Sahu

Edited by: vishwas sahu on Nov 30, 2009 7:35 AM

former_member202474
Contributor
0 Kudos

Hi,

I am sorry ...no idea about LSMW. This FM is usually used in report program/badi to create a transaction.

Regards,

ruby.

nicolas_busson
Active Contributor
0 Kudos

Hello,

If you want to use LSMW, kindly select IDOC CRMXIF_ORDER_SAVE_M.

We used it to load every sort of business transaction (leads, opportunities, contracts, etc.): it's perfect !

Kind regards,

Nicolas Busson.