2012 May 15 1:13 PM
Dear Experts,
Kindly help me on this,
I need a BAPI or function module to create Inbound Delivery Create with respect to PO
I have tried with BBP_IND_DELIVERY_CREATE but in this materials are not getting updated and
If the Delivery date in the BAPI and Purchase order Delivery date equals means this Bapi is working fine,
Else this BAPI through's a Error MSG like Input contains Date Variance.This Bapi is not allowing To deliver with Date Variance.
Is there any BAPI to create ASN other than this?? Kindly help me on this..
Also for Change ASN i m trying with BAPI_INB_DELIVERY_CHANGE but in this also i m getting error.
Kind thanks in Advance!!
Regards,
AJAY
2012 May 15 1:54 PM
Dear Ajay,
The program your are getting should be due to your system configuration.
Sit with your functional person and try to post the data maually through transaction code.
You will get the same message. Ask the functional to get rid of the message and Bapi will work pefrectly.
2012 Jul 18 10:59 AM
Hello,
Did you get anywhere with the FM?
I have tried and get the same result, the material number is blank in VL33N, though a PGR can stil be completed. I found where in the code and it seemed to be MPN/EDI related. Though I added the MPN and still the issue appears.
I guess the code below, if we could de-activate the EDI SPOT then it would not "wipe" out the MATNR (material number). Further, I am in EEC6 and it seems that with this FM it expects SAP to be using EDI.
*- xkomdlgn contains suggestion data form PO -> mix them with T_KOM
READ TABLE xkomdlgn WITH KEY vgbel = t_kom-vgbel
vgpos = t_kom-vgpos.
IF sy-subrc EQ 0.*--- check first material number -----------------** check: may be, material number contains leading zeros
ENHANCEMENT-SECTION ME_CONFIRMATION_VIA_EDI_07 SPOTS ES_SAPLEINB.
CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
EXPORTING
input = t_kom-ematn
IMPORTING
output = t_kom-ematn.
t_kom-matnr = t_kom-ematn.
END-ENHANCEMENT-SECTION.
Regards
Waza