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

SD_CUSTOMER_MAINTAIN_ALL - Changing customer data

Former Member
0 Likes
1,709

Hi,

the function SD_CUSTOMER_MAINTAIN_ALL is used in a web dynpro ABAP application I have to change.

It is used to create and change customer data, but the changing process is not working properly.

The function has several table parameters for changing for example partner information, etc.

T_XKNAS	LIKE	FKNAS	EG-Steuernummern   NEU
T_XKNBK	LIKE	FKNBK	Bankdaten        NEU
T_XKNB5	LIKE	FKNB5	Mahndaten        NEU
T_XKNEX	LIKE	FKNEX	Exportkontrolle    NEU
T_XKNVA	LIKE	FKNVA	Abladestellen    NEU
T_XKNVD	LIKE	FKNVD	Dokumente      NEU
T_XKNVI	LIKE	FKNVI	Steuern             NEU
T_XKNVK	LIKE	FKNVK	Ansprechpartner  NEU
T_XKNVL	LIKE	FKNVL	Lizenzen         NEU
T_XKNVP	LIKE	FKNVP	Partnerrollen    NEU
T_XKNZA	LIKE	FKNZA	zulässige abweichende Regulierer   NEU
T_YKNAS	LIKE	FKNAS	EG-Steuernummern   ALT
T_YKNBK	LIKE	FKNBK	Bankdaten        ALT
T_YKNB5	LIKE	FKNB5	Mahndaten        ALT
T_YKNEX	LIKE	FKNEX	Exportkontrolle    ALT
T_YKNVA	LIKE	FKNVA	Abladestellen    ALT
T_YKNVD	LIKE	FKNVD	Dokumente      ALT
T_YKNVI	LIKE	FKNVI	Steuern          ALT
T_YKNVK	LIKE	FKNVK	Ansprechpartner  ALT
T_YKNVL	LIKE	FKNVL	Lizenzen         ALT
T_YKNVP	LIKE	FKNVP	Partnerrollen    ALT
T_YKNZA	LIKE	FKNZA	zulässige abweichende Regulierer   ALT
T_UPD_TXT	LIKE	FKUNTXT	Änderungsstruktur für Textänderungen

Each table has two parameters, one is starting with X and the other one with X.

If I try to change document information (KNVD), the parameters for that are XKNVD and YKNVD.

I was able to create document data by using the XKNVD parameter, but unfortunately I couldn't delete

existing documents data in KNVD.

Can anybody give me an advice how to do that? Should I use YKNVD? Is there any flag I have to set?

Thank you very much!

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,088

Check CUSTOMER_UPDATE.

I think so both are not released for customer use

Hi,

the function SD_CUSTOMER_MAINTAIN_ALL is used in a web dynpro ABAP application I have to change.

It is used to create and change customer data, but the changing process is not working properly.

The function has several table parameters for changing for example partner information, etc.

T_XKNAS	LIKE	FKNAS	EG-Steuernummern   NEU
T_XKNBK	LIKE	FKNBK	Bankdaten        NEU
T_XKNB5	LIKE	FKNB5	Mahndaten        NEU
T_XKNEX	LIKE	FKNEX	Exportkontrolle    NEU
T_XKNVA	LIKE	FKNVA	Abladestellen    NEU
T_XKNVD	LIKE	FKNVD	Dokumente      NEU
T_XKNVI	LIKE	FKNVI	Steuern             NEU
T_XKNVK	LIKE	FKNVK	Ansprechpartner  NEU
T_XKNVL	LIKE	FKNVL	Lizenzen         NEU
T_XKNVP	LIKE	FKNVP	Partnerrollen    NEU
T_XKNZA	LIKE	FKNZA	zulässige abweichende Regulierer   NEU
T_YKNAS	LIKE	FKNAS	EG-Steuernummern   ALT
T_YKNBK	LIKE	FKNBK	Bankdaten        ALT
T_YKNB5	LIKE	FKNB5	Mahndaten        ALT
T_YKNEX	LIKE	FKNEX	Exportkontrolle    ALT
T_YKNVA	LIKE	FKNVA	Abladestellen    ALT
T_YKNVD	LIKE	FKNVD	Dokumente      ALT
T_YKNVI	LIKE	FKNVI	Steuern          ALT
T_YKNVK	LIKE	FKNVK	Ansprechpartner  ALT
T_YKNVL	LIKE	FKNVL	Lizenzen         ALT
T_YKNVP	LIKE	FKNVP	Partnerrollen    ALT
T_YKNZA	LIKE	FKNZA	zulässige abweichende Regulierer   ALT
T_UPD_TXT	LIKE	FKUNTXT	Änderungsstruktur für Textänderungen

Each table has two parameters, one is starting with X and the other one with X.

If I try to change document information (KNVD), the parameters for that are XKNVD and YKNVD.

I was able to create document data by using the XKNVD parameter, but unfortunately I couldn't delete

existing documents data in KNVD.

Can anybody give me an advice how to do that? Should I use YKNVD? Is there any flag I have to set?

Thank you very much!

4 REPLIES 4
Read only

Former Member
0 Likes
1,088

Has really nobody any ideas?

Thanks

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,089

Check CUSTOMER_UPDATE.

I think so both are not released for customer use

Read only

0 Likes
1,088

Hey Keshav,

thank you for the answer!

I didn't use the function you have mentioned, but as it has the same parameters, I have checked the code and could

see, what I have to fill in for changing, inserting and deleting.

The table parameters starting with Y are for deleting data. All lines which should be deleted, have to be filled in here. The field

KZ has to be space.

The table parameters starting with X are for inserting and changing data. All new lines and the others, which should be changed, have to be filled in here. The field KZ has to contain an 'I' for new data and an 'U' for changing existing data.

Thank you!

Read only

0 Likes
1,088

Thanks for the info