cancel
Showing results for 
Search instead for 
Did you mean: 

Get C001 table values based on SO or delivery data

vallamuthu_madheswaran2
Active Contributor
0 Kudos

Hi Friends,

while creating a invoice(VF01), I need C001 table values. How to get c001 table values based on sales order or delivery.

Thanks in Advance,

Thanks with Regards,

Vallamuthu M.

Accepted Solutions (1)

Accepted Solutions (1)

Lakshmipathi
Active Contributor
0 Kudos

What is the business requirement such that you want to validate only that table?  Did you try with table join from SQVI ?

G. Lakshmipathi

vallamuthu_madheswaran2
Active Contributor
0 Kudos

Hi Lakshmipathi.

Thanks for your reply.

My business requirement is that while creating an invoice(VF01), we have to pass the GL account  to sabrix system. Now we are using the user exit EXIT_SAPLFYTX_USER_001. in that exit doesn't have the scope for HKONT.  we'll plan to take hkont value from c001 table based on SO or delivery data.

Thanks with Regards,

Vallamuthu M.

vallamuthu_madheswaran2
Active Contributor
0 Kudos

Get values form  stack - (SAPMV60A)XVBRP[], (SAPMV60A)XVBRK[]', (SAPMV60A)XKOMV[],

and pass the values to function module 'ACCOUNT_ALLOCATION' and get C000 value.

Thanks with Regards,

Vallamuthu M.

Answers (0)