Table update not happening
Dear All,
We have directly updated the table (J_2IACCBAL) value of RG23CBED, RG23CECS, RG23CAT1 in order to get those values in the corrosponding register after we extract(J2I5) and take print out(J2I6).
But when we extracting the register by using T,Code: J2I5 it is not updating the manual entry which we made directly in the table.
Kindly provide the solution how do we update the balance in the table to get as open balance for the corrosponding register.
Regards
Srini
Hi Srinivasan ,
Please write the following code and execute it and then check those transaction
J2I5 whether new entries are reflected or not and please let me know .
data : t_itab like table of J_2IACCBAL.
select * from J_2IACCBAL into table t_itab bypassing buffer.
or
Enter $TAB in the command field . " It may take long time
copy the above code and execute it once from a program or enter $TAB in the command
field and then check the transaction.
If this issue due to buffer then it will be solved.
Regards
Pinaki
Similar Messages
-
Pages & Keynote update is not happening ? Pls advise from 1 week message says
installingHi JohnD,
From your description, I suggest you could try those step:
1.Download you publishsetting file to get your website usename and password
2.Login on your website by FTP.
3.View the folder name 'wwwroot' and check your updated file.
If your file was uploaded, you could see and check the date time or file, the picture like this:
If the file was updated, I suggest you could clear your browser cache and try it.
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Macbook pro software update not happening
Im having a problem with my macbook pro updating software-starts to install, says it needs to restart, I hit restart to continue installation but after that it goes to the dfault screen saver and will never restart-tried small updates, one at a time, etc. so when I force quit after a couple of minutes or evna couple of hours or so and restart- no updates have happened- any suggestions- cant do anything that requires inserting a CD since the CD drive died about 4 months after i bought this-( which is less than 2 years old)
What updates are you trying to install? If your optical drive does not work you will need another way to repair your hard drive. Try booting into safe mode. Hold down the shift key until the MBP boots.
-
ADF Faces - Table update not completely rendered
Hi,
[ myfaces 1.1.3 + ADF version 10.1.3.0.4 ]
I have a problem with Table component, changing a value of the inputText components will not update the output component also inside the table. At least not rendered to HTML, the view-tree contains the updated values. Below I have added a part of the jsp-code + a part of the view-tree of the log.
Changing the value of the inputText with id="salesInput" should trigger an update to the otherSales value in the footer facet in the same column, but it isn't (in the browser).
So I added multiple outputText components on different places in the table to find out if they were updated. I have also added an inputText component with id="test" outside of the table component, this one is properly updating all the otherSales values.
If I change the values on the inputText component with id="salesInput" only the outputText with "salesOutput2" is updated in the browser, the one in the footer facet still contains the previous value. (only a browser refresh is fetching the correct values).
What's the problem why it's not rendered to HTML, tree-view contains right values. Can I force the rendering ?
Did I miss properties, attributes ?
Any ideas...
Your Help is really appreciated.
Thanks,
Bas van Oudenaarde
part of the jsp:
<af:table id="data" value="#{myManagedBean.allGeographicalData}"
var="row" partialTriggers="salesInput test" varStatus="myTable">
<af:column id="salesColumn" sortProperty="sales" sortable="true" width="30%">
<f:facet name="header">
<af:outputText value="#{msg._column_3_Header}"/>
</f:facet>
<af:inputText id="salesInput" immediate="true" value="#{row.sales}" columns="8" autoSubmit="true" valueChangeListener="#{myManagedBean.updateOtherSales}" />
<af:outputText id="salesOutput2" partialTriggers="salesInput" value="#{myManagedBean.otherSales}" />
<f:facet name="footer">
<af:outputText id="salesOutput" partialTriggers="salesInput" value="#{myManagedBean.otherSales}"/>
</f:facet>
</af:column>
<af:table>
<af:inputText id="test" value="#{myManagedBean.bla}" immediate="true" columns="8" autoSubmit="true" valueChangeListener="#{myManagedBean.updateOtherSales}" />
<af:outputText id="outsideTheTable" partialTriggers="salesInput" value="#{myManagedBean.otherSales}"/>
Log output, changing the value of inputText component within the table component. Here you can see that all values are updated to 92 in the view-tree!!! On the screen however it still shows the previous value in the outputText components expect for the outputText with id=salesOutput2 :
<UIViewRoot id="NULL" FORMER_CHILD_IDS="[_idJsp0]" family="javax.faces.ViewRoot" locale="en" renderKitId="oracle.adf.core" rendered="true" rendererType="NULL" rendersChildren="false" transient="false" viewId="/pages/panel.jsp">
<oracle.adf.view.faces.component.core.data.CoreColumn id="salesColumn" FORMER_CHILD_IDS="[salesInput, salesOutput2]" partialTriggers="[Ljava.lang.String;@67e9f0f6" width="30%" FORMER_FACET_NAMES="[footer, header]" sortProperty="sales" sortable="true" rendererType="oracle.adf.Column" attributeChangeListener="NULL" attributeChangeListeners="NULL" bandingShade="NULL" facesBean="NULL" facetCount="NULL" facetNames="NULL" family="NULL" footer="NULL" formatType="text" gridVisible="true" header="NULL" headerNoWrap="false" headerText="NULL" inlineStyle="NULL" noWrap="false" onclick="NULL" ondblclick="NULL" onkeydown="NULL" onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" partialTriggers="[Ljava.lang.String;@67e9f0f6" rendered="true" rendererType="oracle.adf.Column" rendersChildren="NULL" rowHeader="false" separateRows="false" shortDesc="NULL" sortProperty="sales" sortable="true" styleClass="NULL" transient="NULL" width="30%">
<oracle.adf.view.faces.component.core.output.CoreOutputText id="salesOutput2" value="92" partialTriggers="[Ljava.lang.String;@600d70f6" rendererType="oracle.adf.Text" attributeChangeListener="NULL" attributeChangeListeners="NULL" converter="NULL" description="NULL" escape="true" facesBean="NULL" facetCount="NULL" facetNames="NULL" family="NULL" inlineStyle="NULL" localValue="NULL" onclick="NULL" ondblclick="NULL" onkeydown="NULL" onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" partialTriggers="[Ljava.lang.String;@600d70f6" rendered="true" rendererType="oracle.adf.Text" rendersChildren="NULL" shortDesc="NULL" styleClass="NULL" transient="NULL" truncateAt="0" value="#{myManagedBean.otherSales}"/>
<oracle.adf.view.faces.component.core.output.CoreOutputText id="salesOutput" facetName="footer" value="92" partialTriggers="[Ljava.lang.String;@679eb0f6" rendererType="oracle.adf.Text" attributeChangeListener="NULL" attributeChangeListeners="NULL" converter="NULL" description="NULL" escape="true" facesBean="NULL" facetCount="NULL" facetNames="NULL" family="NULL" inlineStyle="NULL" localValue="NULL" onclick="NULL" ondblclick="NULL" onkeydown="NULL" onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" partialTriggers="[Ljava.lang.String;@679eb0f6" rendered="true" rendererType="oracle.adf.Text" rendersChildren="NULL" shortDesc="NULL" styleClass="NULL" transient="NULL" truncateAt="0" value="#{myManagedBean.otherSales}"/>
</oracle.adf.view.faces.component.core.data.CoreColumn>
<oracle.adf.view.faces.component.core.output.CoreOutputText id="outsideTheTable" value="92" partialTriggers="[Ljava.lang.String;@73e070f6" rendererType="oracle.adf.Text" attributeChangeListener="NULL" attributeChangeListeners="NULL" converter="NULL" description="NULL" escape="true" facesBean="NULL" facetCount="NULL" facetNames="NULL" family="NULL" inlineStyle="NULL" localValue="NULL" onclick="NULL" ondblclick="NULL" onkeydown="NULL" onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" partialTriggers="[Ljava.lang.String;@73e070f6" rendered="true" rendererType="oracle.adf.Text" rendersChildren="NULL" shortDesc="NULL" styleClass="NULL" transient="NULL" truncateAt="0" value="#{myManagedBean.otherSales}"/>
</oracle.adf.view.faces.component.html.HtmlCellFormat>
</oracle.adf.view.faces.component.html.HtmlRowLayout>
</oracle.adf.view.faces.component.html.HtmlTableLayout>
</oracle.adf.view.faces.component.core.CoreForm>
</oracle.adf.view.faces.component.core.CoreDocument>
</UIViewRoot>In EA14, the return from the dialog required a full-page refresh (whether the dialog was launched with PPR or not didn't matter). In EA15, it's done with PPR if possible. This avoids the flash (and re-scrolling, etc.), but means you do need to tell us what's going to get changed because of the return. You can use partialTriggers on the table with the "id" of the button to make this happen.
-
ADF Faces EA15: table update not working properly after dialog return event
Hi,
in my application I have a table with read-only records and an edit button for each row.
The button triggers a dialog where one field of of the record can be edited.
The record is a bean which is put into processScope.
After accepting the change in the dialog the bean makes an update in the database changing the order of the records in the table on the launching page.
The return event triggers a re-rendering of the launching page (which I can see from the output of a phase listener) and the table model gets updated but the table output is not updated visually.
However, if I call the dialog on another record I don't get the record I see in the table but instead I get the record which I'd expected if the table re-rendered properly.
Do I have to trigger any kind of event on the table now so that the framework knows that a change has taken place and that the table has to be re-rendered? There is no difference whether I use PPR or not. It used to work in EA14.
Thanks,
AchimIn EA14, the return from the dialog required a full-page refresh (whether the dialog was launched with PPR or not didn't matter). In EA15, it's done with PPR if possible. This avoids the flash (and re-scrolling, etc.), but means you do need to tell us what's going to get changed because of the return. You can use partialTriggers on the table with the "id" of the button to make this happen.
-
Updation not happening once after the material has been extened
Dear Guru's,
I want to extend materials from one plant to another plant. I am using BAPI_MATERIAL_SAVEDATA.
every thing is doing good but the material was updated in the destination plant. I have used BAPI_TRANSACTION_COMMIT' also. ans not all getting any any error message. In the return table i am getting success message. please help me. I am sending my code also. please gothrough and give suggestion . it very urgent.
points will be given for solving the problem.
Thanks in advance.
REPORT ZMMR_MATERIAL_EXTENSION.
TABLES: T001L, "Storage Locations
MARA, "General Material Data
MAKT, "Material Descriptions
MBEW, "Material Valuation
MARC, "Plant Data for Material
MARD. " Storage location
DATA : INDEX LIKE SY-TABIX.
DATA: BAPI_HEAD LIKE BAPIMATHEAD,
BAPI_MAKT LIKE BAPI_MAKT, "Material Description
BAPI_MARA1 LIKE BAPI_MARA, "Client Data
BAPI_MARAX LIKE BAPI_MARAX,
BAPI_MARC1 LIKE BAPI_MARC, "Plant View
BAPI_MARCX LIKE BAPI_MARCX,
BAPI_MBEW1 LIKE BAPI_MBEW, "Accounting View
BAPI_MBEWX LIKE BAPI_MBEWX,
BAPI_MARD1 LIKE BAPI_MARD, " STORAGE LOCATION
BAPI_MARDX LIKE BAPI_MARDX,
BAPI_RETURN LIKE BAPIRET2.
DATA: BEGIN OF INT_MAKT OCCURS 100.
INCLUDE STRUCTURE BAPI_MAKT.
DATA: END OF INT_MAKT.
for material updation*******
*data:mara_data type bapi_mara,
*mara_datax type bapi_marax,
*wa_bapi_te_mara type bapi_te_mara,
*wa_bapi_te_marax type bapi_te_marax,
*wa_valuepart(960),
*wa_valuepartx(960),
*t_extin type table of bapiparex,
*t_extinx type table of bapiparexx,
*d_extin type bapiparex,
*d_extinx type bapiparexx,
*ret type bapiret2.
DATA: BEGIN OF INT_MAT OCCURS 100,
WERKS(4), "Plant
MTART(4), "Material type
MATNR(18), "Material number
MATKL(9) , "Material group
MBRSH(1), "Industry sector
MEINS(3), "Base unit of measure
GEWEI(3), "Weight Unit
SPART(2), "Division
TRAGR(4), "Transportation group
EKWSL(4), "Purchasing Value Key
marc
EKGRP(3), "Purchasing group
MTVFP(2), "Checking Group for Availability Check
LADGR(4), "Loading group
PRCTR(10), "Profit Center
WEBAZ like BAPI_MARC-GR_PR_TIME, "Goods receipt processing time in days.
PERKZ(1), "Period indicator
AWSLS(6), "Variance Key
DISGR(4), "MRP Group
DISMM(2), "MRP Type
DISPO(3), "MRP controller
DISLS(2), "Lot size (materials planning)
BESKZ(1), "Procurement Type
DZEIT like BAPI_MARC-INHSEPRODT, "In-house production time.
PLIFZ like BAPI_MARC-PLND_DELRY, "Planned delivery time in days.
makt
SPRAS(2), "Language key
MAKTX(40), "Material description
***mbew
BKLAS(4), "Valuation Class.
VPRSV(1), "Price control indicator
VERPR like BAPI_MBEW-MOVING_PR, "Moving Average Price
STPRS like BAPI_MBEW-STD_PRICE, "Standard price
PEINH like BAPI_MBEW-PRICE_UNIT, "Price unit
****mard
LGORT(4), "Storage location
END OF INT_MAT.
SELECT-OPTIONS:
PLANT FOR MARC-WERKS OBLIGATORY MEMORY ID PLT,
MATERIAL FOR MARA-MATNR MEMORY ID MAT,
MATLTYPE FOR MARA-MTART MEMORY ID MTY,
DIVISION FOR MARA-SPART MEMORY ID DIV.
PARAMETERS: F_FILE LIKE RLGRAP-FILENAME
DEFAULT 'C:\DATA\ZMATERIAL.XLS' MEMORY ID F_FILE,
GETDATA AS CHECKBOX, "Tick to download materials data to local harddisk
UPDDATA AS CHECKBOX. "Tick to update date to Materials Master
IF GETDATA = 'X'.
PERFORM DOWNLOAD_DATA.
PERFORM DOWNLOAD_FILE.
ENDIF.
IF UPDDATA = 'X'.
PERFORM UPLOAD_FILE.
PERFORM UPDATE_MM.
ENDIF.
*& Form DOWNLOAD_DATA
text
FORM DOWNLOAD_DATA.
*IF MATLTYPE-LOW NE 'SFGD' OR MATLTYPE-LOW NE 'SPRS'.
SELECT * FROM MARC WHERE LVORM EQ ' '
AND WERKS IN PLANT
AND MATNR IN MATERIAL.
CLEAR MARA.
SELECT SINGLE * FROM MARA WHERE MATNR = MARC-MATNR .
CHECK MATLTYPE.
IF MARA-MTART = 'SFGD' or MARA-MTART = '' or MARA-MTART = 'SPRS'.
clear : MARA,INT_MAT.
continue.
ENDIF.
CHECK DIVISION.
CLEAR MBEW.
SELECT SINGLE * FROM MBEW WHERE MATNR = MARC-MATNR
AND BWKEY = MARC-WERKS.
CLEAR MAKT.
SELECT SINGLE * FROM MAKT WHERE SPRAS = 'EN'
AND MATNR = MARC-MATNR.
CLEAR MARD.
SELECT SINGLE * FROM MARD WHERE MATNR = MARC-MATNR
AND WERKS = MARC-WERKS.
WRITE:/ MARC-WERKS, "Plant
MARA-MTART, "Material type
MARA-MATNR, "Material number
MARA-MATKL, "Material group
MARA-MBRSH, "Industry sector
MARA-MEINS, "Base unit of measure
MARA-GEWEI, "Weight Unit
MARA-SPART, "Division
MARA-TRAGR, "Trasaction Group
MARA-EKWSL, "Purchase Value key
MARA-IPRKZ, "Period indi.for. SLED.
MARC-EKGRP, "Purchasing group
MARC-MTVFP, "Availability check
MARC-LADGR, "Loading grp.
MARC-PRCTR, "Profit Center
MARC-WEBAZ, "GR processing time
MARC-PERKZ, "Period Indicator
MARC-AWSLS, "Variance key
MARC-DISGR, "MRP GROUP
MARC-DISMM, "MRP TYPE
MARC-DISPO, "MRP CONTOLLER
MARC-DISLS, "LOT SIZE
MARC-BESKZ, "PROCUREMENT TYPE
MARC-DZEIT, "IN-HOUSE PRD TIME
MARC-PLIFZ, "PLANT DELIVERY TIME
MBEW-BKLAS, "VALUATION CLASS
MBEW-VPRSV, "Price control indicator
MBEW-VERPR, "MOVING PRICE
MBEW-STPRS, "Standard price
MBEW-PEINH, "Price unit
MAKT-SPRAS, "Language key
MAKT-MAKTX, "Material description
MARD-LGORT. "Storage location.
INT_MAT-WERKS = MARC-WERKS. "Plant
INT_MAT-MTART = MARA-MTART. "Material type
INT_MAT-MATNR = MARA-MATNR. "Material number
INT_MAT-MATKL = MARA-MATKL. "Material group
INT_MAT-MBRSH = MARA-MBRSH. "Industry sector
INT_MAT-MEINS = MARA-MEINS. "Base unit of measure
INT_MAT-GEWEI = MARA-GEWEI. "Weight Unit
INT_MAT-SPART = MARA-SPART. "Division
INT_MAT-TRAGR = MARA-TRAGR. "Trasaction Group
INT_MAT-EKWSL = MARA-EKWSL. "Purchase Value key
INT_MAT-IPRKZ = MARA-IPRKZ. "Period indi.for. SLED.
INT_MAT-EKGRP = MARC-EKGRP. "Purchasing group
INT_MAT-MTVFP = MARC-MTVFP. "Availability check
INT_MAT-LADGR = MARC-LADGR. "Loading grp.
INT_MAT-PRCTR = MARC-PRCTR. "Profit Center
INT_MAT-WEBAZ = MARC-WEBAZ. "GR processing time
INT_MAT-PERKZ = MARC-PERKZ. "Period Indicator
INT_MAT-AWSLS = MARC-AWSLS. "Variance key
INT_MAT-DISGR = MARC-DISGR. "MRP GROUP
INT_MAT-DISMM = MARC-DISMM. "MRP TYPE
INT_MAT-DISPO = MARC-DISPO. "MRP CONTOLLER
INT_MAT-DISLS = MARC-DISLS. "LOT SIZE
INT_MAT-BESKZ = MARC-BESKZ. "PROCUREMENT TYPE
INT_MAT-DZEIT = MARC-DZEIT. "IN-HOUSE PRD TIME
INT_MAT-PLIFZ = MARC-PLIFZ. "PLANT DELIVERY TIME
INT_MAT-BKLAS = MBEW-BKLAS. "Valution class
INT_MAT-VPRSV = MBEW-VPRSV. "Price control indicator
INT_MAT-VERPR = MBEW-VERPR. "Moving price
INT_MAT-STPRS = MBEW-STPRS. "Standard price
INT_MAT-PEINH = MBEW-PEINH. "Price unit
INT_MAT-SPRAS = MAKT-SPRAS. "Language key
INT_MAT-MAKTX = MAKT-MAKTX. "Material description
INT_MAT-LGORT = MARD-LGORT. " Storage location
APPEND INT_MAT.
CLEAR INT_MAT.
ENDSELECT.
*ENDIF.
ENDFORM. "DOWNLOAD_DATA
*& Form DOWNLOAD_FILE
text
FORM DOWNLOAD_FILE.
call function 'WS_DOWNLOAD'
EXPORTING
FILENAME = F_FILE
FILETYPE = 'DAT'
FILETYPE = 'WK1'
tables
data_tab = INT_MAT
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_WRITE_ERROR = 2
INVALID_FILESIZE = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
OTHERS = 10.
IF SY-SUBRC = 0.
FORMAT COLOR COL_GROUP.
WRITE:/ 'Data Download Successfully to your local harddisk'.
SKIP.
ENDIF.
ENDFORM. "DOWNLOAD_FILE
*& Form UPLOAD_FILE
text
FORM UPLOAD_FILE.
call function 'WS_UPLOAD'
EXPORTING
FILENAME = F_FILE
FILETYPE = 'DAT'
FILETYPE = 'WK1'
tables
data_tab = INT_MAT
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_WRITE_ERROR = 2
INVALID_FILESIZE = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
OTHERS = 10.
IF SY-SUBRC = 0.
FORMAT COLOR COL_GROUP.
WRITE:/ 'Data Upload Successfully from your local harddisk'.
SKIP.
ENDIF.
ENDFORM. "UPLOAD_FILE
*& Form UPDATE_MM
text
FORM UPDATE_MM.
LOOP AT INT_MAT.
Header
BAPI_HEAD-MATERIAL = INT_MAT-MATNR.
BAPI_HEAD-IND_SECTOR = INT_MAT-MBRSH.
BAPI_HEAD-MATL_TYPE = INT_MAT-MTART.
BAPI_HEAD-BASIC_VIEW = 'X'.
BAPI_HEAD-PURCHASE_VIEW = 'X'.
BAPI_HEAD-ACCOUNT_VIEW = 'X'.
BAPI_HEAD-MRP_VIEW = 'X'.
BAPI_HEAD-STORAGE_VIEW = 'X'.
BAPI_HEAD-QUALITY_VIEW = 'X'.
BAPI_HEAD-COST_VIEW = 'X'.
wa_bapi_te_mara-material = INT_MAT-MATNR.
wa_bapi_te_marax-material = INT_MAT-MATNR.
Material Description
REFRESH INT_MAKT.
INT_MAKT-LANGU = INT_MAT-SPRAS.
INT_MAKT-MATL_DESC = INT_MAT-MAKTX.
APPEND INT_MAKT.
sorage location.
BAPI_MARD1-PLANT = INT_MAT-WERKS.
BAPI_MARD1-STGE_LOC = INT_MAT-LGORT.
BAPI_MARDX-PLANT = INT_MAT-WERKS.
BAPI_MARDX-STGE_LOC = INT_MAT-LGORT.
Client Data - Basic
BAPI_MARA1-MATL_GROUP = INT_MAT-MATKL.
BAPI_MARA1-BASE_UOM = INT_MAT-MEINS.
BAPI_MARA1-UNIT_OF_WT = INT_MAT-GEWEI.
BAPI_MARA1-DIVISION = INT_MAT-SPART.
BAPI_MARA1-TRANS_GRP = INT_MAT-TRAGR.
BAPI_MARA1-PUR_VALKEY = INT_MAT-EKWSL.
BAPI_MARAX-MATL_GROUP = 'X'.
BAPI_MARAX-BASE_UOM = 'X'.
BAPI_MARAX-UNIT_OF_WT = 'X'.
BAPI_MARAX-DIVISION = 'X'.
BAPI_MARAX-TRANS_GRP = 'X'.
BAPI_MARAX-PUR_VALKEY = 'X'.
Plant - Purchasing
BAPI_MARC1-PLANT = INT_MAT-WERKS . "PLANT-LOW.
BAPI_MARC1-PUR_GROUP = INT_MAT-EKGRP.
BAPI_MARC1-AVAILCHECK = INT_MAT-MTVFP.
BAPI_MARC1-LOADINGGRP = INT_MAT-LADGR.
BAPI_MARC1-PROFIT_CTR = INT_MAT-PRCTR. " profit center and plant are same
BAPI_MARC1-GR_PR_TIME = INT_MAT-WEBAZ.
BAPI_MARC1-PERIOD_IND = INT_MAT-PERKZ.
BAPI_MARC1-VARIANCE_KEY = INT_MAT-AWSLS.
BAPI_MARC1-MRP_GROUP = INT_MAT-DISGR.
BAPI_MARC1-MRP_TYPE = INT_MAT-DISMM.
BAPI_MARC1-MRP_CTRLER = INT_MAT-DISPO.
BAPI_MARC1-LOTSIZEKEY = INT_MAT-DISLS.
BAPI_MARC1-PROC_TYPE = INT_MAT-BESKZ.
BAPI_MARC1-INHSEPRODT = INT_MAT-DZEIT.
BAPI_MARC1-PLND_DELRY = INT_MAT-PLIFZ.
BAPI_MARCX-PLANT = INT_MAT-WERKS . " PLANT-LOW.
BAPI_MARCX-PUR_GROUP = 'X'.
BAPI_MARCX-AVAILCHECK = 'X'.
BAPI_MARCX-LOADINGGRP = 'X'.
BAPI_MARCX-PROFIT_CTR = 'X'.
BAPI_MARCX-GR_PR_TIME = 'X'.
BAPI_MARCX-PERIOD_IND = 'X'.
BAPI_MARCX-VARIANCE_KEY = 'X'.
BAPI_MARCX-MRP_GROUP = 'X'.
BAPI_MARCX-MRP_TYPE = 'X'.
BAPI_MARCX-MRP_CTRLER = 'X'.
BAPI_MARCX-LOTSIZEKEY = 'X'.
BAPI_MARCX-PROC_TYPE = 'X'.
BAPI_MARCX-INHSEPRODT = 'X'.
BAPI_MARCX-PLND_DELRY = 'X'.
Accounting
BAPI_MBEW1-VAL_AREA = INT_MAT-WERKS.
BAPI_MBEW1-VAL_CLASS = INT_MAT-BKLAS.
BAPI_MBEW1-PRICE_CTRL = INT_MAT-VPRSV.
BAPI_MBEW1-MOVING_PR = INT_MAT-VERPR.
BAPI_MBEW1-STD_PRICE = INT_MAT-STPRS.
BAPI_MBEW1-PRICE_UNIT = INT_MAT-PEINH.
BAPI_MBEWX-VAL_AREA = INT_MAT-WERKS.
BAPI_MBEWX-VAL_CLASS = 'X'.
BAPI_MBEWX-PRICE_CTRL = 'X'.
BAPI_MBEWX-MOVING_PR = 'X'.
BAPI_MBEWX-STD_PRICE = 'X'.
BAPI_MBEWX-PRICE_UNIT = 'X'.
************for testing purpose
*wa_valuepart = wa_bapi_te_mara.
*d_extin-structure = 'BAPI_TE_MARA'.
*d_extin-valuepart1 = wa_valuepart(240).
*d_extin-valuepart2 = wa_valuepart+240(240).
*d_extin-valuepart3 = wa_valuepart+480(240).
*d_extin-valuepart4 = wa_valuepart+720(240).
*wa_valuepartx = wa_bapi_te_marax.
*d_extinx-structure = 'BAPI_TE_MARAX'.
*d_extinx-valuepart1 = wa_valuepartx(240).
*d_extinx-valuepart2 = wa_valuepartx+240(240).
*d_extinx-valuepart3 = wa_valuepartx+480(240).
*d_extinx-valuepart4 = wa_valuepartx+720(240).
*append d_extin to t_extin.
*append d_extinx to t_extinx.
remove up to here only.
*WRITE:/ BAPI_HEAD, BAPI_MARC1.
call function 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
HEADDATA = BAPI_HEAD
CLIENTDATA = BAPI_MARA1
CLIENTDATAX = BAPI_MARAX
PLANTDATA = BAPI_MARC1
PLANTDATAX = BAPI_MARCX
STORAGELOCATIONDATA = BAPI_MARD1
STORAGELOCATIONDATAX = BAPI_MARDX
VALUATIONDATA = BAPI_MBEW1
VALUATIONDATAX = BAPI_MBEWX
IMPORTING
RETURN = BAPI_RETURN
TABLES
MATERIALDESCRIPTION = INT_MAKT.
extensionin = t_extin
extensioninx = t_extinx.
IF BAPI_RETURN-TYPE = 'S' .
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = ''.
ENDIF.
IF BAPI_RETURN-TYPE = 'E'.
WRITE:/ 'Error Message ', BAPI_RETURN-NUMBER,
BAPI_RETURN-MESSAGE.
ENDIF.
ENDLOOP.
ENDFORM. "UPDATE_MM
please give me reply
PrashanthWe have encountered the same problem at our company, and the following thread help us to resolve our problem:
Thanks to KevinCur.
Error while saving a .PDF File to a mapped drive
"It has to do with Protected Mode being turned on. I don't know if it was off by default & now it is on with the update but turning it off changes Adobe Reader's behavior back to what the users expect - a prompt warning you if you want to overwrite the existing file & then selecting Yes to overwrite.
To disable Protected Mode:
Start Adobe Reader
Edit - Preferences - Security (Enhanced)
Uncheck Enable Protected Mode at Startup
Close Preferences & Close Reader"
We unchecked the "Enable Protected Mode at startup" box --> Yes --> OK. Our users are happy now. ^_^ -
hi,
i am trying ot insert records and then update them ,in message monitoring and channel i see it as success in DLVD stage but in actual database i do not see updates ,just the inserts happening.
has anyone face such a situation ?
Thanks.Hi ,
I did not understand what do you want me to check ?
i checked in message monitoring in the query , it forms the update query. even if it is not able to update or there is anything wrong ,it should catch the error somewhere in the channel or message monitoring, but in message monitoring i see a success flag although i do not see any update in real database.
Please suggest
Thanks -
Hi again
Since my last problem my wireless HP Photosmart printer scanner copier has worked ok...mind you I still have to occassionally unplug and reconnect to scan! Very annoying.
At least once a week I get HP Support Assistant doing its health check and update. However, I can leave the laptop on all day and it never gets past 'downloading updates'. Its like it's working at it but nothing ever happens and I end up cancelling the action.
Any ideas what is wrong please?
Thanks
Lynsee help 1...
I am a Volunteer to help others on here-not a HP employee.
Replies aren't online 24/7 because of Time Zone differences.
Remember in this Day and Age of Computing the Internet is Knowledge at your fingertips if you choose understand it. -2015- -
sire,
i would be very grateful if anyone could shine on this problem.
last time i bought one iphone 4s from another country when i was on vacation ,
it was alright at the time but now it says to update,there are 44 updateable apps,
i tried to update one of that apps and as soon as i click on the update it shows the
id of that shop where i bought the phone,the problem is,i do not know the password,
and i cannot update with my apple account.Do i need to delete all the apps that have
been installed by the shop?or is there any alternative to know more.Thanks in advance.where
@StartDate <= src.SubmissionTime
and
@EndDate >= src.CompletionTime -
User update not happening?
Hello,
We have an adapter which is updating a boolean attribute in users profile. In Adapter we have used "updateUser" API of userOperationsInterface. Both the parameters which we are passing to update users are correct but dont know why this line is getting executed but users attribute is not and the Adapter is getting Stopped suddenly and setting the task status as Rejected (R).
DEBUG,21 Sep 2010 11:43:11,378,[XELLERATE.ADAPTERS],Class/Method: tcAdpEvent/updateSchItem entered.
DEBUG,21 Sep 2010 11:43:11,378,[XELLERATE.ADAPTERS],Class/Method: tcAdpEvent/updateSchItem - Data: event - Value: adpPORTALUPDATEUSERPROFILE
DEBUG,21 Sep 2010 11:43:11,378,[XELLERATE.ADAPTERS],Class/Method: tcAdpEvent/updateSchItem - Data: New Status - Value: R
DEBUG,21 Sep 2010 11:43:11,378,[XELLERATE.ADAPTERS],Class/Method: tcAdpEvent/updateSchItem - Data: SchData - Value: {2}
DEBUG,21 Sep 2010 11:43:11,378,[XELLERATE.ADAPTERS],Class/Method: tcAdpEvent/updateSchItem - Data: Reason - Value:
DEBUG,21 Sep 2010 11:43:11,456,[XELLERATE.ADAPTERS],Class/Method: tcAdpEvent/updateSchItem left.
Can anybody have ever faced this type of problem? or anybody can say what may be the problem?I got it..the problem is updateUser(UserResultSet, UserMap) API throwing Null Pointer Exception...
I have checked both the param resultset and hashmap we are passing are not null...So is there any problem with the API? I mean why it is throwing NullPointer??
Any Idea??????? -
Table update not executing...
Hello,
I'm trying to let my Java code update some data (in a microsoft database). Here is the structure of the table:
series
serie_id (int) | name (String) | .........
1 | name_1 | .....
2 | name_2 | ...
3 | name_3 | .....
Next i write a query, which should be very obvious:
String sql = "UPDATE series SET name='new_name' WHERE serie_id = 3"Afterwards I pass this query to the executeUpdate method. It returns the value 1 (because 1 row was updated), but when I examin the database through Access, the data doesn't seem to have changed.
I also tried a wrong query, such as
String sql = "UPDATE series SET name='new_name' WHERE serie_id = 4".
Of course nothing is updated, and the executeUpdate method returns 0, which might imply the query and JVM work perfectly, but the problem is in my database.
Has anyone experienced this problem?
Thanks for those who can help!!
Tombecause you aren't closing your statement and connection properly. it's a well-known problem with Access.
you'd be well advised to learn to use PreparedStatement instead of Statement. let it escape strings and dates for you, and eliminate the possibility of SQL injection attacks on your code.
% -
Hi Experts ,
We have a master data InfoObject for which daily delta load is being done. But i have noticed that if there are any changes in the attributes,in R/3 ,then its not getting updated into the infoobject.If i am doing a full update then its getting updated. but when i am running a delta update its not. Can u please suggest what may be the possible reason??
SamirHi........
1) First check the datasource whether it is delta enable or not...
2) If the load is through PSA.......then check the PSA...whether data is there or not......is data is updated in PSA then check the Infopackage scheduler........whether the update mode is only till PSA.........if so then go to IP monitor........then in the Status tab clck on Process Manually to push data to the target...
3) If everything is fine.........then check whether you hav done intialization befor delta load.........if that is also done ...then check the delta queue(RSA7).......total field.......is the datasource suppose to pick any records or not......if it is 0....it means there is no new records........if the datasource suppose to pick records.......then may be ur delta mechanism is corrupted.........then do re-init.......
3) Then after loading the data..........run attribute change run to activate the master data........to do this use the program : RSDDS_AGGREGATES_MAINTAIN...........give the infoobject name and execute in background........
Every time after loading master data u hav to activate the data using attribute change run..........since upon activation os master data SID will generate.....otherwise transaction data load will fail due to SID issue.......
Hope this helps......
Regards,
Debjani......
Edited by: Debjani Mukherjee on Nov 8, 2008 9:39 AM -
Table schema not being updated after a SQL 'alter'
Hi all,
I have a problem to do with altering table columns and queries relating to that table thereafter.
I have a table which has been queried using an OracleDataAdapter.Fill(DataSet), if I add a column using say using an OracleCommand.ExecuteNonQuery() or sqlplus session (and doing a 'commit' after) the column does not show up on subsequant 'Fill' queries unless I reopen the DB connection.
Just as an example, here is my test table which is defined as:
create table steveTest
id numeric,
name varchar(15),
address varchar(25)
with a few rows of data in...
If I query the table using ODP.NET (10 & 11)
OracleDataAdapter oraDap = new OracleDataAdapter("select * from steveTest",oraCon);
oraDap.Fill(ds);
Everything is fine until I add/remove a column with say sqlplus or via an OracleCommand.ExecuteNonQuery()
e.g "alter table steveTest add address2 varchar2(30)"
Subsequent Fill or data reader queries only show the unchanged table schema, without the newly added column. If I remove a column the symptoms are worse and I receive a "ORA-01007: variable not in select list"
I can only think that ODP.NET is caching the schema for that table on that particular connection. Is there anyway to forcefully clear this out?
I have tried OracleConnection.PurgeStatementCache(); but this doesn't seem to help me.
My connection string is defined as:
Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.0.0.27)(PORT=1521)))
(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=xe)));
User Id=system;
Password=mypass;
HA Events=true;
Validate Connection=true;
Pooling=false;
Enlist=false;
Statement Cache Purge=true;
Statement Cache Size=0;
The application I am writing is a middle tier application which handles various DB drivers and maintains several 'connection queues' which multiple lightweight client applications can use concurrently. As you can imagine, a possible scenario may arise where a table is queried, altered and then queried again which causes the above issue. The only way I can stop this from happening is if I close/open the DB connection but I don't want to do this after every alter statement.
I have tried this on Oracle Express 10g and Oracle 10g servers with ODP.NET clients (10.2.0.100/2.111.6.0). Just a point I thought worth mentioning, this does not happen in sqlplus.
Any help would be much appreciated.
Regards,
Stevemaybe u can check by debuggin the incoming idoc in we19.
1. check the data u are sending from the source system
2. check for the field before and ater change in the target system.
maybe the field is update with the same content. also check the status record of the idoc
Message was edited by:
Prabhu S -
CDHDR table is not updated after execution of transaction CK 24
Hi Experts ,
I am Triggering my workflow from for CK 24 transaction based on the change document entry from CDHDR table , once the CK24 transaction executes .
Now the problem is after execution of the CK24 transaction now its not updating the table CDHDR, which was happening before .
Note: No customization has been made which can affect this updation .
Can any body please guide me on this , why the standard table is not being updated now with the change document entries .
Regards
SarmisthaYou can use following FMs
CHANGEDOCUMENT_READ_HEADERS Change document: Read change document header
CHANGEDOCUMENT_READ_POSITIONS Change document: Read change document items
IN CDPOS you have to give the same thing as CDHDR. You have to search with the respective Object class and provide the Object Id(Key fields like Document number). Another thing you will also get the change document number from the transaction itself from which you are change the Document.
Thanks
Arghadip -
Base table is not getting updated
Hi friends,
am trying to update the attribute18 from the per_vacancies table by adding 1 to it
when am running the concurrent program it is not updating the table
what might be the reason
this is my code
CREATE OR REPLACE PACKAGE BODY apps.update_vacancy_pkg
IS
PROCEDURE update_vacancy_prc (p_err_buf OUT VARCHAR2, p_ret_code OUT NUMBER)
IS
l_object_version_number per_vacancies.object_version_number%TYPE;
l_vacancy_id per_vacancies.vacancy_id%TYPE;
l_inv_pos_grade_warning BOOLEAN;
l_inv_job_grade_warning BOOLEAN;
l_validate NUMBER := 0;
l_assignment_changed NUMBER;
l_return_status VARCHAR2 (240);
l_openings VARCHAR2 (240);
l_err_msg VARCHAR2 (200);
l_vac_id per_vacancies.vacancy_id%TYPE;
l_attr VARCHAR2 (100);
l_attr1 VARCHAR2 (100);
l_attr2 VARCHAR2 (100);
l_attr3 VARCHAR2 (100);
l_attr4 VARCHAR2 (100);
BEGIN
BEGIN
SELECT object_version_number, attribute7, vacancy_id
INTO l_object_version_number, l_openings, l_vac_id
FROM per_vacancies
WHERE vacancy_id IN (SELECT MAX (vacancy_id)
FROM per_vacancies);
EXCEPTION
WHEN OTHERS
THEN
l_vac_id := 0;
l_openings := 0;
END;
BEGIN
SELECT MAX (attribute18)
INTO l_attr
FROM per_vacancies;
SELECT (REGEXP_SUBSTR (l_attr, '.*C'))
INTO l_attr1
FROM DUAL;
SELECT REGEXP_REPLACE (l_attr, '^.*C(.+)$', '\1')
INTO l_attr2
FROM DUAL;
SELECT TO_NUMBER (l_attr2) + 1
INTO l_attr3
FROM DUAL;
SELECT l_attr1 || l_attr3
INTO l_attr4
FROM DUAL;
EXCEPTION
WHEN OTHERS
THEN
l_attr4 := 0;
END;
l_object_version_number := 0;
l_assignment_changed := 0;
l_return_status := 0;
per_vacancy_swi.update_vacancy
(p_validate => l_validate,
p_effective_date => SYSDATE,
p_vacancy_id => l_vac_id,
p_object_version_number => l_object_version_number,
p_number_of_openings => l_openings,
p_budget_measurement_value => l_openings,
p_attribute18 => l_attr4,
p_assignment_changed => l_assignment_changed,
p_return_status => l_return_status
COMMIT;
fnd_file.put_line (fnd_file.LOG, 'Executed Vacancy' || l_vac_id);
fnd_file.put_line (fnd_file.LOG,
'Assignment chaged = ' || l_assignment_changed
fnd_file.put_line (fnd_file.LOG, 'Return Status = ' || l_return_status);
fnd_file.put_line (fnd_file.LOG, 'l_attr4= ' || l_attr4);
END;
END;
it is hsowing in the log file with 1 added to the attribute18
but the table is not getting updated
can some one of you suggest a solution pls
thanks
Edited by: 776317 on Apr 27, 2011 9:15 PM
Edited by: 776317 on Apr 27, 2011 10:01 PMbut how come the seeded api has this
PROCEDURE update_vacancy
(p_validate in number default hr_api.g_false_num
,p_effective_date in date
,p_vacancy_id in number
,p_attribute17 in varchar2 default hr_api.g_varchar2
,p_attribute18 in varchar2 default hr_api.g_varchar2
.);Enable trace/debug, this may give you an idea about the data which is not saved.
Thanks,
Hussein
Maybe you are looking for
-
PMS RGB Values Different in Illustrator & PhotoShop
Hello, Forum; I'm stumped here. I'm working on a project that has me going back & forth between PhotoShop & Illustrator, working in PMS color. I've noticed that the RGB values for a given PMS are significantly different between the two environments.
-
Iphone pretty hot in normal usage & drain untill 14%
just bought my iphone 4s from DIGI 2 weeks ago, sometimes i cant answer incoming call while the screen jus hanging on "unlock phone" screen & only on vibration "while i not on silent mode".Then, going back DIGI for advice, but any ask me to update to
-
Account assignment search help in SC.
We currently implement stand-alone scenario and looking for solution how to maintain account assignment data in EBP. As far as I know account assignment data managed in back-end system and not replicated into EBP. We would like to manage account assi
-
I am not able to create a new conection with a file saved in excel 2007 (*.xlsx) does anyone know why??
-
For a few months now I have noticed that the audio player for WAV attachments in mail doesn't display the entire audio bar. Instead, it appears to be cut off in the middle, only showing the play button, and the first part of the audio progress bar. A