Application Development and Automation 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: 
Read only

After contract creation how to to generata PDF through SPRO in sap abap?

former_member198180
Active Participant
0 Kudos
1,822

Hi Team,

After creating Contract through BAPI_CUSTOMER_CREATEFROMDATA,so after that i want to generate PDF for this.So can you please suggest me to how to do it in SPRO level.

i found one link https://wiki.scn.sap.com/wiki/display/ERPSCM/Message+determination+in+Purchasing

this is related to Material.So could you please guide how to do it SD Va41 t code.

Thanks & Regards

kalpana

6 REPLIES 6
Read only

VeselinaPeykova
Active Contributor
1,420

Sorry, but your question does seem logical.

BAPI_CUSTOMER_CREATEFROMDATA is for creating a customer in online processing, and it is for a very old version (from what I can see in the help documentation). You do not create contracts via this BAPI.

And the wiki link is for purchasing output determination, which slightly differs from SD. It is better that you look for guides specific to SD output determination. You can use search terms in Google like output determination SAP SD.

I assume that you are not a SD consultant, so please ask your colleague (functional SD) for assistance. They should know how to set up the output type, procedure, create condition records, etc. As a functional consultant, I would prefer that the developer does not modify the configuration that I have done, especially not without discussing with me first.

Read only

0 Kudos
1,420

Thanks for your reply.

yes i am not in SD functional consultant ,but here there is no consultant avaialble for sd .so thats why i want to do this.can you suggest any link so that it would be very help ful for us..

Highly appreciated for quick response.

Thanks & Regards

kalpana

Read only

1,420

kalpana.l2 did you try searching in Google with the terms that I suggested? If not - please do so.

It may be worth mentioning that while output determination in SD is one of the easiest and mundane tasks that can be managed by a junior consultant, if you are doing implementation or even post go-live support - you really need to get a qualified SD consultant on your team. By the way, if you have a MM consultant - the concept of condition technique is similar in SD and MM (well, in MM you have fine-tuning setup, that is not present in SD), which means that you can also ask you MM colleague for some assistance.

Read only

former_member198180
Active Participant
0 Kudos
1,420

Thanks for your reply.

i got this link -https://www.tutorialscampus.com/tutorials/sap-sd/output-determination.htm

i am following this approach,and i want only few fields to display on output for this i need to check another solution for this.

Thanks & Regards

kalpana

Read only

0 Kudos
1,420

Please use the COMMENT button for comments, questions, adding details, etc., ANSWER is only to propose a solution, dixit SAP text at the right of the answer area.

If you do a comment under a question/answer and you want to target someone else than the question/answer' author, the only solution is to copy/paste their hyperlinked name so that the person receives a warning (NB: @ doesn't work)

Read only

VeselinaPeykova
Active Contributor
1,420

You are mixing up things. In order to generate a PDF file via message determination you need to create an output type, condition table and access sequence (or reuse existing ones).

Then you add the output in your procedure.

Then you create condition records.

You also maintain certain master data (e.g. if the PDF has to be sent via e-mail).

All of this is needed to determine the message.

But to generate the PDF file you need to configure in your output a print program and a print form.

In the print form you define what content will be shown in the PDF.

The print form development part is a completely separate topic from output determination.

Considering that you want to show specific information in your file - it is next to impossible to find a guide online with exactly the fields and the layout that you client wants.

You need a qualified ABAP developer to create the form (or copy and adjust an existing one).

And you need a knowledgeable consultant to explain to the developer from where to retrieve the information that should be shown in the file.

In the case of sending PDFs by e-mail - you also need the assistance of a system administrator to configure mail communication.