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: 

role of Controls and relation with Program

former_member699400
Active Participant
0 Kudos

Hi!

could anyone explain me what is the role of Controls and a program?

For example, for creation of Invoice and Invoice List is used the same program - SAPMV60A, but different controls: TCTRL_UEB_FAKT for Invoice and TCTRL_UEB_RELI for Invoice List.

What is the role of these controls?

Will reward,

Mindaugas.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Invoice List Transaction : VF21

Program name : SAPMV60A

<b>Screen Number : 0202</b>

They use table control :TCTRL_UEB_RELI

Invoice Transaction : VF01

Program name : SAPMV60A

<b>Screen number : 0102</b>

They use TCTRL_UEB_FAKT as table control

we may not use same screen for diffrent transaction so they create two diffrent screens for invoice and invoice list.

Invoice list is collection of invoice -


i mean in VF21 - they use all Invoice number into one invoice and sent to the customer

4 REPLIES 4

former_member699400
Active Participant
0 Kudos

maybe it is something about table controls?...

BR,

M.

Former Member
0 Kudos

I do not know about controls but both transaction invoice and invoice list has same program .

when you see inside logic

when transaction is Vf01 - Then use RV_INVOICE_CREATE FM to Create Invoice

when transaction is VF21 - Then use RV_INVOICE_LIST_CREATE

Former Member
0 Kudos

Invoice List Transaction : VF21

Program name : SAPMV60A

<b>Screen Number : 0202</b>

They use table control :TCTRL_UEB_RELI

Invoice Transaction : VF01

Program name : SAPMV60A

<b>Screen number : 0102</b>

They use TCTRL_UEB_FAKT as table control

we may not use same screen for diffrent transaction so they create two diffrent screens for invoice and invoice list.

Invoice list is collection of invoice -


i mean in VF21 - they use all Invoice number into one invoice and sent to the customer

0 Kudos

Hi Seshu,

I want to create invoice list without doing call transaction to VF21.

I have found a FM RV_INVOICE_LIST_CREATE which I think can serve my purpose. I have the billing type, billing date and the list of billing documents to be used to create the list. But the FM also asks for the below tables to be passed.

XKOMFK

XKOMV

XTHEAD

XVBFS

XVBPA

XVBRK

XVBRL

XVBSS

As I will not have the data to be passed into all of these tables, can I pass initial tables and only populate XVBRK with the individual billing documents? Will this work?

Regards,

Naba