‎2010 Jul 08 3:15 PM
Hello,
I am trying to create a PO with BAPI_PO_CREATE1! The Problem is, that it does not accept components as subcontracting items! It only allows object/part lists...
Does anyone have the same problem? Is there a solution or workarround for this problem?
thx for you held in advance!
kind regards,
Mark
‎2010 Aug 04 7:49 AM
The first problem is solved. the header lines of the internal tables have to be filled. otherwise it does not work. this works for 1 item.
if i add a second item, there ocurrs the error that there are faults in the position, and the netto prices is missing! both materials exist in table EINA for this vendor!
Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code
If this editor and the code highlitghting function was not so bad i would have posted the hole coding.
Edited by: Rob Burbank on Sep 2, 2010 11:26 AM
‎2010 Aug 24 2:08 PM
Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code
This code works for creating a subcontractiong po....
Edited by: Rob Burbank on Sep 2, 2010 11:26 AM
‎2010 Sep 01 4:33 AM
hi,
why 'BAPIMEPOCOMPONENT' in my SAP doesn't contain fields:'req_quan','base_uom','phant_item',i'tem_ca't,'entry_uom'? my SAP version is ECC6.0,and the version of softwar components 'SAP_APPL' is:
Software Components Release Level Hihgest Support Package Description
SAP_APPL' 603 0002 SAPKH60302 Logistics and Accounting
thanks in advance!
‎2010 Sep 01 6:41 AM
Hi,
we also use ECC 6.0! SAP_APPL is here:
604 0005 SAPKH60405 Logistik und Rechnungswesen!
Maybe thats also helpful
ST-PI 2008_1_700 0001 SAPKITLRD1 SAP Solution Tools Plug-In
SAP_BS_FND 701 0005 SAPK-70105INSAPBSFND SAP Business Suite Foundation
SAP_BW 701 0005 SAPKW70105 SAP Business Warehouse
SAP_AP 700 0018 SAPKNA7018 SAP Application Platform
WEBCUIF 700 0005 SAPK-70005INWEBCUIF SAP WEBCUIF 700
greetz
‎2010 Sep 02 2:15 PM
Hi guys,
after having a working code in ABAP non OO i have to implement this in ABAP OO. Now i have the problem., that the bapi works with internal tables with header lines as parameters. in oo this is not allowed, as you know. is there any workaround?
kind regards!
Edited by: Mark Wagener on Sep 2, 2010 3:15 PM
‎2010 Sep 02 2:46 PM
Hi Mark,
Use work areas instead.
data : tl_po TYPE TABLE OF tp_po,
wl_po TYPE tp_po.
When you move, move to the work area
l_ebeln = wl_po-purchase_doc.
append wl_po to tl_po.
and append to the table.
While using loop endloop
Loop at tl_po into wl_po.
endloop.
Hope it helps.
Sujay
‎2010 Oct 13 2:08 PM
I used:
t_bapimepoitem TYPE bapimepoitem_tp,
t_bapimepoitemx TYPE bapimepoitemx_tp,
t_bapimepoaccount TYPE bapimepoaccount_tp,
t_bapimepoaccountx TYPE bapimepoaccountx_tp,
t_bapimepocond TYPE bapimepocond_tp,
t_bapimepocondx TYPE bapimepocondx_tp,
t_bapimeposchedule TYPE bapimeposchedule_tp,
t_bapimeposchedulx TYPE bapimeposchedulx_tp,
t_bapimeposervices TYPE bapiesllc_tp,
t_bapimepoaccessvalues TYPE bapiesklc_tp,
t_bapimepocomponent TYPE bapimepocomponent_tp,
t_bapimepocomponentx TYPE bapimepocomponentx_tp.