Sto confirmation update in ekes table me22n
Hi,
The confirmations tab already displays a line item details for
confirmation category 'AB-order acknowledgement' . The thing is,
i need to update the screen so that along with the present line
item details, i have to display the confirmation category 'LA-
inbound delivery'. This confirmation category actually tells the
qty that has been shipped, which may vary from the qty on the
std PO. The following are the fields which need to be updated in the database table ekes.
type of conf. (EKES-EBTYP)
delivery date (RM06E-EEIND)
quantity (EKES-MENGE).
i had used BAPI_PO_CHANGE , but is not updating the EKES table which is mandatory for my requirement,
and i also tried the bapi ME_CONFIRMATION_UPDATE_GR , this is bapi is also not updating the table ekes,
so shall i need to enhance the standard function module ME_CONFIRMATION_UPDATE_GR OR ANY OTHER WAY ROUND TO MEET THE REQUIREMENT
any guidance is much appreciated.
I'm not sure if this will help you but I solved a similar issue once before.
For an intercompany PO, we had different quantities on the outbound and inbound deliveries. When they tried to recieve the outbound delivery in MIGO, the inbound delivery quantity (what was ordered) would default instead of what was actually shipped.
I implemented BADI BADI_LE_SHIPMENT so that when an outbound delivery was goods issued, the corresponding inbound delivery quantity would update if applicable. BAPI_INB_DELIVERY_CHANGE was used to modify the delivery.
Seeing your post, I looked at EKES. The quantity was updated to the quantity of the outbound delivery. Maybe this will work for you?
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 -
Bapi to update delivery date in confirmation tab in purchase order me22n tc
Hi All,
I am writing a BDC to update the data in confirmation tab for puchase orders for enjoy transaction.
Please let me know how to updated delivery date in confirmation tab in purchase order(ME22N) using a bapi.
I tried using BAPI_PO_CHANGE but found no parameter related to confirmations tab. this BAPI has every thing to update like header data, item data, scheduling data..... except confirmation.
So please let me know how to update the data in confirmation.
We need to use only enjoy transaction ME22N not ME22 in BDC thats why we are looking for a BAPI.
Regards,
VenkatHi
Check the table parameter POCONFIRMATION in BAPI_PO_CHANGE
U can see the field DELIV_DATE in the structure BAPIEKES.
DELIVERY_DATE in the structure BAPIMEPOSCHEDULE as well.
Regards,
Dwaraka.S
Edited by: Dwarakanath Sankarayogi on Feb 5, 2009 7:57 AM -
Reduced confirmation quantity not correct in ME22N/ME23N
Hi Guys,
We are working with confirmations for our purchase orders.
The problem is this:
After GR (+ corrections like 102 movements), the reduced quantity for the confirmation is correctly updated in the EKES-table.
Also, the stock & requirements list shows it correctly. Everything looks fine there.
However, when i look at that confirmation in ME22N or ME23N (confirmation tab), the reduced quanity visible is entirely different than visible in EKES and MD04 (and not correct).
Any ideas?
Thanks,
PaulThis problem has been solved by implementing OSS Note 1343257
-
Changing ebtyp that is confirmation catagory in ekes.
which all tables do we need to update when we are changing ebtyp that is confirmation catagory in ekes.
I'm not sure if this will help you but I solved a similar issue once before.
For an intercompany PO, we had different quantities on the outbound and inbound deliveries. When they tried to recieve the outbound delivery in MIGO, the inbound delivery quantity (what was ordered) would default instead of what was actually shipped.
I implemented BADI BADI_LE_SHIPMENT so that when an outbound delivery was goods issued, the corresponding inbound delivery quantity would update if applicable. BAPI_INB_DELIVERY_CHANGE was used to modify the delivery.
Seeing your post, I looked at EKES. The quantity was updated to the quantity of the outbound delivery. Maybe this will work for you? -
Line item for header material not updating in COEP table
Hi all,
from last few days, I found that when I do confirmation and GR for process order, system is updating all line ( i.e. components, activity types) but line for header material that is finished goods or semi finished goods is not updating in COEP table, I have done GR for order and transferred stock from quality too.
But still its not updating. What could be the reason for it .
Thanks
Vivek VarunHi Krishnendu,
Thanks for the reply , FI document is not getting generated.
What could be the reason for it, as before it was working fine.
Thanks
Vivek Varun -
How the consumption valuse gets updated in the table MVER
Hi,
Can anyone explain me how the consumption value gets updated in the table?
Would you please be able to confirm that all movement types are considered for updates in table MVER. If not, i would need the movement types that are considered as pertaining to u2018consumptionu2019.
Thanks
SriniHi,
Consumption both in material master view and table MVER are updated as soon as the movement is made, ie, real time data.
To see the movements relevant to consumption, use OMJJ to review movement types or table T156. In this table, select Consumpt.postg. field not equal to blank (so blank is excluded).
This should then show all movement types subject to consumption posting. The likely ones to see are below, with majority being G.
(blank) No consumption update
G Planned withdrawal (total consumption)
R Planned, if ref. to reservation, otherwise unplanned
U Unplanned withdrawal (unplanned consumption)
Thanks. -
Jython error while updating a oracle table based on file count
Hi,
i have jython procedure for counting counting records in a flat file
Here is the code(took from odiexperts) modified and am getting errors, somebody take a look and let me know what is the sql exception in this code
COMMAND on target: Jython
Command on source : Oracle --and specified the logical schema
Without connecting to the database using the jdbc connection i can see the output successfully, but i want to update the oracle table with count. any help is greatly appreciated
---------------------------------Error-----------------------------
org.apache.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File "<string>", line 45, in ?
java.sql.SQLException: ORA-00936: missing expression
---------------------------------------Code--------------------------------------------------
import java.sql.Connection
import java.sql.Statement
import java.sql.DriverManager
import java.sql.ResultSet
import java.sql.ResultSetMetaData
import os
import string
import java.sql as sql
import java.lang as lang
import re
filesrc = open('c:\mm\xyz.csv','r')
first=filesrc.readline()
lines = 0
while first:
#get the no of lines in the file
lines += 1
first=filesrc.readline()
#print lines
## THE ABOVE PART OF THE PROGRAM IS TO COUNT THE NUMBER OF LINES
## AND STORE IT INTO THE VARIABLE `LINES `
def intWithCommas(x):
if type(x) not in [type(0), type(0L)]:
raise TypeError("Parameter must be an integer.")
if x < 0:
return '-' + intWithCommas(-x)
result = ''
while x >= 1000:
x, r = divmod(x, 1000)
result = ",%03d%s" % (r, result)
return "%d%s" % (x, result)
## THE ABOVE PROGRAM IS TO DISPLAY THE NUMBERS
sourceConnection = odiRef.getJDBCConnection("SRC")
sqlstring = sourceConnection.createStatement()
sqlstmt="update tab1 set tot_coll_amt = to_number( "#lines ") where load_audit_key=418507"
sqlstring.executeQuery(sqlstmt)
sourceConnection.close()
s0=' \n\nThe Number of Lines in the File are ->> '
s1=str(intWithCommas(lines))
s2=' \n\nand the First Line of the File is ->> '
filesrc.seek(0)
s3=str(filesrc.readline())
final=s0 + s1 + s2 + s3
filesrc.close()
raise finali changed as you adviced ankit
am getting the following error now
org.apache.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File "<string>", line 37, in ?
java.sql.SQLException: ORA-00911: invalid character
here is the modified code
sourceConnection = odiRef.getJDBCConnection("SRC")
sqlstring = sourceConnection.createStatement()
sqlstmt="update tab1 set tot_coll_amt = to_number('#lines') where load_audit_key=418507;"
result=sqlstring.executeUpdate(sqlstmt)
sourceConnection.close()
Any ideas
Edited by: Sunny on Dec 3, 2010 1:04 PM -
The currency is not getting updated in the table VBAP
Hi ,
The currency is not getting updated in the table VBAP. The currency was suppossed to be copied from the header table VBAK for a Sales Order. When the user creating a Sales Order the currency WAERK is not shown in VBAP table. VBAK-WAERk is in EUR . Does anyone know why is this happenning?
Currency is maintained in the Customer Master, Material Master and Sales Org. Any suggestions?.
Also it is happened for only one line item in a set of line items , Other line items did display the currency field.
The net Value has data in it .
The system is ECC 5.0
Regards,
SenthilDear Senthil,
Please apply the following notes (if they apply to your support pack level) and retest:
1460621 VBAP-WAERK is deleted after the sold-to party is changed
1426441 VBAP-WAERK deleted for subitems
1493998 VBAP-WAERK deleted for subitems
This should resolve the issue. I hope this helps.
Best regards,
Ian Kehoe -
Data is not getting updated in DB table
hi all
i am doing IDOC to jdbc scenario
i am triggering idoc from R/3 and the data is going into DB table
sender side: ZVendorIdoc
receiver side:
DT_testVendor
Table
tblVendor
action UPDATE_INSERT
access 1:unbounded
cVendorName 1
cVendorCode 1
fromdate 1
todate 1
Key
cVendorName 1
if i trigger idoc for example vendor 2005,2006 and 2010 data is getting updated in the table
but again if i trigger idoc for same vendor nos data does not get updated in DB table while message is successfull in moni and RWB both
plz suggest if any change need to be done to update the data
Regards
sandeep sharmaHi Ravi
you are right, vendor no is my key field . problem is when i send data again then it should Update the data but it's not updating the data again
i did on exp with this : i deleted all the record from the table and then triggered idoc for vendor 2005 , 2006,2010 after this data is updated in the table i deleted the rows for vendor no 2006 and 2010 and kept the row for vendor 2005
then i again trigered the idoc for vendor no 2005,2006 and 2010 now this should update and it should insert rows for vendor no 2006 and 2010 but i am surprised its not updating the data
Thanks
sandeep -
TDS amount not getting updated in the table under the field QBSHB
Dear Friends,
The TDS amount entered while booking the vendor invoices through MIRO T-cde, is not getting updated in the table BSEG under the field QBSHB.
Kindly let me know the reason for the same and guide me to correct it
TIA.
Regards,
VincentHI Vincent,
Bseg-QBSHB field is relavent for classic WT.
I hope you are using the EWT.
Hence if you post a document through MIRO it will not update
(but if you post document FB60 it will update but wrongly).
Reason is Miro document is posted through interface.
Hence SAP is suggested to not refer the Bseg-QBSHB and etc., fields.
refer only with_item table.
Please refer the below replay from SAP
Please refer the below note .363309
Please review attached note 363309 for detailed explanation
BSEG-QBSHB is designed to fill for the classic withholding tax. And
extended withholding tax information is stored exclusive in table
WITH_ITEM.
You can check in table BSEG for the fields and will find that system
do NOT update field BSEG-QBSHB.
In your line layout,you define a field BSEG-QBSHB. But actully the field
of vendor/customer line item is filled with zero from FI. Thus,it shows
zero in line item display.
And as note 363309 says,
"Remove the field which contains the withholding tax information
from your display variant.
If you want to display the withholding tax information, double-click on
the document number and subsequently choose 'Withholding tax' button."
(BSEG-QSSKZ, BSEG-QSSHB, BSEG-QBSHB) field is not relavent for
Extended withholding tax and not suppose to use in report FBL1N.
It basically does not make any sense to use the withholding tax fields
of the document line items (BSEG-QSSKZ, BSEG-QSSHB, BSEG-QBSHB) with the
activated extended withholding tax.
regards
Madhu M
Edited by: M Madhu on Jan 31, 2011 1:19 PM -
Can't update a sql-table with a space
Hello,
In a transaktion I'm getting some Values from a SAP-ERP System via JCO.
I update a sql-table with this values with a sql-query command.
But sometimes the values I get from SAP-ERP are empty (space) and I'm not able to update the sql-table because of a null-value exception. (The column doesn't allow null-values). It seems that MII thinks null and space are the same.
I tried to something like this when passing the value to the sql-query parameter but it didn't work:
stringif( Repeater_Result.Output{/item/SCHGT} == "X", "X", " ")
stringif( Repeater_Result.Output{/item/SCHGT} == "X", "X", " ")
this works but I don't want to have a "_"
stringif( Repeater_Result.Output{/item/SCHGT} == "X", "X", "_")
Any suggestions?
thank you.
MatthiasThe problem is Oracle doesn't know the space function. But it knows a similar function: NVL --> replaces a null value with something else. So this statement works fine for me:
update marc set
LGort = '[Param.3]',
dispo = '[Param.4]',
schgt = NVL('[Param.5]', ' '),
dismm = '[Param.6]',
sobsl = NVL('[Param.7]',' '),
fevor = '[Param.8]'
where matnr = '[Param.1]' and werks = '[Param.2]'
If Param.5 or Param.7 is null Oracle replaces it with a space in every other case it is the parameter itself.
Christian, thank you for your hint with the space function. So I remembered the NVL-function.
Regards
Matthias -
Update or delete table from XML
Is it possible to update or delete table's row from XML file?
Thanks
Prasanta DeHi Steve,
Thanks for your reply but I could not find any example from the documentation for update-request or delete-request. I need your help in this regards.
1. I have emp table with many rows and the simple structure like this
DEPTNO NUMBER(2)
EMPNO NUMBER(2)
EMPNAME VARCHAR2(20)
EMPSAL NUMBER(8,2)
Key is defined on deptno and empno
2. I have a xml file like this
<?xml version = '1.0'?>
<ROWSET>
<ROW num="1">
<DEPTNO>1</DEPTNO>
<EMPNO>11</EMPNO>
<EMPSAL>1111.11</EMPSAL>
</ROW>
<ROW num="2">
<DEPTNO>1</DEPTNO>
<EMPNO>12</EMPNO>
<EMPSAL>2222.22</EMPSAL>
</ROW>
<ROW num="3">
<DEPTNO>1</DEPTNO>
<EMPNO>13</EMPNO>
<EMPSAL>3333.33</EMPSAL>
</ROW>
</ROWSET>
3. I want that xsql servlet will read this xml file and update EMPSAL column depending upon the value of DEPTNO and EMPNO from xml file.
Please let me know how I should use update-request in xsql page.
Thanks
Prasanta De
null -
Automatic payment program (F110) document are not update in PAYR table
Hi all,
I have make payment in F110 (automatic payment) to customer
But it is not update in PAYR table
Please guide me what I have to do for documents update in PAYR table
Thanks and Regards,
PrudhviHi,
It is possible to enter multiple documents.
You can enter a list of single documents or in intervals.
Enter the document number in ascending order.
Ex:
Individual documents.
10001,10003,10011
If the documents are in a sequence you can enter the Interval like this
(10001,10011)
Hope it helps you
Regards
Andrew
Edited by: Andrew J on May 28, 2009 4:26 PM -
How does CLOSED_CODE updated in PO_LINES_ARCHIVE_ALL table
Hi,
How does CLOSED_CODE column will be updated in PO_LINES_ARCHIVE_ALL table. We have setup "Archive On Approve" for archiving.
Does below is a valid check to verify the line count between lines table and archive table?
We are comparing the line count in Lines table and Archive table, and if there is difference in count, then it is assumed to be change in the Lines,
so then direct the PO Approval Worfkflow for re-approval.
Kindly suggest if below check is correct or not, especially check on CLOSED_CODE='OPEN'.
In few cases, the lines in PO_LINES_ALL table has CLOSED_CODE = 'CLOSED' but, PO_LINES_ARCHIVE_ALL table has lines with CLOSED_CODE = 'OPEN' even after PO approval.
Is this expected behavior? When Does CLOSED_CODE will get updated in archive table?
SELECT COUNT(*)
INTO x_lines_count
FROM po_lines_all
WHERE closed_code = 'OPEN'
AND po_header_id = x_po_header_id;
SELECT COUNT(*)
INTO x_ar_line_count
from po_lines_archive_all
where closed_code = 'OPEN'
and latest_external_flag = 'Y'
and po_header_id = x_po_header_id;
IF x_lines_count <> x_ar_line_count THEN
RESULT: "Change in PO Lines";
Regards,
RamSathyaseelan wrote:
Hi All,
After creating requisition from R12 iProcurement , the column document_type_code in the table PO_REQUISITION_LINES_ALL got updated as BLANKET or CONTRACT.
Need to know how these values was defaulting in the requisition.
I am able to see the values soon after added the item to shopping cart.
Regards,
SathyaI think whatever the item is in the requistion..It should be associated with the blanket or contract agreement..that the reason why you are seeing that document type code
HTH
Mahendra
Maybe you are looking for
-
I have been using PayPal with I tunes since 08 with no troubles now when I go to any app free or not it tells me that this device does not support PayPal so I have contacted PayPal and have everything taken care of there my account is verified and no
-
Hello, I've been trying to accomplish exercises in this http://developers.sun.com/identity/reference/techart/secure-ws2.html tutorial, but I'm stuck at exercise 3. No matter what I do, I get runtime error (see below). Also, my screens (regarding wscW
-
GUID of SC in the ascent of the PR
Hi, I am in the classic scenery with ascent of PR for SRM. When sending a PR for SRM, I am trying to do a logic with base in the responsibility in the table HRV5501OT and use of FM BBP_PDORG_DB_UPDATE for alteration of the table BBP_PDORG. To use t
-
Auto Submit a From (Im a newbie :-)
DO you know if it's possible to have a form auto-post when a certain number of characters has been entered into a form field? what I wan to do is have a single form-field of 4 characters (this should have the ability to change in size). I have a magn
-
?? Save Project ???
Not sure if this is possible, but if there is a way to collect all of your media used in an FCP project. I want to save my FCP project along with all of my raw footage, txt, snd fx (everything in the browser). Im working on a big project, drawing foo