Skip to Content
0

How to know that the delivery address is the same on the items of the purchase order ?

Dec 05, 2016 at 10:52 AM

86

avatar image
Former Member

Hi;

For printing and sending purchase orders to suppliers I use a SMARTFORM form.
I would like to print on the form only once the delivery address if it is the same on all the items of the purchase order.
How to know that the delivery address is the same on the items of the purchase order?

Thank you for your help.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Jürgen L Dec 05, 2016 at 03:07 PM
0

Basically if EKPO-ADRN2 is equal for all items then the delivery address is equal for all items.

But why would you need to care about this yourself, did you reinvent the wheel? SAP standard print program does this determination already and places the delivery address into the header if all delivery address are equal, or next to the items if they are not equal.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 14, 2016 at 09:13 AM
0

Hello Jurgen;

Thanks for your reply and sorry for the delay.

We have created our own smartforms form according to the specifications of our purchasing department. Because the standard form is not suitable.
After my research on this subject, the fields in EKPO addressing the address are: werks, lgort, adrnr, emlif, kunnr, adrn2. The value of these fields depends on the input when creating the PO or its origin. I'm currently testing a form that will give me an indicator to identify whether the address is unique or not.
(A bit of humor, if we keep the wheel already invented we will always use horse-drawn saddles or cars, it would be fun)

Best regard and thank you

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Nothing against improvements, but if it ends like this....

beforeafter.png (25.5 kB)
0
avatar image
Former Member Dec 14, 2016 at 05:12 PM
0

Hi

Death of laughter and why not.

I will see how to do this but I think the customer will not be happy.

Bye

Share
10 |10000 characters needed characters left characters exceeded