cancel
Showing results for 
Search instead for 
Did you mean: 

SUS PO-Number on Advance Shipping Notification

Former Member
0 Kudos

Hello all!

I use MM-SUS scenario and there I'd like to show the supplier on the ASN-printing not only

the ECC SAP number, he should see also the SUS-internal PO number, which he can change

and use as order confirmation number. But the problem is, that I don't know exactly where to

find this field.

Does anybody know the table where ECC and SUS PO numbers are linked?

Thanks for help,

Barbara

Accepted Solutions (0)

Answers (1)

Answers (1)

khan_voyalpadusman
Active Contributor
0 Kudos

if you want to use additional fields in your Print file , then you need to use custom smart form....

standard Smartform that is used for ASN print is BBP_SUSASN.

you can see this form in the

1) transaction SMARTFORMS

2) click the radio button FORM and enter BBP_SUSASN in the field

3) click display.

if you want to use custom smartform , create a copy of the standard smartform ---> and then make changes in the custom smartform as per the requirements.

and then specify this custom smart form should be used for print , at the following BADI

1) Transaction SPRO

2) Supplier RelationShip management ---> Supplier Self Services --->Business Add-ins ---> Settings for documents ---> Download Documents -->

Former Member
0 Kudos

Hi Khan,

thanks for your answer these things you mentioned are already clear. What I need to

know is, where I can find the field of the PO-Confirmation which the supplier uses

to identify our PO. What's the name of the field, which table, ...?

Do you have a summary of important tables of sus - would be very helpful for me?

We tried to use the field which is used in the smartform of PO, but

this doesn't work. Where can we find the connection between these two fields (SAP ECC

PO and SUS Purchase Order) within the SMARTFORM of the ASN (BBP_SUSASN).

Kind regards,

Barbara

khan_voyalpadusman
Active Contributor
0 Kudos

You can use the function module -->

BBP_PD_SUSPO_GETDETAIL

and use SUS Purchase order number as input , once the function module is run --> in the result ---> look for structures E_HEADER_REL and E_ITMLIM_REL.

-


>

and also check the function module -->

BBP_OUTPUT_SUSPO_PREVIEW , this is called during the print function.

in this

BBP_PD_SUSPO_GETDETAIL is called -->like this

CALL FUNCTION 'BBP_PD_SUSPO_GETDETAIL'

EXPORTING

i_guid = iv_guid

IMPORTING

e_header = ls_sf_susdoc-header

et_attach = ls_sf_susdoc-t_attach

TABLES

e_item = ls_sf_susdoc-t_item

E_SDLN = ls_sf_susdoc-t_sdln

e_partner = lt_partner

e_longtext = ls_sf_susdoc-t_longtext.

Here you need to change and incorporate --> the structures i have mentioned before....