Updating Vendor Confirmations in PO
Hi Friends,
I am trying to update Vendor Confirmations(TABLE EKES) in PO using FM ME_CONFIRMATION_UPDATE. Even checking for EKPO-BSTAE.
But i could not able to update EKES table, its throwing an error 'SYSEM ERROR:ERROR DURING UPDATING TABLE EKES'.
Any suggestions please
Regards,
Sunil
Message was edited by:
sunilkumar sankineni
I'm also trying to update the EKES table using the same function module, but not able to update. Did your problem get solved. Can you give me the code, on how to update the EKES table.
Message was edited by:
P K Ch
Similar Messages
-
Hi,
To update Vendor Confirmations manually in PO we first go for cancellation of PO release then we will update VCs.
Is it possible to update VCs without cancellation of PO release? If yes,pls explain the procedure.
Note that We are not using EDI & IDOC.
Regdshi,
u can do it.
u have to change the release iondicator from 1 to 3 or others related indiactor in customizing PO release strtagegy. -
User exit to update Vendor Confirmation in ME22N
Hi,
I am adding a subscreen at the header level using BADI ME_GUI_PO_CUST and ME_PROCESS_PO_CUST. This new sub screen at the header level will have fields like confirmation category, delivery date..etc., and a push buttom called 'CONFIRM'. When the user selects the line items to be confirmed and clicks the 'CONFIRM' button the data from the customer subscreen should be copied to the item details(in Confirmations tab).
The problem is with the confirmation tab. I need an user exit to update this. When the PO is saved confirmation should be created and EKES table should be updated.
Any useful information will surely be rewarded
Thanks in advance
Antony.Hi
Following enhancements are available....
Transaction Code - ME22N Change Purchase Order
Exit Name Description
AMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requisn.
M06E0004 Changes to communication structure for release purch. doc.
M06E0005 Role determination for release of purchasing documents
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., preview)
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MM06E011 Activate PReq Block
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
Hope this helps to solve ur problem....
<b>do reward if useful....</b>
regards
dinesh -
Vendor confirmation tab update using idoc ORDERS02
Hi all,
This is the first time i am working on idocs.
I have a requirement where i have to update the vendor confirmation tab in ME22n(Purchase order), I am using IDOC type ORDERS02. and i am using segment E1EDP20 to update quantity,date and reference no. This is working fine.
Now i need to update 2 more fields in the tab i.e confirmation category(EKES-EBTYP) and Date category of delivery date in vendor confirmation(EKES-LPEIN).But i dint find these fields in segment E1EDP20.
My question is whether these 2 fields are available in any other segment?
or should i extend the segment E1EDP20 ?is it the correct segment to be extended...
Please provide the inputs....<removed by moderator>
Regards,
Greeshma.
Edited by: Thomas Zloch on Feb 22, 2012Hi,
I have a questions for you and that will help me provide better solution .
a) Is vendor providing you the Confirmation category or are you expecting to get this information from Vendor ?
There are many points at which this information can be entered in ME22N.
1. When the Vendor Acknowledege your PO(If the Acknowledgment required is selected) .
2. When the Vendor request a change in schedule due to his own priorities .
3. When the Vendor actually does a goods issue and you are ready to do a Goods receipt.
In all these cases you update the system with confirmation category .In most cases this is the last phase of PO processing where you do the goods receipt and simultaneoulsy update the confirmation category. You are geting the quantity and the date updated from your schedule lines currently and since Schedules lines does not contain the confirmation category you are not getting it in E1EDP20.Confirmation category in most business scenarios is a mere stastical data rather than concrete data like schedule lines.
Depending on 1/2/3 you should be approching the solution. 1.If you want to update the confirmation category during the Order acknowledgment Use BAPI_PO_CHANGE and call it from the PI or middleware or(3) if during the Goods receipt then call the Exit of MIGO to get the PO populated if not exit then write a custom program to see all the Goods receipt and update the PO confirmation category accordingly (Remember this is a statstical data ). Although i highly doubt that the confirmation category will be provided by vendor it is the Buyer who will be determining it and that is why it is not there in the Standard Idoc.I shall not prefer the IDOC extension.
You can have a discussion with your Functional/Customer to figure out the best approcah. Word of Caution : Analyze before you extend an Idoc .
Thanks,
Anjaneya .
Edited by: Anjaneya Bhardwaj on Feb 24, 2012 7:33 AM -
BDC for ME22n vendor confirmation
i am facing problem while doing BDC for ME22N . i am going for itemwise vendor confirmation.
for first line item it is happening. but for 2nd line item it is not going.
any help?
this is my code. i guess some loop i have to add but where? can any body give idea?
REPORT ZMM_VC_UPLOAD.
TABLES : t100.
Internal table declaration *
DATA : BEGIN OF it_upload OCCURS 0,
index(4), "Index
EBELN(10), "PO number
EBELP(5), "line item PO
LIST(1), "item number
BSTAE(4), "Confirmation control key
EBTYP(2), "Confirmation Category
BSTAE(4), "Confirmation control key
LPEIN(1), "Category of delivery date
EEIND(10), "delivery date
MENGE(13), "QTY Quantity as per vendor confirmation
XBLNR(20), "ext doc
ERDAT(10), "doc date
er_message(100),
END OF it_upload.
DATA: BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE,
MSGDATA LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
*Selection Screen
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETER: P_FILE LIKE IBIPPARMS-PATH OBLIGATORY. "to select a file.
SELECTION-SCREEN END OF BLOCK B1.
*Initialization
INITIALIZATION.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE .
PERFORM GET_FILENAME.
start-of-selection
START-OF-SELECTION.
PERFORM MAKE_FILE_NAME .
PERFORM UPLOAD_FILE.
PERFORM BDC_PROCESS.
perform read_messages.
*& Form UPLOAD_FILE
FORM UPLOAD_FILE .
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
FILENAME = P_FILE
FILETYPE = 'DAT'
TABLES
DATA_TAB = IT_UPLOAD .
IF SY-SUBRC <> 0.
ENDIF.
ENDFORM. " UPLOAD_FILE
*& Form bdc_process
FORM BDC_PROCESS .
loop at it_upload.
LOOP AT IT_header.
refresh bdcdata.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE'
'=MECHOB'.
perform bdc_field using 'MEPO_TOPLINE-BSART'
'NB'.
perform bdc_field using 'DYN_6000-LIST'
it_upload-list. "' 1'.
perform bdc_field using 'BDC_CURSOR'
'MEPO1319-MATKL'.
perform bdc_field using 'MEPO1319-SPINF'
'X'.
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'
it_upload-EBELN. "'4500195517'.
perform bdc_field using 'MEPO_SELECT-BSTYP_F'
'X'.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE'
'=TABIDT14'.
perform bdc_field using 'BDC_CURSOR'
'MEPO_TOPLINE-BSART'.
perform bdc_field using 'MEPO_TOPLINE-BSART'
'NB'.
perform bdc_field using 'DYN_6000-LIST'
it_upload-list. "' 1'.
perform bdc_field using 'MEPO1319-SPINF'
'X'.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE' "first time
'/00'.
perform bdc_field using 'MEPO_TOPLINE-BSART'
'NB'.
perform bdc_field using 'DYN_6000-LIST'
it_upload-list. " ' 1'.
perform bdc_field using 'BDC_CURSOR'
'MEPO1334-BSTAE'.
perform bdc_field using 'MEPO1334-BSTAE'
it_upload-BSTAE . "'0005'.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'MEPO_TOPLINE-BSART'
'NB'.
*loop at it_item where ebeln = it_upload-ebeln.
perform bdc_field using 'BDC_CURSOR'
'DYN_6000-LIST'.
perform bdc_field using 'DYN_6000-LIST'
it_upload-list. "' 1'.
perform bdc_field using 'MEPO1334-BSTAE'
it_upload-BSTAE. "'0005'.
perform bdc_field using 'BDC_CURSOR'
'EKES-ERDAT(01)'.
perform bdc_field using 'EKES-EBTYP(01)'
it_upload-EBTYP. "'vc'.
perform bdc_field using 'RM06E-LPEIN(01)'
it_upload-LPEIN. "'D'.
perform bdc_field using 'RM06E-EEIND(01)'
it_upload-EEIND. "'15.02.2009'.
perform bdc_field using 'EKES-MENGE(01)'
it_upload-MENGE. "'10'.
perform bdc_field using 'EKES-XBLNR(01)'
it_upload-XBLNR. "'inv 9'.
perform bdc_field using 'EKES-ERDAT(01)'
it_upload-ERDAT. "'15.02.2009'.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE'
'=MESAVE'.
CALL TRANSACTION 'ME22N' USING BDCDATA MODE 'A' UPDATE 'A' MESSAGES INTO MSGDATA.
CLEAR: BDCDATA,BDCDATA[].
refresh BDCDATA.
ENDLOOP.
ENDFORM. " bdc_process
Start new screen *
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
CLEAR BDCDATA.
BDCDATA-PROGRAM = PROGRAM.
BDCDATA-DYNPRO = DYNPRO.
BDCDATA-DYNBEGIN = 'X'.
APPEND BDCDATA.
ENDFORM. "BDC_DYNPRO
Insert field *
FORM BDC_FIELD USING FNAM FVAL.
IF FVAL <> ''.
CLEAR BDCDATA.
BDCDATA-FNAM = FNAM.
BDCDATA-FVAL = FVAL.
APPEND BDCDATA.
ENDIF.
ENDFORM. "BDC_FIELD
*To get file name *
FORM GET_FILENAME .
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
IMPORTING
FILE_NAME = P_FILE.
IF SY-SUBRC NE 0 .
WRITE : / 'Enter File Name'.
ENDIF.
ENDFORM. "GET_FILENAMEHi Dude,
When ur looping the item information , in your code ur
loop at it_item where ebeln = it_upload-ebeln.
perform bdc_field using 'BDC_CURSOR'
'DYN_6000-LIST'.
perform bdc_field using 'DYN_6000-LIST'
it_upload-list. "' 1'.
perform bdc_field using 'MEPO1334-BSTAE'
it_upload-BSTAE. "'0005'.
perform bdc_field using 'BDC_CURSOR'
'EKES-ERDAT(01)'.
perform bdc_field using 'EKES-EBTYP(01)'
it_upload-EBTYP. "'vc'.
perform bdc_field using 'RM06E-LPEIN(01)'
it_upload-LPEIN. "'D'.
perform bdc_field using 'RM06E-EEIND(01)'
it_upload-EEIND. "'15.02.2009'.
perform bdc_field using 'EKES-MENGE(01)'
it_upload-MENGE. "'10'.
perform bdc_field using 'EKES-XBLNR(01)'
it_upload-XBLNR. "'inv 9'.
perform bdc_field using 'EKES-ERDAT(01)'
it_upload-ERDAT. "'15.02.2009'.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE'
'=MESAVE'.
->(01) you have to replace to variable , and every loop pass increment the varialbe value with 1.
ex : -
V1 = 1.
loop at item.
perform bdc_data using 'xyz(V1)'
it_upload-variable.
V1 = V1 + 1.
endloop.
This is called as index , the table control fields are differ the field name by index only... -
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 -
Vendor confirmations in purchase order
Hi friends,
Iam using the fucntion module ME_CONFIRMATION_UPDATE to update the vendor confirmations table ie : EKES table
Now iam able to succesfully update and insert new record in this table using the above function module.
Now when i go to ME23N and give purhcase order number and at the item level in the confirmations tab i should see the updated entries of EKES table . but iam not able to see it..
when i manually add a new line in the confirmations tab then i can see that entry in the EKES table.. how can i get the reverse process ie : when i add an entry in EKES table using the above function module it should reflect in the confirmation tab at the item level in ME22N.
How can i do it.
Regards
KumarWell, not much more I can say. This is the code I uam using for my specific case, hope that gives you some ideas for your case:
lstr_item-acknowl_no = p_cnftxt.
lstr_item-conf_ctrl = '0001'.
lstr_itemx-acknowl_no = 'X'.
lstr_itemx-conf_ctrl = 'X'.
LOOP AT gtab_xekes_tmp INTO gstr_xekes_tmp.
IF gstr_xekes-ebelp NE lv_ebelp AND sy-tabix > 1.
lstr_item-po_item = gstr_xekes_tmp-ebelp.
APPEND lstr_item TO ltab_item.
lstr_itemx-po_item = gstr_xekes_tmp-ebelp.
APPEND lstr_itemx TO ltab_itemx.
ENDIF.
lv_ebelp = gstr_xekes_tmp-ebelp.
ENDLOOP.
lstr_item-po_item = gstr_xekes_tmp-ebelp.
APPEND lstr_item TO ltab_item.
lstr_itemx-po_item = gstr_xekes_tmp-ebelp.
APPEND lstr_itemx TO ltab_itemx.
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
purchaseorder = p_ebeln
TABLES
return = ltab_bapiret
poitem = ltab_item
poitemx = ltab_itemx.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
/Leif -
Hi,
Pls clarify in the Po screen me23n in the Item details and in the confirmation tab
what is the external document number.
i have created a Po with confirmation key active and i did inbound delivery also after that i need to do migo.
but i dont know what is this external document in Po.
Any T code for that
regards
arunHi arun,
vendor confirmations are several types ex:order acknowledgement,advance ship noyification,transport confirmation ,inbound delevery like that,
the vendor confirmations are manually entered in SAP,
if we use the confirmation through EDI s automatically,
EDI-855 for order acknowledgement
EDI-856 for advance ship notification,
external confirmations are configured through img-MM-purchasing-confirmations-define external confirmations
if u need new categories apart from standard it is possible,
there are three internal confirmations are predefined at SAP
category 1 : used for order acknowledgement
category 2 : ASN or inbound delevery
category 3 : rough GR
external confirmations are to be assigned to internal confirmations,
this enables purchasing documents automatically updated,
Manual confirmation
this is entered through me22n t-code
ITEM-confirmation list
hope this is helpful
reward points
Lakshmi Reddy -
Vendor Confirmation on a PO in creation mode.
Hi ,
We have a requirement in our project such that we need to put the vendor confirmation on a PO in the creation mode of PO ( ME21N / ME59 ).
Is it possible in standard SAP ?
As per my analysis , the Confirmation can come on a PO only after it has been created.
Please advise if this is possible.
Also which Exit should be used to create the confirmation on PO.( such that the respective account assigned sales order is also updated after the confirmation on PO ).
Thanks,
Purvaresolved issue myself
-
Function module to modify the vendor confirmation data
Hi,
I am using ME_CONFIRMATION_UPODATE to add a new record to table EKES, ie I am able to see the vendor confirmation in purchase order. Can I use the same function module to modify the same record in above table EKES or anyother function module is there? My requirment is to change the delivery date once again in confirmation tab in purchase order.
Please help,
Thanks,
Vengal Rao.Hi All,
I could use the same function module and change the delivery date, i thing I changed is the data in field KZ , instead of 'I' used 'U'. to update the existing data.
Thanks,
Vengal Rao. -
Function Modules used for PO Vendor Confirmation
Hi,
Pls. let me know which function module is used to update EKES table during Vendor Confirmation in Purchase Order.
Thanks in advance.
Regards,
RameshHi Ramesh,
Please check this FM ME_CONFIRMATION_UPDATE.
This FM will perform direct update to table EKES (please be careful).
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful. -
Bapi for Updating the confirmation table(EKES)
Hi,
Could anyone let me know the BAPI to update the Vendor confirmation table EKES. And also the parameters to be passed to it.
Thanks.Suman:
After your call to FM ME_UPDATE_DOCUMENT is successful, please perform a explicit COMMIT.
Umair:
Use the FM ME_CONFIRMATION_UPDATE to update EKES table.
CALL FUNCTION 'ME_CONFIRMATION_UPDATE'
EXPORTING
i_ebeln = ekko-ebeln
TABLES
xekes = xekes
yekes = yekes.
"yekes contains the EKES table in DB
"xekes contains the changed values for EKES table
Hope this helps. Reward points if helpful.
Thanks
Balaji
Edited by: Balaji Ganapathiraman on Mar 20, 2008 1:10 PM -
Generating Inbound delivery based on Vendor Confirmation for Purchase order
Is there a way to create Inbound deliveries based on Vendor confirmation for a purchase order.
Here is the complete scenario.
Buyer Creates the PO for qty 100 and Date August 29
Vendor Confirms that he can supply a qty of 50 for August 29 and remaining 50 for Sep15th
Based on vendor confirmation, Buyer creates 2 vendor confirmations (AB) to match with the data received from Buyer, without modifing the PO.
Requirement:
Inbound deliveries should get created based on the vendor confirmation.
As MRP looks at Inbound delivery for Planning purposes once they are available, Inbound delivery should match with vendor confirmation data.
Is it possible to get this requirement met with standard config available in SAP.could you eventually get the answer from the docu Set Up Confirmation Control
-
Wage group is not getting updated in confirmation.
Hi
When confirmation is done through idoc ( type Conf21) then wage group is not getting updated in confirmation table AFRU.
When confirmation is done through co11n then it gets updated.
How to get it updated when confirmation is done through idoc.Hi,
In we02 Kindly check if the required field is correct mapped in the IDOC.
Reg
DSk -
Fbl1n txn for updating vendor line item
hello every one iam trying to update vendor line item when a billing document get cancelled in vf11 i have tried bapi BAPI_ACC_DOCUMENT_REV_POST .
the requirement is whenever a billing document get cancelled the commision need to get credited again for example if vendor line item is
St Assignment DocumentNo Type Doc. Date S DD Amount in local cur. LCurr Clrng doc. Text
COMMISSION 1700000014 CP 31.08.2011 71.26- INR
it need to get like this
St Assignment DocumentNo Type Doc. Date S DD Amount in local cur. LCurr Clrng doc. Text
COMMISSION 1700000014 CP 31.08.2011 71.26 INR
that means the amount in local currency need to get into + one like above
Please help ASAP & if some one give me code also that will be very helpul for meHii ali this is my code & below iam showing u what wasthe data in my return table please suggest me what to do
DATA : P_REVERSAL LIKE BAPIACREV ,
TRAN_DOC(20) TYPE C ,
p_busact LIKE BAPIACHE09-BUS_ACT ,
p_objkey LIKE BAPIACREV-OBJ_KEY .
DATA : P_RETURN LIKE TABLE OF BAPIRET2 ,
WA_RETURN TYPE BAPIRET2 ,
WF_REMARKS ,
PLANT TYPE VBRP-WERKS ,
bill_no type vbrk-vbeln ,
belnr type BELNR_D ,
AWKEY type AWKEY .
data : date1 type sy-datum .
date1 = sy-datum+0(4) .
select single belnr AWKEY from bkpf into (belnr , AWKEY) where blart = 'CP' and
budat = sy-datum and
xblnr = vbrk-kidno . "bill_no .
IF SY-SUBRC = 0 .
CONCATENATE belnr AWKEY+10(4) date1 INTO TRAN_DOC .
ENDIF .
SELECT SINGLE WERKS FROM VBRP INTO PLANT WHERE VBELN = vbrk-kidno .
p_reversal-obj_type = 'BKPFF'.
p_reversal-obj_key = tran_doc.
p_reversal-obj_key_r = tran_doc.
p_reversal-pstng_date = sy-datum.
p_reversal-comp_code = tran_doc+10(4).
p_reversal-reason_rev = '02'.
p_reversal-ac_doc_no = tran_doc+0(10).
p_busact = ' '.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_REV_POST'
EXPORTING
reversal = p_reversal
bus_act = p_busact
IMPORTING
obj_key = p_objkey
TABLES
return = p_return.
IF sy-subrc = 0.
---commit Work
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
ELSE .
*****Use the below statement, if the BAPI is sending back the 'RETURN' internal table.
READ TABLE p_return INTO WA_RETURN WITH KEY TYPE = 'F'.
IF SY-SUBRC EQ 0 .
CALL FUNCTION 'MESSAGE_TEXT_BUILD'
EXPORTING
MSGID = WA_RETURN-ID
MSGNR = WA_RETURN-NUMBER
MSGV1 = WA_RETURN-MESSAGE_V1
MSGV2 = WA_RETURN-MESSAGE_V2
MSGV3 = WA_RETURN-MESSAGE_V3
MSGV4 = WA_RETURN-MESSAGE_V4
IMPORTING
MESSAGE_TEXT_OUTPUT = WF_REMARKS.
ENDIF.
ENDIF.
1 E RW 609 Error in document: BKPFF $ DEVCLNT300 000000 BKPFF $
2 E RW 632 Document BKPFF 1700000061WPL12011 DEVCLNT300 cannot be reversed 000000 BKPFF 1700000061WPL12011
3 E F5 814 Document type ZX not defined 000000 ZX
4 E F5 814 Document type ZX not defined 000000 ZX
Maybe you are looking for
-
Hi, I have a report which is generated in PDF format, when run through application server, in the output a space is added after the alphabet "w". This happens only in the case of lowercase "w". The PDF when generated from Reports Builder does not hav
-
.csv data import via SQL developer
I am trying to load an Access 2003 table into an Oracle 10g database via SQL developer. The Access file is located on another system and there is no ODBC connection between it and the SQL server. What I have done so far is the following: i) Export Ac
-
Center list web part within a web part zone
How do you center web parts within a web part zone? I have a web part zone within a <td>, and the cell is centered. Within the cell I have a table that is centered, which contains the web part zone. However, the web parts within the zone remain left
-
Hi I have REM scenario Iam not able to see any material in Pull list. I have dispatched planned orders, i can see issue storage location in planned order.
-
Can't Change Internet Connection Type
Friend of mine's WRT54Gv6 stopped working, so I temporarily installed a BEFW11S4 and brought the other router home to check out. Installed the latest Linksys firmware, but now when I go to the Setup page, I can't select any Internet connection type e