BAPI for Purchasing Contract
Hi All,
Can anybody suggest some BAPI for uploading pricing conditions in a purchasing contract.
Thanks,
Arun
Hi Arun,
refer to the link for BAPI's:
http://www.sapbapi.com/bapi-list/
Also refer to the link:
Re: VK11,
With luck,
Pritam.
Similar Messages
-
BAPI for Purchase Order Confirmation and update EKES table
Hi all,
I have a requirement to update the PO confirmation soon after successful creation of PO in an IDOC.
I have used BAPI_PO_CHANGE function module which didnt serve the purpose as it cannot update confirmations.
I tried using ME_CONFIRMATION_UPDATE where I was able to add a confirmation entry in EKES table but that is not being reflected in ME23N transaction when I display the PO.
Please help me out on this.
Thanks & Regards
PavanNB: Never use a standard update FM (check attributes of ME_CONFIRMATION_UPDATE) its often only a SQL statement collector without any check, logging of changes or database consistency, if you perform a where-used you should find it is never called alone but with a bunch of other update FM after checks and other update preparation.
Get back to the BAPI and table parameter POCONFIRMATION, also use BAPI_PO_GETDETAIL1 to get current data for the call of BAPI_PO_CHANGE.
Regards,
Raymond
PS: If it is not in 197958 - BAPIs for purchase orders: Missing functions, you should be able to do it -
Tables for Purchase contract Tax pricing
Hi ,
I want to display purchase contract detail in the standard layout.
For Displaying pricing we need the Document condition number of the contract.
Normally in Purchase order pricing document number is in EKKO table and field name is KNUMV.
In same procedure i search for Contract pricing but am not able to find the pricing document number table and the pricing table.
Please guide me how can we pick the pricing values from purchase contract.
what is the tables for purchase contract Tax pricing ?
Regards,
Madhan - Chennai .hii,
it is
KONH Conditions header
KONP Conditions items
KONV Procedure ( billing doc or sales order)
KOND
VEDA Contract data
regards,
Shweta -
Hi experts,
Does anyone know some useful FM or bapi for purchase register??
Regards,
Ashesh.Place a Search in SCN with your subject line or even more Good term.
-
Commitment plan for purchase contracts
Hi Experts,
PLz explain the * Commitment plan for purchase contracts* this is new functionality in ECC 6.0
PLz explain the above statement.
Regards
PratapDear Gurus! ! !
Some will have some idea possible way to this?
Thank you and greetings,
Jose Zapata -
Using BAPIs for sales contracts
Hi,
I'm having this situation that I have to upload sales contracts into SAP from flat files. We planned to use BAPIs for this purpose. Is it a good option. Can anyone suggest better ideas. If BAPI is a good option, has anyone used standard BAPIs for sales contracts updation in SAP System. If yes, can you guide me through the process.Hi,
You can start off with a program with:
Get the filename of the convert file
IMPORT /SAPDMC/LSMEMORY FROM MEMORY ID '/SAPDMC/LSMW'.
V_PROJECT = /SAPDMC/LSMEMORY-PROJECT. " Project
V_SUBPROJ = /SAPDMC/LSMEMORY-SUBPROJ. " Subproject
V_OBJECT = /SAPDMC/LSMEMORY-OBJECT. " Object
IF V_PROJECT IS INITIAL.
V_PROJECT = 'XXXX_LOC'.
ENDIF.
IF V_SUBPROJ IS INITIAL.
V_SUBPROJ = 'SD'.
ENDIF.
IF V_OBJECT IS INITIAL.
V_OBJECT = 'XXXX_VA41'.
ENDIF.
Function will return path of converted file by LSMW object
CALL FUNCTION '/SAPDMC/LSM_FILE_INFO_GET'
EXPORTING
PROJECT = V_PROJECT " /sapdmc/lsmemory-project
SUBPROJ = V_SUBPROJ " /sapdmc/lsmemory-subproj
OBJECT = V_OBJECT " /sapdmc/lsmemory-object
X_ONLY_USED_FILES = 'X'
IMPORTING
FILE_CONV = V_DSNAME " Path of converted file
EXCEPTIONS
NO_SUCH_OBJECT = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
I am not much of an LSMW expert so wont be able to comment much.
regards
Aveek -
BAPI for getting contract details
Hi,
I need a BAPI for getting contract details. Please let me know if there is any such BAPI.
Regards,hi,
Check this FM FI_DOCUMENT_READ -
BAPI - BUS2014 - Purchasing contracts
Hi guru's,
I am using LSMW(BAPI - BUS2014) to create purchasing Contracts(MRO outline agreements). I am getting the following error - Tax Code I1 in procedure is invalid.
But I am passing the right tax code and also checked the tax procedure. (everything is right.
Still getting the error. But I manually tried to create using the sample tax code - no error. I am not sure what's is the problem.
Can anyone help me .......pleaseOK - stupid question. I did figure it out myself. Sorry for my impatience. This is my first BAPI program, so a bit too shaky
Cheers
EssKay -
Hi all,
I have to retrieve the invoice verification due date given the following:
Retrieve batch number from item level of billing (VBRP-CHARG)
Pick up purchase order number from batch master data MCH1
Based on PO number, retrieve invoice verification number (EKBE-BELNR) where :
1. EKBE-EBELN = PO Number
2. EKBE-VGABE = 2
Based on Invoice receipt number, pick up due data on BSEG-FDTAG where BSEG-BLNR is equal with above invoice verification number.
I've done the first bullet point but don't know how to proceed. How can i pick up the purchase order number, do we have any BAPI for that?
Thanks!Used FM VB_BATCH_GET_DETAIL to get PO number
-
BAPI for Purchase Order Vendor Confirmations
Can any body suggest me the BAPI for the purchase order vendor confirmations transaction code me22n - Tab<b>-(Confirmations)</b> alone.
regs,
RajaDear Asha,
Pls find the below code, this handles only the BDC part of the program.Updates only the EKES table thru standard confirmation tab on ME22N.
Kindly clarify any doubts in this reg.
regs,
Raja.
FORM ins_stdtable .
DATA:var TYPE c LENGTH 30,
cstr(02) TYPE n value '01'.
data istr(02) type n value '00'.
DATA recno TYPE i.
data: eblc type c length 5,
ebli type i.
DATA: kebeln LIKE utab-ebeln.
DATA: BEGIN OF indx,
ebelp type ekes-ebelp,
eindx type i,
END OF indx.
DATA : CNT TYPE I value 1.
DATA: COUNTER(2) TYPE N VALUE '01',
ROWS TYPE P.
DATA: w_textout LIKE t100-text.
DATA: gd_update TYPE i,
gd_lines TYPE i.
data :waek like indx,
itabek LIKE TABLE OF waek.
*Used to stores error information from CALL TRANSACTION Function Module
DATA: BEGIN OF messtab OCCURS 0.
INCLUDE STRUCTURE bdcmsgcoll.
DATA: END OF messtab.
SELECT MAX( ETENS ) FROM ekes INTO zetens WHERE ebeln =
ekko-ebeln.
recno = zetens.
LOOP AT utab.
SELECT distinct ebelp INTO CORRESPONDING FIELDS OF TABLE
itabek FROM eket WHERE ebeln = ekko-ebeln.
loop at itabek into waek.
ebli = ebli + 1.
waek-eindx = ebli.
modify itabek from waek.
endloop.
loop at itabek into waek where ebelp = utab-ebelp.
eblc = waek-eindx.
condense eblc.
endloop.
AT NEW ebeln.
PERFORM bdc_dynpro USING 'SAPLMEGUI' '0014'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=MECHOB'.
PERFORM bdc_dynpro USING 'SAPLMEGUI' '0002'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=MEOK'.
PERFORM bdc_field USING 'BDC_CURSOR'
'MEPO_SELECT-EBELN'.
PERFORM bdc_field USING 'MEPO_SELECT-EBELN'
utab-ebeln.
AT New EBELP.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_CURSOR'
'DYN_6000-LIST'.
perform bdc_field using 'DYN_6000-LIST'
eblc.
perform bdc_field using 'BDC_OKCODE'
'=DDOWN3200'.
PERFORM bdc_dynpro USING 'SAPLMEGUI' '0014'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=TABIDT15'.
perform bdc_field using 'DYN_6000-LIST'
eblc.
PERFORM bdc_dynpro USING 'SAPLMEGUI' '0014'.
PERFORM bdc_field USING 'BDC_OKCODE'
'PICK'.
ENDAT.
ENDAT.
PERFORM bdc_field USING 'DYN_6000-LIST'
eblc.
recno = recno + 1.
cstr = recno.
counter = cstr.
*This is to check whether the scheduled line item exceeding 12 rows. if so, use *page up
if counter >= 13.
rows = counter MOD 13.
istr = ( ( counter - rows ) / 13 ).
do istr times.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE'
'=EINB_CREATE'.
enddo.
DO 2 TIMES.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE'
'=P+'.
enddo.
COUNTER = '03'.
cstr = '03'.
ENDIF.
CONCATENATE 'EKES-EBTYP(' cstr ')' INTO var.
PERFORM bdc_field USING 'BDC_CURSOR'
var.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING var
utab-ebtyp.
CONCATENATE 'RM06E-EEIND(' cstr ')' INTO var.
PERFORM bdc_field USING var
utab-eeind.
CONCATENATE 'EKES-MENGE(' cstr ')' INTO var.
PERFORM bdc_field USING var
utab-menge.
CONCATENATE 'J_3ASZDI-J_3ASIZED(' cstr ')' INTO var.
PERFORM bdc_field USING var
utab-j_3asize.
AT END OF Ebelp.
PERFORM bdc_dynpro USING 'SAPLMEGUI' '0014'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=MESAVE'.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
CALL TRANSACTION 'ME22N' USING bdcdata MODE 'E'.
IF sy-subrc EQ 0.
savedone = 'Y'.
saveflag = 'Y'.
initflag = 'N'.
MESSAGE 'SAVED' TYPE 'I'.
else.
saveflag = 'N'.
savedone = 'N'.
initflag = 'Y'.
MESSAGE 'Not Saved' Type 'I'.
endif.
CLEAR: bdcdata.
REFRESH bdcdata.
ENDAT.
ENDLOOP.
ENDFORM.
Hope this will help u -
BAPI for purchase order TA Me27
Hi,
I´m looking for a BAPI to create purchase orders like in TA ME27. I don´t have the vendor...
So I think, BAPI_PO_CREATE is not working because the vendor is mandatory...
Thank You!Sorry, I mean creating a stock transport order and therefore using TA ME27.
If you use order type 'UB' in TA ME27, you can create also stock transport orders...
Do you know a BAPI for that?
Thank You! -
Bapi for "Purchase Order Return"
Hi,
Is there any BAPI for business process of
"Purchase Return".
Warm Regards
Kuldeep K. JoshiHi,
Is there any BAPI for business process of
"Purchase Return".
Warm Regards
Kuldeep K. Joshi -
BAPI for Purchase Info record creation - ME11 transaction
Hi,
Is there any bapi or function modules which will create the Purchase info record in Me11 transaction and also bapi for change Purchase info record in Me12 transaction?
Points will be awarded.
Regards,
vinoth.Hi,
ME_MAINTAIN_INFORECORD
ME_UPDATE_INFORECORD
ME_GET_INFORECORD_CONDITIONS
ME_PRICING_INFORECORD.
ME_DIRECT_INPUT_INFORECORD
ME_POST_INFORECORD. -
Bapi for Purchasing Info Record
Hi,
Is there any Bapi for creating Purchasing Info Record, Transaction code ME11.
How do we generally go about it.
-Thanks,
Sneha.I'm also looking for an function module or a BAPI, so I hape that anybody will give us a hint
Thanks -
Standard BAPI for editing Contract in R/3
I am new to SAP.I want to implement a BAPI to edit the contract details.Is there any Standard BAPI for doing this????
Regards
AchinHi
Refer
BAPI_CONTRACT_CHANGE
Regards
N Ganesh
assign points if useful***
Maybe you are looking for
-
Using OM: Generate Cost of Goods Sold Account with RFFU1 (segment6)
We have a new requirement to change our COGS account which is generated on sales order issues. Currently we use the COGS generator workflow to 1st derive the default COGS account ccid based on line type (OE_FLEX_COGS_PUB.GET_ORDER_TYPE_DERIVED), then
-
Firefox 4 won't open on my Mac; says it's not compatible with my system (Mac OS4)
I read the system requirements for Firefox 4. My mac should be compatible. I had Firefox 3.6? on my mac. Am running Mac OS 10.4.11. I downloaded Firefox 4; when I tried to install, it said there was a "newer" version of the software on my machine (bu
-
My personal iPhone is locked by carrier AT & T and I want to use a carrier unlock tim Brazil, what do I do?
-
The sites are in Armenian language and some words are seen by the cubes. There wasn't a problem of that kind in the last version on Firefox. Here are some URLs avtomir.am auto.am news.am etc.
-
Copying album name to metadata
Hi everybody, Is there any option to copy the album name of the photos in PSE 10 to the caption field or to any other metadata filed? I want to to it because the subject of all my photos is written in the album name, and I want it to be written on th