cancel
Showing results for 
Search instead for 
Did you mean: 

PO's Delivery display

Former Member
0 Kudos

Hi All,

I had find out one thing in PO's Display print out in production.

Delivery address is displaying for each item of the PO's at print out that too its coming only for one PO no. we dont need to display for each items.

If all items having same delivery address then it should display in Header area.

but its not displaying even in header area also. Its displaying in each item level.

Is there any configuration problem or in PO form problem.

Please let me know.

Thanks,

Subbu.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

For displaying all items with same delivery in header area you need to modify thre standard print program by customizing it... Handle the loop statement according to your requirement by using control break statements.

Regards,

Steve

Former Member
0 Kudos

Hi Steven Thanks for your reply.

I dont want to display delivery address in the item level . But it diplaying same delivery address for each item level for perticular PO.

Thanks,

Subbu

Former Member
0 Kudos

Subbu,

Check this thread

it seems everytime the adress is changed a new adrnr is created

So someone might have saved the address again without making any real changes(eg space).

So a new adrnr was created. check the change log of the PO

Former Member
0 Kudos

Yes Correct Nehal,

Great Job Nehal. Thank you very much.

I think this is the reason to display delivery address in line items.

What happened know.

I created one PO in Dev server which is similar as we had problem in production.

And i executed that PO on that time its displaying properly.

Unfortunately i changed delivery address in line items and saved again, but this time its getting same problem which we had in production.

Now i understood because of YOU.

Once again Thank you very much Nehal.

If you don't mind can you give your gmail id. mine is manisesetty@gmail.com

Thanks,

Subbu.

Answers (2)

Answers (2)

former_member480923
Active Contributor
0 Kudos

Create one PO with Multiple Line item and create all different address in the Line items assign the Same Output type and check, if it comes out correct then there must some condition for displaying the said output in the form otherwise the logic for the Same is Missing.

Hope That Helps

Anirban M.

former_member480923
Active Contributor
0 Kudos

Its definite ly a PO form problem: Here is the logic get all the Delivery address into an ITAB, do a Delete adjacent Duplicates in the ITAB. IF the no. of lines in the ITAB > 1 do not print the Delivery Address else print the Delivery Address in the Header Data.

Hope That Helps

Anirban M.

Former Member
0 Kudos

No Anirban,

Why its printing correctly for all PO's.

Its diplaying like that only for one PO number.For all POs its displaying correctly.

Thanks,

Subbu

Former Member
0 Kudos

Subu,

Chekc if there are different ship to Contacts for these items

Maybe that could be a reason why its printing that way.

Former Member
0 Kudos

Hi Nehal,

You mean 'ship to contact' is nothing but delivery address of the PO.

Delivery address is same as for all items.

Thanks,

Subbu

Message was edited by:

Subramanyam Sesetty

Former Member
0 Kudos

Hi Subbu,

I dont know what they are called in Purchasing

but a delivery party might also have a delivery conatct person

if the contact person is different effectively the address is considered differently

Again this is just a shot in the dark. But i agree with you that it is prob a config problem.

Former Member
0 Kudos

Hi Nehal,

So what will do now. This is not technical problem i mean like its not a problem with Script form?

One more doubt i have like What is address no? Its created by automatically or manually. Becasue is there any problem with diff address nos for item.

Thanks,

Subbu.

Former Member
0 Kudos

Subbu,

I dont know how the PO print program is coded.

Is it standard or custom?. if standard what is its name.

Addresses are handled very specially by SAP.

Every party (partner function ) has a unique address number.

This address number is like a primary key for the party's address.

You will find this address number in VBPA for a particular Sales Docu.

I dont know for PO where. But SADR is the key table for addresses

It is this address number that is used in your printing module to get the address

based on the partner number.

Now if you have a contact person for that party. He/she will have a address person number. This contact person is linked to this party.

Former Member
0 Kudos

Nehal,

we are using custom print program. In our case we have 5 item in one PO.

All items having same addresses in me23n. And only one item is deffer from all other 4 item's address numbers.I checked in ekpo table.

Thanks,

Subbu

Former Member
0 Kudos

Subbu,

To confirm wheter the issue is with that single item

copy the PO into another and this time change the item to have same delivery partner function.

IF it is fine then, then we will have to change the print program

The program probably prints all addresses at line item, even if 1 is different

Which actually makes good business sense.

Imagine having one at header and one at item and then rest blank.

It will simply be confusing

Former Member
0 Kudos

Nehal,

Great Idea.

So finally you are saying like...If you have at least one item address number is differ from other item's address number, then it will display all delivery addresses for each line items. Is it correct Nehal?

This item address number will reflect in Header deliver address area?

Thanks,

Subbu

Former Member
0 Kudos

No Subbu,

This is only a wild guess but its logical.

Im thinking that only if all parties(effectively adrnr) are same, only then

will it show in header. otherwise even if one is different it should show at item level

and not header.

Because, having the header address different from item addresss will be confusing.

If u want to see a header address try having a PO with all items having same adrnr.

Former Member
0 Kudos

Yes Nehal,

You are correct. But in my case all 5 item delivery addresses are same. But only one item ADDRESS NUMER is differ from others. See all item text addresses are same.

Thanks,

Subbu.

Former Member
0 Kudos

pick up the parnr number go to XD03 and see what addresses are displayed for them

if there is a parntr number

Former Member
0 Kudos

Nehal,

There is no customer number (kunnr) for all items of that PO.

What i will do.

Thanks,

Subbu

Former Member
0 Kudos

Oh..ok..

I cant create a PO here. so i cant tell u exaclty where the adrnr comes from

what are the fields u enter at line item when creating a PO

Former Member
0 Kudos

Nehal,

1)Material Group

2)Order Quantity

3)Delivery date

4) Scheduled quantity

5) Stock type

6) Acct assaignment

7) Delivery Address (Didnt give Address number, Customer, Vendor)

😎 Short text

9) Plant

10)Requestioner

Thanks,

Subbu

Former Member
0 Kudos

what do you enter in delivery address

Subbu,

Ill be happy to dig thru this with u ..really... its interesting

but u will get a faster reply if u ask this at a Purchasing forum

In the mean time tell me what u put in delivery address

Former Member
0 Kudos

Hi Nehal,

I am very thankfull on you. Because you spent valuble time with this issues.

I given in Delivery ddress area like

1) Name,

2) Street House number

3) District

4) Postal code / city

5) Country, Region

6) Jurisdict code.

I have not given Address (Number of delivery address)

Customer

Vendor.

Thanks,

Subbu

Former Member
0 Kudos

Subbu,

Take the address numbers from EKPO.

Go to table SADR. There check for each different address number

what are the corresponding addresses.

I dont think a new address number is generated everytime we make an item level address entry. But check anyway.

Check in SADR for the different numbers line by line for anything different.

Check each line like street PO etc etc

Former Member
0 Kudos

Nehal,

I checked in SADR table with Address numbers of the PO.

But there is no data for both address nos.

Subbu

Former Member
0 Kudos

Try this txn and see if u can find them there

ox09

Former Member
0 Kudos

Also look in table ADRC

Former Member
0 Kudos

Nehal,

In ADRC table both address numbers contains same data.

Subbu.