on 05-09-2013 10:15 AM
Dear All,
We are using bapi BAPI_PO_CREATE1 to create Service POs.
In followin scenarios, I am facing errors.
Scenario 1 : Single po with 2 line item - first planned and other unplanned
Result : Program is not able to create po.
If reversed these line items, program is creating po
Scenario 2 : Multiple po with planned and unplanned in sequence.
Result : program is creating planned pos which are at the top and not creating unplanned pos.
if reversed these lines, i.e. at the top unplanned and below that planned lines, program is creating both types of pos.
I think this is due to some code error while passing the package and subpackage number but not able to fix the problem.
Kindly throw some light on coding part.
Also see the attached excel file (Sheet 4 where all scenarios are listed. The column result shows the po number where program is working fine and error where program is not supporting.
pl. advice.
Thanks all
Amol
Moderator message:
The file is here: https://docs.google.com/file/d/0B4VGSkvGNHAya0ZiTW5JaGFhdVk/edit?usp=sharing
Message was edited by: Jürgen L
Thanks a lot all of you.
This issue is resolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I added the file to my google drive, anybody clicking the link above can access it and help you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you are talking about an attached file, but there is none.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Serial No | Document Date | PO Doc Type | Vendor | Purchase Org | Purchase Group | Company Code | Payment Term | Currency | Exchange Rate | Sales person | Telephone | Buyer Name | FC Reference | Validity Start date | Validity end date | PO line item | Account Assignment | Item Category | Short Text | PO Qty | PO Unit of measure | Delivery Date | Plant | Storage Location | Material Group | Tracking Number | Requisitioner | Reason For Order | Distribution | Qty/percentage for distribution | Sequence of Acc. Ass | GL Account | Cost Center | Service Line item | Service Number | Quantity | Gross Price | Overall Limit | Expected Value | Tax code | VSNL Header Text | VSNL Purchasing Instructions |
1 | 09.05.2013 | ES | 10048 | VSNL | C08 | VSIN | 0033 | INR | AMOL S | 9766399590 | E6002204 | REFERENCE | 01.05.2013 | 31.10.2013 | 10 | K | D | SAP Support | 1 | AU | 30.05.2013 | MMB | 016 | ESS | DEMO | E6002204 | Z01 | 1 | 575400 | FMBG7INDIN | 10 | 8000010 | 24 | 90 | 00 | VSNL HEADER TEXT | VSNL PURCHASING INSTRUCTIONS | |||||
1 | 09.05.2013 | ES | 10048 | VSNL | C08 | VSIN | 0033 | INR | AMOL S | 9766399590 | E6002204 | REFERENCE | 01.05.2013 | 31.10.2013 | 20 | K | D | Canteen service | 1 | AU | 30.05.2013 | MMB | 016 | ESS | BAPITEST | E6002204 | Z01 | 1 | 551243 | AGAG7INDFH | 10000 | 9000 | 00 | VSNL HEADER TEXT | VSNL PURCHASING INSTRUCTIONS |
This is the test data for which my program cannot create the po.
User | Count |
---|---|
105 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.