cancel
Showing results for 
Search instead for 
Did you mean: 

Facing error in bapi BAPI_PO_CREATE1 to create service PO

former_member212745
Active Contributor
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member212745
Active Contributor
0 Kudos

Thanks a lot all of you.

This issue is resolved.

JL23
Active Contributor
0 Kudos

I added the file to my google drive, anybody clicking the link above can access it and help you.

JL23
Active Contributor
0 Kudos

you are talking about an attached file, but there is none.

former_member212745
Active Contributor
0 Kudos

cannot attach that excel file here. Sent it seperately to you.

former_member212745
Active Contributor
0 Kudos
Serial NoDocument DatePO Doc TypeVendorPurchase OrgPurchase GroupCompany CodePayment TermCurrencyExchange RateSales personTelephoneBuyer NameFC ReferenceValidity Start dateValidity end datePO line itemAccount AssignmentItem CategoryShort TextPO QtyPO Unit of measureDelivery DatePlantStorage LocationMaterial GroupTracking NumberRequisitionerReason For OrderDistributionQty/percentage for distributionSequence of Acc. AssGL AccountCost CenterService Line itemService NumberQuantityGross PriceOverall LimitExpected ValueTax codeVSNL Header TextVSNL Purchasing Instructions
109.05.2013ES10048VSNLC08VSIN0033INRAMOL S9766399590E6002204REFERENCE01.05.201331.10.201310KDSAP Support1AU30.05.2013MMB016ESSDEMOE6002204Z011575400FMBG7INDIN108000010249000VSNL HEADER TEXTVSNL PURCHASING INSTRUCTIONS
109.05.2013ES10048VSNLC08VSIN0033INRAMOL S9766399590E6002204REFERENCE01.05.201331.10.201320KDCanteen service1AU30.05.2013MMB016ESSBAPITESTE6002204Z011551243AGAG7INDFH 10000900000VSNL HEADER TEXTVSNL PURCHASING INSTRUCTIONS

This is the test data for which my program cannot create the po.