2008 Dec 17 10:21 PM
Hi All,
I able to use Function Module
But there are certain limitation and was looking for alternative.
Through Forms and of course Standard BAPI transaction, I found that we can use BAPI_INB_DELIVERY_CONFIRM_DEC FM also to create Inbound Delivery. But by looking at this, I could not find where we can give the reference of PO. As we would be receiving Confirmation or ASN from Vendor against our PO.
Basically, any guidelines on how to use this BAPI to create Inbound Delivery with reference to multiple PO would be of great help.
Any type of help would be greatly appreciated.
Regards,
Bharati Singh
Hi All,
I able to use Function Module
But there are certain limitation and was looking for alternative.
Through Forms and of course Standard BAPI transaction, I found that we can use BAPI_INB_DELIVERY_CONFIRM_DEC FM also to create Inbound Delivery. But by looking at this, I could not find where we can give the reference of PO. As we would be receiving Confirmation or ASN from Vendor against our PO.
Basically, any guidelines on how to use this BAPI to create Inbound Delivery with reference to multiple PO would be of great help.
Any type of help would be greatly appreciated.
Regards,
Bharati Singh
2008 Dec 18 3:51 AM
Goto se37 open this BAPI and check Its documentation, lots of info is given over there, may be it will answer ur queries.
2008 Dec 18 3:55 AM
2008 Dec 19 2:00 PM
Hi,
I have already used this function module and am able to create the Inbound ASN/Delivery.
CLEAR: wa_bbp_inbd_l,
wa_ef_delivery,
i_bbp_inbd_d,
i_return.
REFRESH: i_bbp_inbd_d,
i_return.
wa_bbp_inbd_l-deliv_date = p_asn_header-lfdat.
wa_bbp_inbd_l-billoflad = p_asn_header-bolnr.
wa_bbp_inbd_l-total_wght = p_asn_header-total_wght.
wa_bbp_inbd_l-unit_of_wt = p_asn_header-unit_of_wt.
wa_bbp_inbd_l-net_weight = p_asn_header-net_weight.
wa_bbp_inbd_l-volume = p_asn_header-volume.
wa_bbp_inbd_l-volumeunit = p_asn_header-volumeunit.
LOOP AT p_asn_detail
WHERE palletid = i_hu-palletid.
CLEAR i_bbp_inbd_d.
i_bbp_inbd_d-material = p_asn_detail-material.
i_bbp_inbd_d-vend_mat = p_asn_detail-material.
CLEAR i_makt.
READ TABLE i_makt WITH KEY matnr = p_asn_detail-material.
i_bbp_inbd_d-matl_desc = i_makt-maktx.
i_bbp_inbd_d-deliv_qty = p_asn_detail-quantity.
i_bbp_inbd_d-unit = p_asn_detail-unit_of_qty.
i_bbp_inbd_d-po_number = p_asn_detail-po_number.
i_bbp_inbd_d-po_item = p_asn_detail-po_item.
APPEND i_bbp_inbd_d.
ENDLOOP.
CALL FUNCTION 'BBP_INB_DELIVERY_CREATE'
EXPORTING
is_inb_delivery_header = wa_bbp_inbd_l
IMPORTING
ef_delivery = wa_ef_delivery
TABLES
it_inb_delivery_detail = i_bbp_inbd_d
return = i_return.
My only concern this SRM FM is not released to Customer. I have written wrapping FM which calls this function module .But when I am testing using SE37, if there is error, it stops and does not return back to the calling FM with error message in return.
So, I was trying to using BAPI_INB_DELIVERY_CONFIRM_DEC.
But thanks for all the response.
Regards,
Bharati Singh
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |