cancel
Showing results for 
Search instead for 
Did you mean: 

Billing output with mail---title(Get billing doc) and body,no need attached.

Former Member
0 Kudos

Gurus,

I have a request about billing output with mail,

The mail title should get the billing number + fixed text.

The mail body should be some fixed text.

No need attached.

Does SAP have standard program and routine to meet it?

Regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Tony,

Please follow this, this would not require ABAP intervention at all:

1. Go to NACE transaction, select required output type and double click on output type.


2. In General data tab, under 'Replacement of text symbols' section, enter program name to ‘SAPMV60A’ (for billing) and Form routine name as ‘TEXT_SYMBOL_REPLACE’


3. Now you need to add the mail title, To include a text in your Email subject line, you can either enter it in your Output Condition ('Mail title and texts'), or alternatively, in your Output Condition record, Cover Page text field. You can put &XVBRK-VBELN&- <Fixed text> as mail title


For mail body, you can use SO10 as suggested in previous posts. Please note you can use billing numbers dynamically in standard text also, just you need to include the variable (declared by ABAPer) in SO10 using DDIC (Data dictionary).


Please revert back in case of further information.


Regards

SD

Former Member
0 Kudos

Danish,

Thank you for your answer.

For the title and body, understood.

I have followed the rule " 2. In general data tab, under........."

But, when I input the type into billing VF02, error : processing program missing for output medium 5. VN020.

Does it mean, need to create a program and form routine for the output, then input into processing routine?

Regards

jpfriends079
Active Contributor
0 Kudos
Message VN 020. - VF02, error : processing program missing for output medium 5.

That is quiet clear from the error message. Means, configure for transmission medium 5 is miss in procession program.

Output Type: RD00  - Invoice

Application: V3 - Billing

Transm. Medium: 5 - External Send

Program: SD_INVOICE_PRINT01

Form Routine: ENTRY

Form: SD_BIL_MAIL_BODY

PDF/Smartform Form: XLSO_LB_BIL_INVOICE

Form Type: 2 PDF

Thanks,

JP

Former Member
0 Kudos

JP,

Yes,

But the request is no need to attach the form...

Regards

jpfriends079
Active Contributor
0 Kudos
But the request is no need to attach the form

Apologies, I missed that out.

In that case, check with following

Program: RVADIN01

Form Routine: ENTRY

Form: RVINVOICE01_GG

PDF/Smartform Form: <blank>

Form Type: <blank>

I hope that helps.

Thanks,

JP

Former Member
0 Kudos

JP,

Maintained as your guide.

Error

Processing routine ENTRY in program SAPMV60A does not exist

Message no. VN068

Program SAPMV60A is maintained in general data replacement of text symbols

Regards

Former Member
0 Kudos

JP,

Thanks and sorry, no such error.

Instead,

These two errors, I am googling.

Window TITLE is not defined for form RVINVOICE01_GG

Element TAX_TEXT window MAIN is not defined for form RVINVOICE01_GG

But the mail has been sent out successfully, the problem is only one mail address can receive-----i maintain 3 mail address XD02.

Regards

Former Member
0 Kudos

Hi Tony,

Are you using FM to send mails? If yes, you need to ask ABAPer to collect all mail address from ADR6 into an internal table and loop that internal table to read all email addresses.

If not, please let us know that how mail is being sent.

Regards

SD

Former Member
0 Kudos

JP,

The mail being sent out still with form attached.

Regards

Former Member
0 Kudos

SD,

I config the output type as what JP's guide.

Program: RVADIN01

Form Routine: ENTRY

Form: RVINVOICE01_GG

PDF/Smartform Form: <blank>

Form Type: <blank>

Regards

jpfriends079
Active Contributor
0 Kudos

If standrad program and forms are not helping you, then you might need to develop on custom ones. Refer following link that outlines an enhancement similar to your requirement for email to multiple use:

-

If you don't want to go for enhancement, better ask for DL(distribution list) or common mailing list, where you can mention and one email id for certain group of users. And this will reduce you effort in changing mail id in master time and again due change in stakeholder email ids.

Thanks,

JP

Former Member
0 Kudos

JP,

Thanks. The blog is very useful.

We plan to do it with ABAP.

Thank you all.

I think it is closed now.

Regards

Answers (2)

Answers (2)

jpfriends079
Active Contributor
0 Kudos

For this you might have to take help of an ABAPer in your team. Where they can assist you with following:

Thanks, JP

siva_vasireddy2
Active Contributor
0 Kudos

Hi,

you can use

USEREXIT_SAVE_DOCUMENT

Former Member
0 Kudos

No need to config new output type?

Just user exit?

siva_vasireddy2
Active Contributor
0 Kudos

Hi,

sorry plz ignore my posting i though it is for sales order

if it is for billing you need to define output type with medium-5 and you can create your standard text in so10 and assign the same through text determination for your billing type

the abaper will pick the standard text maintained by you for the billing output

to send the mail SMTP configuration need to be done by basis people,the system checks the mail id maintained in the customer master for sending the mail

Former Member
0 Kudos

Sorry, I am newbie at output type with medium-5, my questions maybe are so simple.

1. Standard text in SO10---Is it static? I want the mail titile is dymatic,means get the billing number.

2. About the config of the output type, need to create form routine and form even if the request doesn't have the attached?

Regards