cancel
Showing results for 
Search instead for 
Did you mean: 

New Smartform for Sales Order

jignesh_mehta3
Active Contributor
0 Kudos

Dear Gurus,

We need to Print Sales Order & we are creating new Smartform for the same.

The standard Output type for Sales Order is BA00, but we have created new output & assigneed the same in Output determination.

Now to the best of my knowledge, the Output type (e.g. BA00) calls a particular standard SAP Program (e.g. RVADOR01) & subsequently that Program transfer Sales Order number & othre data to the SAPScript which Prints the out in required format.

Now that we are creating a new Smartform our ABAPers are facing a problem on how to import the Sales Order Number in Z-report.

Can anyone please help...

Thanks,

Jignesh mehta

Accepted Solutions (0)

Answers (4)

Answers (4)

jignesh_mehta3
Active Contributor
0 Kudos

Thread Closed. No suitable reply recd.

alpesh_saparia3
Active Contributor
0 Kudos

Hi,

You need to write new Driver Program for Sales order output, and assign it to your output type.

Former Member
0 Kudos

Set up the new condition type as exclusion. In the condition type definition - details check the Exclusion indicator . then if the new condition kicks in the PR00 will not be in.

Regards

Sai

Jelena
Active Contributor
0 Kudos

RVADOR01 is for SAPscripts only, there is a different program for Smartforms. Unfortunately, we don't have it right now and I can't remember the name, but you can find it through the SAP Marketplace or on SDN.

Even if you have created a custom Smartform, you can still use the standard processing program, as long as the interface is the same. But if you have to develop a custom output program, it probably makes sense to make an exact copy of the standard one and then only to change what's necessary. For example, take a look at the Smartform program for billing output RLB_INVOICE, it wouldn't be much different for the orders. In NAST table you'll get the document number and partner data and you can go from there.

Hope this helps.