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

Output type triggering

Former Member
0 Likes
4,277

Hi All,

I am setting output type to create idoc in the NACE transaction code.

But how to call the output type, when the fields(Contract number, description, sold-to-party) are changing. I found user-exit (EXIT_SAPLV45W_001). In this user-exit, I wrote the condition saying, when those fields are changing. Later for calling the output type, i does't have code.

Can anyone send me code, how to call (trigger) the output type.

Thanks in advance

5 REPLIES 5
Read only

Former Member
0 Likes
1,865

Hi!

Your requirement is not very clear. If the condition records are maintained for the Output type, it will get triggered automatically.

Regards

Anurag

Read only

0 Likes
1,865

Hi Agarwal,

When ever the contract (ZIMA) is created or changed, the data (VBAK-VBELN, VBAK-KTEXT, sold-to-party , VBPA-KUNNR) needs to be passed over to TIS syetem from R/3 system. During the change mode only if the fields noted is changed then the data will be passed over to TIS. Saving the document will trigger the interface to pass the data to TIS.

Thanks,

Rama

Read only

Former Member
0 Likes
1,865

Hi,

The Output Type(Condition Type) for each Application Document(ex:SO,Contract,PO etc) is linked with Medium(1-Print, 6-EDI), Partner(Customer,Vendor) and Language.

When this is configured it will create a record in NAST Table.

Further You will assign this Output Type to a Triggering Form/Program in NACE transaction.(ex:RSNASTED or RSNAST00 program).

Hope this is useful to you.

Regards,

Anji

Read only

0 Likes
1,865

ok. But in transaction, when i save the contract, this output needs to be triggered. This triggering, how can i set in the user-exit

Read only

0 Likes
1,865

Why You are creating your Own Output Type?

Std Output Type for Contract is:'KO00' (in SD Context)

This will have Program linked in NACE with Program RVADOR01 and Form Routine ENTRY. Only thing is change the Medium to your requirement(Print, EDI, ALE, FAX etc).

So when these setting are done, when you save the Contract the Output Type will be triggered.

Regards,

Anji