BAPI for creation of CO-allocation document
Hello,
I want to allocate costs from cost centeres to CO-PA using an own program.
Is there a BAPI creating the allocation document(s) on the cost Center as well as on the CO-PA side?
I looked into an allocation cycle (KEU1) executed it (KEU5) but the coding was too complicated for me to see anything.
do not want to use activity types.
Thanks a lot for any help.
Thomas
Hi Bulut,
I know that one. It requires a primary cost element.
Do you know a BAPI which
a) offers the CO-PA Segment and
b) can be used with a secondary cost element?
Thanks a lot in advance.
Thomas
Similar Messages
-
Help Rgd. BAPI for Creation of Inbound delivery Document
Hi all,
I need a Bapi to create inbound delivery document without using PO reference. I have seen the below BAPIs. i) BAPI_IBDLV_CREATE_FROM_OBDLV,
ii) BAPI_GOODSMVT_CREATE. I am not sure whether they are for creating inbound delivery document without using PO reference.
It will be of great use if anyone can give me the BAPI for the purpose and the mandatory parameters or sample test data for the BAPI.
Thanks in Advance,
Rakesh.If you create the inbound delivery->check the purchase order in the tabstrip "Confirmations" on item level. There are three fields: "Confirmation control key", "Order acknowl." and "acknowl. required".
Ckeck if there is a value in "confirmation control key".
You should get the same error if you try to create VL31N in dialog mode, not only by using the bapi.
Rgds,
JP -
BAPI for Creation of Inbound delivery Document
Hi
I have found a BAPI for Creating Inbound delivery Document, BBP_INB_DELIVERY_CREATE. I filled the below parameters and executed it.
IS_INB_DELIVERY_HEADER
DELIV_DATE 11.04.2007
IT_INB_DELIVERY_DETAIL
MATERIAL 1096
VEND_MAT
MATL_DESC SHARP CAMERA111
DELIV_QTY 795,000
UNIT KG
PO_NUMBER 4500000011
PO_ITEM 00010
I recieve a error 'This function is only possible for items with confirmation key'.
I dont know whether the error is with the data. Is there any other fields to be filled.
It will be of great help if anyone provide me with any input. ;>)
Thanks in Advance
RakeshIf you create the inbound delivery->check the purchase order in the tabstrip "Confirmations" on item level. There are three fields: "Confirmation control key", "Order acknowl." and "acknowl. required".
Ckeck if there is a value in "confirmation control key".
You should get the same error if you try to create VL31N in dialog mode, not only by using the bapi.
Rgds,
JP -
BAPI for Creation of inspection lot
I have two scenario:-
1.Can any body help to find BAPI for creation of Inspection lot for the material under PO envisaged for PDI.
2. Can any body find me a BAPI or FM which can creates inspection lot in QALS table without inspection lot origin under 01 i.e. 0101 or Z01SI01.
My objective is to creation inspection lot without assigning Inspection type of Z01SI01 or Z01SI02 and so on in the material code under a respective Plant 1004 or 1005 0r 1006 so on.
In my Z Development for creation of inspection lot BDC is run for QA01 as this code created inspection lot on when material code has inspection type Z01SI01 i.e. location of source inspection and vendr code particular classification under 010 vendor class inspection type Z01SI01. System search both the inspection type for both material and vendor then create inspection lot in QALS table by assiging inspection matching inspection on the lot.
I want to get rid of assignment of inspection on the materilal. If any BAPI or FM is avalable for creation of inspection without assigning inspection type on material code. I want to create inspection lot in which Inpsection type assignment can be done based on vendor class only.
YPB2. Can any body find me a BAPI or FM which can creates inspection lot in QALS table without inspection lot origin under 01 i.e. 0101 or Z01SI01.
I am very sure that this is not possible.You can not create inspection lot without inspection lot origin or inspection type.
Regards
Sujit -
BAPI for creation of subcontract PO
Hi all,
Currently iam doing a BAPI for creation of subcontract Purchase Order using the BAPI_PO_CREATE1. But in this BAPI iam unable to find the table for entering Components.
Regards,
Sun.Hi,
I wil give you how to fill the components of PO items, it is a sample code;
*zPoHeader
if kna1-kunnr eq 'BOR020'.
zpoheader-comp_code = '0040'.
endif.
if kna1-kunnr eq 'BOR040'.
zpoheader-comp_code = '0048'.
endif.
zpoheader-doc_type = 'ZSA'.
zpoheader-doc_date = mkpf-budat.
zpoheader-vendor = 'BOR050'. "şimdilik
zpoheader-pmnttrms = 'Z030'.
zpoheader-purch_org = '1100'.
zpoheader-pur_group = '101'. "malzeme ÜZERINDEKI marc-ekgrp
zpoheader-currency = zsaleshead-waers.
zpoheader-item_intvl = 10.
zpoheaderx-comp_code = 'X'.
zpoheaderx-doc_type = 'X'.
zpoheaderx-vendor = 'X'.
zpoheaderx-purch_org = 'X'.
zpoheaderx-pur_group = 'X'.
zpoheaderx-currency = 'X'.
zpoheaderx-doc_date = 'X'.
zpoheaderx-pmnttrms = 'X'.
zpoheaderx-item_intvl = 'X'.
*zPoitem
loop at i_posnr.
lv_ebelp = lv_ebelp + 10.
zpoitem-po_item = lv_ebelp.
zpoitem-material = i_posnr-matnr.
if kna1-kunnr eq 'BOR020'.
zpoitem-plant = '0040'.
zpoitem-stge_loc = '4001'.
endif.
if kna1-kunnr eq 'BOR040'.
zpoitem-plant = '0048'.
zpoitem-stge_loc = '4801'.
endif.
zpoitem-quantity = i_posnr-menge.
zpoitem-po_unit = i_posnr-meins.
zpoitem-net_price = i_posnr-bfiyat.
zpoitem-price_unit = 1.
zpoitem-tax_code = 'V0'.
zpoitemx-po_item = lv_ebelp.
zpoitemx-po_itemx = 'X'.
zpoitemx-material = 'X'.
zpoitemx-plant = 'X'.
zpoitemx-stge_loc = 'X'.
zpoitemx-quantity = 'X'.
zpoitemx-po_unit = 'X'.
zpoitemx-net_price = 'X'.
zpoitemx-price_unit = 'X'.
zpoitemx-tax_code = 'X'.
append: zpoitem, zpoitemx.
clear : zpoitem, zpoitemx.
endloop.
call function 'BAPI_PO_CREATE1'
exporting
poheader = zpoheader
poheaderx = zpoheaderx
tables
return = zreturn3
poitem = zpoitem
poitemx = zpoitemx.
Send me your results,
Kenan. -
Bapi for creation of a contract against services.
Hi.
i just want to know the correct bapi for creation of contracts against services..here i was tried with BAPI_CONTRACT_CREATE but the documentation says that it is not supported for exxternal or internal services.
so iam not sure if this bapi is the one for contract creation for services.
any way i was tried to test this function module but i havent got Contract created.
wil be waiting for an excellent answer.
bye.
reegards.
seetaram.Hi Ram,
Try the function module
BAPI_CONTRACT_CREATEFROMDATA.
Once you create the contract, update the technical objects for the contracts
using two function modules called one after another.
IWOL_WV_ADD_OBJECTS
IWOL_WV_POST_OBJECT_LIST
Regards,
Chandra Sekhar -
BAPI for Creation of Maintenance Plan (TCode - IP01)
Hello
Kindly help me with the BAPI for Creation of Maintenance Plan (TCode - IP01)
Thanks and Regards
AvishekHi
Check Tcode: IBIP. and LSMW method and below link it may be helpful.
[link|Re: LSMW for uploading equipment.]
Thanks,
Asit Purbey. -
BAPI for Creation of the Project in ECC using Standard Templates
Hi,
I want BAPI for Creation of the Project in ECC using project id and project standard template ID
and BAPI for Updating of project and WBS element using project id and WBS element IDOne idea is to write a wrapper FM that is remote enabled and internally call BBP_PD_CTR_CREATE for your own use.
-
BAPI for creation of material documents/movements
Hi Everebody:
I need some help regarding to bapis for the creation of mateial documents and/or movements. I have been trying to implement bapi BAPI_GOODSMVT_CREATE, but this bapi does not have (import) the posting time in document, which is very important for my porpuse.
So, I would appretiate a lot any information anybody could give about any bapi I could use to create material documents or material movements but incluidng the posting time in document (field MKPF-OIB_BLTIME).
RegardsYou can check MB_CREATE_GOODS_MOVEMENT which has mkpf as inporting parameter.
-
Bapi for creation of equipment master
hi friends ,
I have to made a BDC program for creation of equipment master .
for that I am using bapi i.e. ' BAPI_EQUI_CREATE '.
I had matched the fields of transaction IE01 but in the additinal data part i could not able to map 'Partner' fields .
pls some body can guide what should i do for it.Hi Das,
If u r going to create equipment no against this Bapi BAPI_EQUI_CREATE"
then u need to pass material no, Equipment type, Serial No. there is no need to give partner no .
If its good, then plz give point. -
Handle Reverse charges tax lines from Sabrix for creation of new Invoice document.
Hi Gurus,
I am facing an issue in case where Sabrix is returning Reverse Charge Lines as show below:
Tax Rate
Tax Amount
Tax Base
-0.24
-240
1000
0.24
240
1000
The original invoice Line item was as follows:
Net Amount : 1000.00
Tax Amount : 0.00
PO Number at line level.
Tax code : I1
Now, I am using BAPI : BAPI_INCOMINGINVOICE_CREATE to create an invoice document for non reverse charge scenarios. I am filling table : GLACCOUNTDATA with other details such as GL account, tax code, amount, etc from Invoice related document and PO.
But I have no idea where should I push these reverse charge lines.
Please help me from technical perspective on how to assimilate these reverse charge lines.
Thanks and Regards,
Saurabh.HELLO STAR SHANKAR SIR,
Oh gr8. first time seeing this type of question.....
u r really...................
with regards
Suvetha
Gayathri -
BAPI for creation of Authorization Objects in BI 7.0
Hi BW Gurus,
Greetings!!!
Is there any BAPI Available for creation of Authorization Objects in BI 7.0.
The data will be transferred through flatfiles.
Kindly provide me the info as earliest as possible.
Best Regards,
PriyaGot the Workaround...
Priya -
Hi Freinds,
I need to trigger the creation of a stock from a BAPI.
So in MIGO i am using movement type 501 and type as Others.
I could see a bapi BAPI_GOODSMVT_CREATE for that .But in the checktable for the tcodes t158g , i could not find MIGO.So i doubt if i can use this BAPI for the creation of a stock.
Please let me know if there is a BAPI for the creation of stocks.
Thanks and Regards,
AnoopHello,
Use the belwo bapi.
BAPI_WHSE_TO_CREATE_STOCK
Reward if helps.
Thanks,
Krishna -
Bapi for F-63 changing parked document
hi all!
I need bapi or fm for changing parked document for f-63 transaction.if any one knows just send me,
Thanks in advanceHi Raj,
This is the Bapi for parking for that transaction check wether it is useful to you
'BAPI_INCOMINGINVOICE_PARK'.
Also check this link for more number of bapis
http://www.sapbapi.com/bapi-list/ It is really very helpful
Regards,
Sana. -
Standard remote enabled bapi for creation of purchaser contract in srm
Hello Friends
Plz tell me is there any standard,remote enabled FM/BAPI in SRM system for creation of purchaser contract.
I found BBP_PD_CTR_CREATE. But this is normal FM.
I need BAPI like BAPI_CONTRACT_CREATE which there in ECC system.
Plz help.
Thanks & regards,One idea is to write a wrapper FM that is remote enabled and internally call BBP_PD_CTR_CREATE for your own use.
Maybe you are looking for
-
Cannot install DVD/CD ROM drive after upgrading from Windows 7
I had a working DVD/CD-ROM drive before upgrading. Now it shows as Unknown Device in Device Manager, I tried uninstalling it and then scanned for hardware changes but it still does not work. I also tried manually selecting a CD-ROM drive for it but i
-
Can I have two iCloud accounts on one iPhone 5?
Can I have 2 icloud ID in 1 iphone 5?
-
FPRUNX001 error when fp_docparams-fillable = 'X', else PDF is created.
Hi, When I use following code, I get FPRUNX001 system error that : Request start time: Sun Dec 23 23:11:47 CST 2007 (200101)... fp_docparams-langu = 'E'. fp_docparams-country = 'US'. fp_docparams-fillable = 'X'. CALL FUNCTION fm_name EXPORTING
-
ITunes 7 - "iTunes has encountered a problem and needs to close"
I was prompted to update to 7.0.1, so I did. When everything finished and I tried to open it, it doesn't even open, but says,"iTunes has encountered a problem and needs to close". I have tried everything, I have seen some other forums about this but
-
Does anyone know if I can change the font on Word to 13? When I highlight the text and type in 13 it automaticall reverts back to 12. I have a MacBook Air.