Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

sending SMS

Former Member
0 Kudos

Hi Experts,

I have a requirement that whenever an Inquiry is created in SD module using tcode 'VA11 - create inquiry' a sms message should go to the customer as soon as i save the enquiry.

How can this be done.

Thanx

Rajiv Ranjan

4 REPLIES 4

vinod_vemuru2
Active Contributor
0 Kudos

Hi,

First u need to find the proper user exit/BADI for ur requirement.

Following are the list of enhancements/BADis available for VA11. Put a break point in all these exits and try to save in VA11. Control will go to some of these exits. Check in which exit all the data is available for ur requirement and put ur logic there.

Enhancement/ Business Add-in Description

Enhancement

V45L0001 SD component supplier processing (customer enhancements)

V45P0001 SD customer function for cross-company code sales

V45S0001 Update sales document from configuration

V45S0003 MRP-relevance for incomplete configuration

V45S0004 Effectivity type in sales order

V45W0001 SD Service Management: Forward Contract Data to Item

V46H0001 SD Customer functions for resource-related billing

V60F0001 SD Billing plan (customer enhancement) diff. to billing

SDAPO001 Activating Sourcing Subitem Quantity Propagation

SDTRM001 Reschedule schedule lines without a new ATP check

V45A0001 Determine alternative materials for product selection

V45A0002 Predefine sold-to party in sales document

V45E0002 Data transfer in procurement elements (PRreq., assembly)

V45E0001 Update the purchase order from the sales order

V45A0004 Copy packing proposal

V45A0003 Collector for customer function modulpool MV45A

Business Add-in

BADI_SD_SCH_GETWAGFZ Scheduling Agreement: Read WAGFZ from S073

For sending SMS u can use FM SO_OBJECT_SEND. Here in receivers pass the values as mobile number@domain.com/org etc.

EG; 9986123456@hutch.co.in

thia is just an example, Not exact domain.

Domain name u can get from Functional person/Users. Mostly all the domain names will be maintained in some Ztables for each region.

Thanks,

Vinod.

Former Member
0 Kudos

u can use FM "SO_SEND_DOCUMENT_AP1I".

Thanks,

Balaji

Former Member
0 Kudos

Hi Rajiv,

I have an requirement same like you, whenever the Invoice (when we save VF01) is genereated it has to send an SMS to the customer mobile with custome number, amount and other details.

can you please suggest me or give your mobile and email id so that i can reach you.

Looking forward for your response

Thanks in Advance,

Sahiti.

0 Kudos

One can search for the userexits USERXIT_SAVE and USEREXIT_SAVE_PREPARE generally found in main programs for sales ( eg VF01 - SAPMV60A). Suggest you use an update function module to ensure wrong messages are not sent. dont know if this is applicable for the latest versions though.