2009 Oct 29 12:05 PM
Hi ,
I am creating an inbound delivery into SAP and i need to know do we have any BAPi or function module for the t code VL31N.
Also what are the mandatory fields that needs to pe passed if we identify the BAPI for the same.
Thanks
Amol
Will try the changes you mentioned.
But the return table is not returning any values.its just blank and also no message is displayed
2009 Oct 29 12:12 PM
2009 Oct 29 12:45 PM
I have used the BAPI ' BBP_INB_DELIVERY_CREATE' but the bapi is not returing anything also no delivery is created
2009 Oct 29 12:54 PM
Refer
You can also try
RV_DELIVERY_CREATE
BAPI_INB_DELIVERY_SAVEREPLICA
2009 Oct 29 1:51 PM
I am trying the below code
CALL FUNCTION 'BBP_INB_DELIVERY_CREATE'
EXPORTING
is_inb_delivery_header = wa_DELIVERY_HEADER
IMPORTING
EF_DELIVERY = lv_vbeln
tables
it_inb_delivery_detail = it_DELIVERY_DETAIL
return = it_BAPIRETURN .
REFRESH IT_DELIVERY_DETAIL.
======================
wa_DELIVERY_HEADER-DELIV_EXT = 1077
wa_DELIVERY_HEADER-DELIV_DATE = 29102009
wa_DELIVERY_DETAIL-MATERIAL = 70010431A
wa_DELIVERY_DETAIL-VEND_MAT = 70010431A
wa_DELIVERY_DETAIL-PO_NUMBER = 5500000011
wa_DELIVERY_DETAIL-PO_ITem = 10
but even then the EF_DELIVERY = blank and no delivery is created.
All the data types are also proper.
what can be the problem ?
2009 Oct 29 2:25 PM
2009 Oct 29 2:36 PM
Will try the changes you mentioned.
But the return table is not returning any values.its just blank and also no message is displayed
2009 Oct 29 2:58 PM
No message will ever be displayed (exception if dump) they should always been stored in the RETURN parameter (BAPI's ancestor)
Also this pseudo-BAPI has no documentation is not released and the code let me think it is not even finished
IF NOT RETURN[] IS INITIAL.
* TODO Error Trapping
ENDIF.A quick look at [this FM in the forum|http://forums.sdn.sap.com/search.jspa?threadID=&q=BBP_INB_DELIVERY_CREATE&objID=c42&dateRange=all&numResults=30&rankBy=10001], dont make me optimistic for you if you use it.
Regards,
Raymond
2009 Oct 29 12:17 PM
Perform some [search at sdn on BAPI_DELIVERYPROCESSING_EXEC VL31N BAPI|http://forums.sdn.sap.com/search.jspa?threadID=&q=BAPI_DELIVERYPROCESSING_EXECVL31NBAPI&objID=c42&dateRange=all&numResults=15&rankBy=10001], also read OSS [Note 577453 - Using BAPI BAPI_DELIVERYPROCESSING_EXEC|https://service.sap.com/sap/support/notes/577453]
Regards,
Raymond
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |