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.
Similar Messages
-
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 Purchasing info record
Hi SAPians,
Greetings......
Can you help me out in giving the BAPI for the creation of Purchasing Info record (ME11) .
Thanks in advance,
Lekha.Hi ,
You people have suggested me to use RM06IBI0 this program.
I want to know in what way it can help me.
Thankyou in advance,
Lekha. -
Reg bapi for creation of purchase order
hai to all,
i have to upload purchase orders from legacy file to R/3 system
certain order having more than 50 line items
so please any one send me <b>stardard bapi program or bdc program for me21n</b> transaction which will suitable for my senario.
please send asap
regards
vijayhai
i am trying to create po using bapi
the following code explains
constants : c_x value 'X'.
data: del_date type sy-datum.
data: pohead type bapimepoheader.
data: poheadx type bapimepoheaderx.
data: exp_head type bapimepoheader.
data: t_return_out type table of bapiret2 with header line,
wa_return_out TYPE bapiret2.
data: poitem type table of bapimepoitem with header line.
data: poitemx type table of bapimepoitemx with header line.
data: posched type table of bapimeposchedule with header line.
data: poschedx type table of bapimeposchedulx with header line.
data: ex_po_number type bapimepoheader-po_number.
Header Level Data
pohead-comp_code = '1011'.
pohead-doc_type = 'NB' .
pohead-creat_date = sy-datum .
pohead-vendor = 'A1138'.
pohead-purch_org = 'DOMS'.
pohead-pur_group = 'MFR'.
pohead-langu = sy-langu .
pohead-doc_date = sy-datum.
poheadx-comp_code = c_x.
poheadx-doc_type = c_x.
poheadx-creat_date = c_x.
poheadx-vendor = c_x.
poheadx-langu = c_x.
poheadx-purch_org = c_x.
poheadx-pur_group = c_x.
poheadx-doc_date = c_x.
Item Level Data
poitem-po_item = 1.
poitem-material = '000000000100001079'.
poitem-plant = 'HO01'.
poitem-stge_loc = ''.
poitem-quantity = 1.
append poitem.
poitemx-po_item = 1.
poitemx-po_itemx = c_x.
poitemx-material = c_x.
poitemx-plant = c_x .
poitemx-stge_loc = c_x .
poitemx-quantity = c_x .
poitemx-tax_code = c_x .
poitemx-item_cat = c_x .
poitemx-acctasscat = c_x .
append poitemx.
Schedule Line Level Data
posched-po_item = 1.
posched-sched_line = 1.
posched-del_datcat_ext = 'D'.
del_date = sy-datum + 1.
write del_date to posched-delivery_date.
posched-deliv_time = '000001'.
posched-quantity = 1.
append posched.
poschedx-po_item = 1.
poschedx-sched_line = 1.
poschedx-po_itemx = c_x.
poschedx-sched_linex = c_x.
poschedx-del_datcat_ext = c_x.
poschedx-delivery_date = c_x.
poschedx-quantity = c_x.
append poschedx.
call function 'BAPI_PO_CREATE1'
EXPORTING
poheader = pohead
poheaderx = poheadx
testrun = ' '
IMPORTING
exppurchaseorder = ex_po_number
expheader = exp_head
TABLES
return = t_return_out
poitem = poitem
poitemx = poitemx.
poschedule = posched
poschedulex = poschedx.
call function 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
if not ex_po_number is initial.
call function 'DEQUEUE_ALL'.
else.
call function 'DEQUEUE_ALL'.
message i036.
endif.
**endform. " create_po
IF ex_po_number IS NOT INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
PERFORM show_result.
ELSE.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
PERFORM show_result.
ENDIF.
*& Form show_result
text
--> p1 text
<-- p2 text
FORM show_result .
LOOP AT t_return_out INTO wa_return_out.
write : ex_po_number.
WRITE : / wa_return_out-type,
/ wa_return_out-id,
/ wa_return_out-number,
/ wa_return_out-message,
/ wa_return_out-log_no,
/ wa_return_out-log_msg_no,
/ wa_return_out-message_v1,
/ wa_return_out-message_v2,
/ wa_return_out-message_v3,
/ wa_return_out-message_v4,
/ wa_return_out-parameter,
/ wa_return_out-row,
/ wa_return_out-field,
/ wa_return_out-system.
ENDLOOP.
<b>iam geting the error such that</b>
E
BAPI
001
No instance of object type PurchaseOrder has been created. External reference:
000000
PurchaseOrder
POHEADER
1
E
ME
062
Account assignment mandatory for material 100001079 (enter acc. ***. cat.)
000000
100001079
POITEM
<b>how to correct this error</b>
regards
vijay -
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.
-
Remote-Enabled BAPI/RFC for creating "Request Special Payment (SPSP)"
Is there any Remote-Enabled BAPI/RFC for creating "Request Special Payment (SPSP)" which is one of the Personnel Change Requests under MSS ?
Thanks.closing to post another question.
-
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. -
Standard Remote-Enabled Function Module to display data.
Good afternoon,
Is there any Standard Remote-Enabled Function Module which can be used to display a list of material, supplier or stocks data?
First time, I was trying to use FM link to BW Extractor as MDEX_MATERIAL_MD for Material Attributes, but these kind of FM are not Remote-Enabled and not released.
My second solution is to find a Standard Remote-Enabled Function Module which can be used to display a list of material, supplier or stocks data, but I haven't it yet.
May someone help me in this?
Thanks in advance for your answers.
Best regards,
Paul d'ORIGNYHi,
Suppose you want to read data from the vbrk table in ECC through a function module, then you can define the function module as "remote-enabled"(attribute tab in se37-processing type). You can try the following code out:
FUNCTION Z_EM_INVOICE.
*""Local Interface:*
*" IMPORTING
*" VALUE(I_FKDAT) TYPE FKDAT OPTIONAL
*" TABLES
*" E_VBRK STRUCTURE VBRK
*select * from vbrk into table*
e_vbrk where fkdat = i_fkdat.
ENDFUNCTION.
From BI you can call the function odule as follows:Supposing that you are calling the function module in the start routine of a dso:
data : v_dest_system TYPE char255.
data: l_vbrk type table of vbrk.
v_dest_system = 'DRDCLNT010'
CALL FUNCTION 'Z_EM_INVOICE''
destination v_dest_system
EXPORTING
i_fkdat = <passing variable>
e_vbrk = l_vbrk.
Regards,
Anjana. -
Remote enabled BAPI/RFC to upload a Resume
Is there any Remote enabled BAPI/RFC to upload a Resume and how to assign it to Applicant ?
I need to upload Resume from a .Net program and assign it as attachment or otherwise to Applicant.The reason for posting it here is this:
I used Remote Enabled FM BDS_BUSINESSDOCUMENT_CREATEF to create an attachment (.DOC word document) to APPLICANT Object. It works fine when executed from SE37.
When I execute(call) from .Net code, I get exception "ERROR_KPRO".
So I am looking for ANY way to attach or send Resume document into SAP and some how associating it with APPLICANT object, either by solving ERROR_KPRO or by suggesting any other way...
Thanks for the response -
Hi,
A few songs from my old purchase is not available for download. It shows as purchased but I can't download it. Please help me resolve this problem, what do I need to do to enable download for all my purchased songs/movies etc.
- AvinashThe purchases are probably hidden:
http://support.apple.com/kb/ht4919 -
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 -
Remote enabled FM for the Portal application
Dear all,
I need to develop a Remote enabled FM for the Portal application. The requirement is to pass the output( few fileds) of MC.1 Transaction to the portal.The issue is whether to write our own logic in the function module or is there any alternative way.
The input is same as for the std tarnsaction MC.1
Thanks
KumarYes you will have to create a Z function module.
Instead of declaring the function module as normal function module in the attributes tab, mention it as remote function module.
Also when giving import and export parameters select the pass value check box.
This might solve your query.
Thanks & Regards,
Lalit Mohan Gupta. -
Are there any standard Idocs or Bapis for posting the data into transaction
Hi,
Are there any standard Idocs or Bapis for posting the data into transactions ME42N and IK11?
Thank You.Thank you.
Any idea of the other one? -
Remote-enable bapi to upload employee photos
hi,all
i need to upload emplyee photos from another application system to sap,but i have no idea about such remote-enable bapi.
can anybody show me one?
Regards
Darellhi,all
i need to upload emplyee photos from another application system to sap,but i have no idea about such remote-enable bapi.
can anybody show me one?
Regards
Darell -
Remote enabled BAPI/RFC to create VACANCY in Recruitment
Is there any Remote enabled BAPI/RFC to create VACANCY in Recruitment?
I need to create VACANCY from external .Net program.
Thanks.closing to post another question
Maybe you are looking for
-
I am trying to do a Video project with JAVA. Where i would like to capture webcam/video as buffer or as file and playback. After able to do that i want to send the data ip to ip. Which java libraries i can follow to get started ? Thanks & Regards
-
How to extend search help range?
Hi all, I have a requirement. I have to display more than 5000 search help results in the selection screen when I press F4 on a field. Usually SAP permits only 5000, but I want to display more than 5000. Useful answers will be rewarded immediately. T
-
Webdynpro + Adobe Interactive Form + Web Service
Hello Experts, Can you please provide me the useful solutions for the below mentioned issues. I created a Webdynpro with one view .Kept the adobe interactive form on the view by binding the structure with all my fields to the data source. And one web
-
Get iTunes to remember position in Playlist
Hi, does anyone know how to get iTunes to remember where it was in a Playlist when you shut down your computer so that it starts up at the same place again instead of at the top of the Playlist? It seems capable of remembering which Playlist you were
-
We have running EBS on OEL5.2 and EBS owner is applmgr and now i have created custom directory on /u01/oracle/applmgr/oraappl/xxx that directory should access other custom users to copy all their reports and forms to XXX directory. I logged in as roo