cancel
Showing results for 
Search instead for 
Did you mean: 

Schedule lines in SUS-PO

Former Member
0 Kudos

Hello,

following problem.

In SUS it's possible to create some scedule lines in the confirmation process

for one PO-position. But if you want to create an ASN afterwards the system

doesn' propose the schedule lines of the PO-position. It only proposes the amount 0.

Additionally I changed in the customizing, that the supplier is also able to

create ASNs, which have their delivery date in future.

How can I solve this?

thanks Barbara

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

You have to create a MOD for this. In SRM 7.0 I had to edit the class CL_SUS_M_ASN_DETAIL in the method: GET_OUTSTANDING_QTY it uses the function call 'BBP_PD_SUSPO_CALC_PROPOSAL_VAL'. There is an optional export called IV_IGNORE_SDLN. You need to mod the method to add the line to the function call as show below:

CALL FUNCTION 'BBP_PD_SUSPO_CALC_PROPOSAL_VAL'
        EXPORTING
          is_follow_up_doc_settings = me->ps_follow_up_doc_settings  "is_follow_up_doc_settings
          is_po_item                = ls_item_po
          it_actval                 = lt_po_actval
          it_itmlim_rel             = lt_itmlim_rel
          it_po_sdln                = lt_po_sdln
          iv_follow_up_doc_type     = c_susasn
          iv_subtype                = ls_suspo_header-subtype
          iv_call_badi              = 'X'
*{   INSERT         DS3K901758                                        1
*    Add mod to allow schedule lines to have an ASN created before the delivery date (for transports longer than 1 day)
          IV_IGNORE_SDLN            = 'X'
*}   INSERT
        IMPORTING
          ev_quantity               = ls_susasn_items-quantity
          ev_unit                   = ls_susasn_items-unit.

Thanks,

Matt

Former Member
0 Kudos

can I know the what are the cusomising steps you have doen to create ASN for future dates ?

Former Member
0 Kudos

Hello,

Sorry no customizing step, but note 996282.

Additionally in Customizing:

Supplier Relationship Management-> Supplier Self Services ->

Settings for User Interface-> Customer Settings

Set the value for the key 'ASN_PRESELECTION' as 'X'.

Now, when we click at "Create ASN" button for a PO, it will redirect

to a screen wherein the supplier can choose for which items of the PO

he wants the ASN to be created.

Kind regards,

Barbara

@ all the other guys - my problem isn't resolved now!!!