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

Require Logic for the Program

Former Member
0 Likes
428

I have a requirement in which I need to write a program. I need to fetch the payer data which is having KNA1-ZZDTCESS value populated(Payer which are having this field value blank no need to fetch those payer).ZZDTCESS is the cession date and this is a custom field in KNA1.Its date element is DATUM.

Now after fetching this KNA1-ZZDTCESS value of the payer this needs to be updated to the all the sold-to-party which are attached to this payer.Sold-to-party also having this custom field.

Finally we need to develop a batch job which will run this program to udpate the ZZDTCESS value in the Sold-to-Party.

Can you please let anyone know how to write the logic for this program?

3 REPLIES 3
Read only

Former Member
0 Likes
398

Hi,

Use the KNVP table to get the Ship-to-party giving PARVW field value as 'AG'(Ship-to-party) of concerned payer and update the required field .

Read only

0 Likes
398

Hi ,

Thanx for the answer but the requirement is there Sold to Party customer which is having different payer.For example see below.

SP 1000

SH 1000

PY 2000

BP 1000

Now from the PY 2000 KNA1-ZZDTCESS value nees to be updated to the sold to party 1000 KNA1-ZZDTCESS field.Please let me know how to write the logic for that.

Read only

ThomasZloch
Active Contributor
0 Likes
398

Thread locked, reasons:

- vague subject

- asking for complete solution, extent of own research/work before asking is not transparent

Thomas