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: 

Copy of the program 'BCS_EXAMPLE_ 8' does not work

0 Kudos

After making the copy of the program 'BCS EXAMPLE 8' and change only the sub-title the program does not send the email with the attached PDF.

Can someone explain to me how to solve?

Thanks,

1 ACCEPTED SOLUTION

PeterJonker
Active Contributor
0 Kudos

Does the original program work ? Hs the email functionality been activated ?  Did you check transaction SCOT and SOST ?

I don't have BCS_EXAMPLE_8 in my system ( I have 1 - 7 ), so I can't see if anything in there what should be adjusted as well

18 REPLIES 18

matt
Active Contributor
0 Kudos

Have you tried debugging both in separate windows and seeing where the behaviour is different? And why have you copied the program?

0 Kudos

I'll try again.

PeterJonker
Active Contributor
0 Kudos

Does the original program work ? Hs the email functionality been activated ?  Did you check transaction SCOT and SOST ?

I don't have BCS_EXAMPLE_8 in my system ( I have 1 - 7 ), so I can't see if anything in there what should be adjusted as well

raymond_giuseppi
Active Contributor
0 Kudos

Did the program raise any error, did you execute SOST to check execution?

(For  information the original demo program performed well on my oldest system)

Regards,

Raymond

0 Kudos

Please check SOST and SCOT transaction. I have also tested the report BCS_EXAMPLE_8 in my system and it works perfectly fine.

After execution of the report, it should create an entry in SOST. In case the status icon is yellow/red, you need to re send it from SOST transaction. ( Re send will only work if the node setting in SCOT allow the email send for the email address). In case the status icon is green that means SAP has successfully sent the email.

In case you don't see any entry in SOST, please debug the program and let us know the error message details.

0 Kudos

Tanks for answering.



BCS_EXAMPLE_8 is ok,  YBCS_EXAMPLE_8 is not.


only modified the subtitle.


BCS_EXAMPLE_8 -> work.

             i_subject = 'test created by BCS_EXAMPLE_8' )"#EC NOTEXT



YBCS_EXAMPLE_8 -> don't work.

             i_subject = 'Email PDF' )"#EC NOTEXT


SCOT and SOST apparently is ok, but sends the email with the BCS_EXAMPLE_8 program.


0 Kudos

Does the report YBCS_EXAMPLE_8 creates SOST entry? Just changing the subject of the email will not cause any issue.

0 Kudos

the copy without changes YBCS_EXAMPLE_8 works , just change the subtitled and not works.


sost entry ok,


tanks.

0 Kudos

Leonardo Buryan Teixeira wrote:

sost entry ok,

What does that mean? Several people asked already if an entry in SOST transaction appeared after you ran the Z... program and you are just saying "OK". Was or was not an entry created? It's a simple question. If "ok" means that an entry was created then there is no issue whatsoever.

There is additional program that needs to run to actually send out the emails (and many things can fail on the way - e.g. an email could be cought by the spam filter).

As others noted, it's very unlikely that a change in the subject line could break anything. You're obviously missing something and either not understanding what SOST transaction is and how emails work in SAP or failing to communicate to us.

0 Kudos

Thank you for your attention.
I'm sorry for short answer .
I will recheck the sost and scot transactions.
sost entries were created.
but the emails were not delivered .
I will check everything you said.
Many thanks for the great help .

0 Kudos

aha, so it took you 3 days to do what everybody suggested, well done

0 Kudos

Still does not work , the suggestion of all I did but not working . Before I create iss discussion I already checked all SAP functionality . Do you have any solutions? Otherwise Go to sleep .

0 Kudos

This message was moderated.

0 Kudos

Well you said in your previous post:  sost entries were created.

Therefore it means it works.

I am sorry if I misunderstood you, but you are not giving much info if people are asking for it and you are not answering peoples questions. These are people who are trying to help you.

But never mind. It is probably me.

0 Kudos

I tried with changing the subject and it works in my system.

To resolve the issue, please answer the following queries.

1) When you execute the report, does that give success message or any error message displayed.

2) If the report is executed successfully. Do you see an entry in SOST .  If yes, what does the status column says.(If it is yellow - then you can manually push the email out of SAP system or there should be a background job running in your system to push the email out of SAP system)

3)  In case there is no entry in SOST, please check SU53 transaction and see whether there is any authorization check failed entry for your SAP user id.

0 Kudos

Ok, Tanks.

0 Kudos

Leonardo Buryan Teixeira wrote:

Do you have any solutions? Otherwise Go to sleep .

I feel this is rude and uncalled for. As Peter correctly noted, SCN members are trying to help you. There were very specific questions asked that you've simply ignored. And even now you are just saying "not working" without providing any details. How do you expect anyone to provide a "solution" when you cannot even describe the problem intelligently?

But you have a good point - instead of continuing to respond here I will chose to help other SCN members who demonstrate the right problem-solving attitude.

You might want to read this blog and reconsider your communication style before posting any more questions on SCN.

0 Kudos

Ok,

Obrigado.