01-28-2008 6:50 AM
Hello Experts,
I am currently doing a BDC for transaction VD02(change customer) to change the
customers sales data and partner functions. However, I noticed in the partner functions
window that it has many partner functions but I only need to edit the 'PE', 'A1' and
'A2' partner functions. My question is, how will I know the right 'row' to edit since it has
multiple functions and sometimes you need to press page down to see the others. Now, is there a
way to know what value that row currently stores so I can know whether or not I need to modify it?
Hope you can help me guys. Thank you and take care!
01-28-2008 7:11 AM
Hi,
I understood your problem and have faced a similar scenario,
We cannot read the data during a BDC.
What i had done for my requirement was
i had selected the data from the database table WYT3 with the vendor or customer number
read the data according to the requirement and then performed the BDC for all the entries as it is sorted similar to that in the data base .
you will need a counter for the row
eg.
CONCATENATE 'WRF02K-GPARN(' lv_cnt ')' INTO lv_gparn.
this is the field for updating.
it will be like 'WRF02K-GPARN(01) for the first row then increment the counter for the second row and so on.
This has worked for me.
Hope it helps you too,
Regards,
taher
01-28-2008 7:11 AM
Hi,
I understood your problem and have faced a similar scenario,
We cannot read the data during a BDC.
What i had done for my requirement was
i had selected the data from the database table WYT3 with the vendor or customer number
read the data according to the requirement and then performed the BDC for all the entries as it is sorted similar to that in the data base .
you will need a counter for the row
eg.
CONCATENATE 'WRF02K-GPARN(' lv_cnt ')' INTO lv_gparn.
this is the field for updating.
it will be like 'WRF02K-GPARN(01) for the first row then increment the counter for the second row and so on.
This has worked for me.
Hope it helps you too,
Regards,
taher
01-28-2008 7:13 AM
Hi,,
Also you will need to manupulate the BDC flow with proper ENTERS
for the proper processing of the logic,
Reward If helpful,
Taher
01-28-2008 7:22 AM
Hi Guys,
I checked table WYT3 and KNVP but it doesn't store the exact data that is displayed in the transaction.
01-28-2008 7:40 AM
Hi,
The data is different in display due to the internal conversions.
There are internal-external conversions for the parter functions
e.g
displays as in data base as
VN --> LF
IP --> RS
GS --> WL
ER --> ZM
You can check the same in debugging.
regards,
taher