Q
Problem solve Get help with specific problems with your technologies, process and projects.

How do I use the PARVW field in KNVP?

I would like to know if you have any input as to the PARVW field in KNVP (Partner functions). When I look at the...

data in SE16 in multiple record mode, I see records with a partner function of 'RG'. However, when I select this record, the partner function value shows 'PY'. To make matters worse, in my ABAP program, I get no data back from my SELECT statement whether I select PARVW = 'PY' or PARVW = 'RG'. Help, please!


In the database, the data is actually stored as RG. Look at the domain for KNVP-PARVW, which is also called PARVW. It has a conversion routine defined on it. Navigate to that, and you will see the two function modules which translate what you put in, PY, into RG, and back again. You see, the partner function codes are language dependent. The values are held in table TPAUM.

In your ABAP program, therefore, you can either use the function module CONVERSION_EXIT_PARVW_INPUT, to convert from the language specific to the internal representation, RG; or use RG directly. Use this code:

tables: knvp.
select single * from knvp where parvw eq 'RG'.
write: knvp.

I successfully read a record. I'd suggest then that your select is failing for some other reason.


This was last published in June 2002

Dig Deeper on SAP ABAP

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close