on 02-24-2011 6:24 AM
Hi,
We implemented a online applicaiton for PR to PO creation using bapi_po_create1.
All test results are passed in development and QA server.
In production po creation, change everything is working as expected, only the delivery date is not getting changed, by
default system updates the current system date. same test case is working fine in QA server. Tried all possible options no
luck yet. Let me know if some one had faced similiar issue and any work around. All the line item are fixed one scdedule line.
Code used:
Bapimeposchedule PoSchedule = new Bapimeposchedule();
PoSchedule.setPo_Item(String.valueOf(PoItemLn.getSNo()*10));
PoSchedule.setSched_Line("0001");
PoSchedule.setDelivery_Date(formatter.format(PoItemLn.getDeliveryDate()));
PoSchedule.setStat_Date(PoItemLn.getDeliveryDate());
PoSchedule.setQuantity(new BigDecimal(PoItemLn.getQuantity()));
Input.addPoschedule(PoSchedule)
Bapimeposchedulx PoSchedulex = new Bapimeposchedulx();
PoSchedulex.setPo_Item(String.valueOf(PoItemLn.getSNo()*10));
PoSchedulex.setPo_Itemx(conx);
PoSchedulex.setSched_Line("0001");
PoSchedulex.setSched_Linex(conx);
PoSchedulex.setPo_Itemx(conx);
PoSchedulex.setDelivery_Date(conx);
PoSchedulex.setStat_Date(conx);
PoSchedulex.setQuantity(conx);
Input.addPoschedulex(PoSchedulex);
Thanks and Regards,
Manjunath
Hi
It must be issue of Date format from ABAP side , try to make it MM/DD/YYYY format.
For testing purpose you can execute the BAPI with any test data managed by ABAP it will work but will not work when send it through WD code.
BR
Satish Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Test the bapi in backend using SE37 trasaction by passing all the parameters.
Regards
Deepak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.