Problems with logistic cockpit: URGENT!!
Hi,
I have a few verifications with LO cockpit.
I have dobne the following steps.
1. Activated the datasource.
2. The update group shows active.
3. In maintenance I have selected the fields.
4. Deleted the setup tables.
Now my question is when I run the intial set up do I need to bring the system down so that no updates are taking place.The second question is when I do I set the update to be queued update . When does it get set for the delta loads.
We are writing a function module to put extra fields on the delivery table and would need to pull these fields in the standard extractor. Can I be guided as to how to accomplish this.
Please help me out as it is very urgent.
Thanks
Amit
Hi Siggi,
Here is the function module:
name: Z_PALLET_SPOT_CALC_DELIVERY
FUNCTION z_pallet_spot_calc_delivery.
""Local interface:
*" IMPORTING
*" VALUE(I_VBELN) LIKE LIKP-VBELN DEFAULT '86000801'
*" VALUE(I_POSNR) LIKE LIPS-POSNR OPTIONAL
*" VALUE(I_VKORG) LIKE LIKP-VKORG DEFAULT 'US01'
*" VALUE(I_VTWEG) LIKE LIPS-VTWEG DEFAULT '00'
*" EXPORTING
*" VALUE(E_PALLET_SPOT) LIKE ZZVS001-SPOT
*" VALUE(E_REAL_PALLETS) LIKE ZZVS001-SPOT
*" VALUE(E_TOTAL_WEIGHT) LIKE ZZVS001-BRGEW
*" VALUE(E_TOTAL_VOLUME) LIKE ZZVS001-VOLUM
*" VALUE(E_TOTAL_PALLETS_3) LIKE ZZVS001-ZSPOT_3
*" TABLES
*" T_LIPS STRUCTURE LIPS OPTIONAL
*" T_ZZVS001 STRUCTURE ZZVS001 OPTIONAL
*" T_ZZVS0012 STRUCTURE ZZVS0012 OPTIONAL
*" EXCEPTIONS
*" NO_DATA_FOUND
DATA: l_lfimg LIKE lips-lfimg, " Delivery Quantity
l_matnr LIKE lips-matnr, " Material Number
l_meins LIKE lips-meins, " Base Unit of Measure
l_vrkme LIKE lips-vrkme, " Sales Unit
ls_zzvs001 LIKE zzvs001,
ls_zzvs0012 LIKE zzvs0012.
CLEAR: e_pallet_spot, e_real_pallets, e_total_weight, e_total_volume,
e_total_pallets_3, z_spots_3, z_spots_1, z_tot_wgt, z_tot_vol.
FREE: t_zzvs001, "Clear header line and contents
t_zzvs0012.
IF NOT i_vbeln IS INITIAL.
IF NOT i_posnr IS INITIAL.
SELECT *
INTO TABLE t_lips
FROM lips
WHERE vbeln EQ i_vbeln
AND posnr EQ i_posnr.
ELSE.
SELECT *
INTO TABLE t_lips
FROM lips
WHERE vbeln EQ i_vbeln.
ENDIF.
IF sy-subrc NE 0.
RAISE no_data_found.
ENDIF.
ENDIF.
LOOP AT t_lips.
CHECK t_lips-nopck IS INITIAL " Indicator not relevant for pici
AND NOT t_lips-komkz IS INITIAL. " Indicator for picking control
l_matnr = t_lips-matnr.
l_lfimg = t_lips-lfimg.
l_meins = t_lips-meins.
l_vrkme = t_lips-vrkme.
CLEAR: ls_zzvs001, " Clear header line
ls_zzvs0012.
ls_zzvs001-mandt = sy-mandt.
Convert sales unit of measure to base unit of measure
IF l_meins NE l_vrkme.
PERFORM mat_unit_conv
USING l_lfimg " Delivery Quantity
l_matnr " Material Number
l_vrkme " Sales Unit
l_meins " Base Unit of Measure
CHANGING dummy_f
zz_umren
zz_umrez
rc.
CHECK rc = 0.
l_lfimg = dummy_f.
ENDIF.
Convert a base unit of measure to 1 pallet
MENG is the quantity to be converted in base unit of meas ie 'CA '
cases. Returned ZZ_UMREZ contains the number of cases per 1 pallet
SELECT SINGLE *
FROM marm
WHERE matnr = l_matnr
AND meinh = 'PAL'.
CHECK sy-subrc = 0.
PERFORM mat_unit_conv
USING zz_lfimg " Constant 1000
l_matnr " Material Number
'PAL' " Pallet
l_meins " Base Unit of Measure
CHANGING dummy_f
zz_umren
zz_umrez
rc.
CHECK rc = 0.
Get weight and volume and product attributes for material
PERFORM mat_maapv
USING l_matnr
i_vkorg
i_vtweg
CHANGING maapv
rc.
CHECK rc = 0.
For PALLET SPOTS:
If there is any value in the hundredths decimal position, it will
round the tenths decimal position up by 1 tenth. Because of float-
ing point calculations this is accomplished by adding .444 to calc
CLEAR: z_spots, vz_spots.
IF l_lfimg NE 0.
z_spots = ( ( l_lfimg * zz_umren ) / zz_umrez ) + z_5.
vz_spots = ( l_lfimg * zz_umren ) / zz_umrez.
vz_spots = vz_spots + z_4.
ENDIF.
Calculate Number of Real Pallets
e_real_pallets = e_real_pallets + z_spots.
ls_zzvs001-real_pallets = z_spots.
Product attribute 4 = Top Load product
Product attribute 5 = Single Stack Prod(reserves 2 pallet spots)
Single Stack: move calc'd field to dec4_1 to get value in tenths
before multiplying by factor of 2.
Product attribute 6 = Half Mod Prod(reserves 1/2 pallet spots)
Divide by factor of 2
Product attribute 7 = Qtr Mod Prod(reserves 1/4 pallet spots)
Divide by factor of 4
z_spots_cpy = z_spots.
IF maapv-prat7 = 'X'. " Quarter Mod Product
ls_zzvs001-spot = z_spots.
ls_zzvs001-zqtrmod = z_spots_cpy.
ls_zzvs001-spot = ls_zzvs001-spot / 4.
vz_spots = vz_spots / 4.
z_spots = ls_zzvs001-spot.
ENDIF.
z_spots_cpy = z_spots.
IF maapv-prat6 = 'X'. " Half Mod Product
ls_zzvs001-spot = z_spots.
ls_zzvs001-zhalfmod = z_spots_cpy.
ls_zzvs001-spot = ls_zzvs001-spot / 2.
z_spots = ls_zzvs001-spot.
vz_spots = vz_spots / 2.
ENDIF.
IF maapv-prat5 = 'X'. " Single Stack Product
ls_zzvs001-spot = z_spots.
ls_zzvs001-zsnglstk = z_spots_cpy.
ls_zzvs001-spot = ls_zzvs001-spot * 2.
z_spots = ls_zzvs001-spot.
vz_spots = vz_spots * 2.
ELSE.
ls_zzvs001-spot = z_spots.
ENDIF.
IF maapv-prat4 = 'X'. " Top Load Product
ls_zzvs001-ztopload = z_spots_cpy.
ENDIF.
ls_zzvs001-prat4 = maapv-prat4.
ls_zzvs001-prat5 = maapv-prat5.
ls_zzvs001-prat6 = maapv-prat6.
ls_zzvs001-prat7 = maapv-prat7.
ls_zzvs001-brgew = maapv-brgew * l_lfimg.
ls_zzvs001-gewei = maapv-gewei.
ls_zzvs001-volum = maapv-volum * l_lfimg.
ls_zzvs001-voleh = maapv-voleh.
IF maapv-prat4 = 'X'
OR maapv-prat5 = 'X'.
ls_zzvs001-tlss = z_spots.
ENDIF.
IF maapv-prat7 = 'X'. " Quarter Mod Product
ls_zzvs001-real_pallets = ls_zzvs001-real_pallets / 4.
ELSEIF maapv-prat6 = 'X'. " Half Mod Product
ls_zzvs001-real_pallets = ls_zzvs001-real_pallets / 2.
ENDIF.
ls_zzvs001-zspot_3 = vz_spots.
APPEND ls_zzvs001 TO t_zzvs001.
z_tot_wgt = z_tot_wgt + ls_zzvs001-brgew.
z_tot_vol = z_tot_vol + ls_zzvs001-volum.
z_spots_3 = z_spots_3 + vz_spots.
z_spots_1 = z_spots_1 + ls_zzvs001-spot.
Load additional information into secondary table Structure. Quantity
has already been converted to Base Unit of Measure
t_lips-matnr = '000003400024000000'.
t_lips-lfimg = 10023.
t_lips-meins = 'CA'.
IF maapv-prat7 = 'X'. " Quarter Mod Product
l_lfimg = t_lips-lfimg / 4.
ELSEIF maapv-prat6 = 'X'. " Half Mod Product
l_lfimg = t_lips-lfimg / 2.
ELSE.
l_lfimg = t_lips-lfimg.
ENDIF.
PERFORM get_additional_keyf
USING t_lips-matnr " Material Number
l_lfimg " Delivery Quantity
t_lips-meins " Base Unit of Measure
CHANGING ls_zzvs0012-ztotpalq " Total Pallets
ls_zzvs0012-zfullpalq " Full Pallets
ls_zzvs0012-zfulllayq " Full Layers
ls_zzvs0012-zfullcaq " Full Cases
ls_zzvs0012-zmisccaq. " Miscellaneous Cases
ls_zzvs0012-mandt = t_lips-mandt.
ls_zzvs0012-vbeln = t_lips-vbeln.
ls_zzvs0012-posnr = t_lips-posnr.
ls_zzvs0012-matnr = t_lips-matnr.
ls_zzvs0012-zspot_3 = ls_zzvs001-zspot_3.
APPEND ls_zzvs0012 TO t_zzvs0012.
ENDLOOP.
this pallet total is 1 decimal precision
e_pallet_spot = z_spots_3.
IF maapv-prat7 EQ 'X'. "Qtr Mod
e_real_pallets = e_real_pallets / 4.
ELSEIF maapv-prat6 EQ 'X'. "Half Mod
e_real_pallets = e_real_pallets / 2.
ENDIF.
this pallet total is 3 decimal precision
e_total_pallets_3 = z_spots_3.
e_total_weight = z_tot_wgt.
e_total_volume = z_tot_vol.
ENDFUNCTION.
I hope thats what is needed. Look forward to your kind reply.
Thanks so much in advance
Amit
Similar Messages
-
Problem with ODS activation -- Urgent
Hi All,
I have a problem with ODS activations, when I trying to activate ODS data automatically/ Manually. It is going to short dump.
Could you anybody pls help me in this issue.
Thanks in Advance
NarendraSorry for delay,
I raised an OSS messsage and waiting from reply.
The ODS fetch the data from 6 sources. all the 5 sources data is correctly updating in the ODS. I have ODS activation problem with only one soure data.
The error is
RSMO
Inserted records 1-; Changed records 1-; Deleted records 1-
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 not correct
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 not correct
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 not correct
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 not correct
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 not correct
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 incorrect with status 4 in rsodsacstreq
No confirmation for request ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9 when activating the ODS object ZPMPRCST
Activation of data records from ODS object ZPMPRCST terminated
SM37 Job log
Error Message from Job log (SM37) (Highlights of the Job log)
SIDs determined successfully for request REQU_49Y4VOQEDO6H73KDE354JNDB5 from ODS object ZPMPRCST
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 not correct
Inserted records 1-; Changed records 1-; Deleted records 1-
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 not correct
Inserted records 1-; Changed records 1-; Deleted records 1-
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 not correct
Inserted records 1-; Changed records 1-; Deleted records 1-
No confirmation for request ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9 when activating the ODS object ZPMPRCST
SID assignment started at 07:41:12
SID assignment finished at 07:42:22
Activation started at 07:42:22
Activation finished at 08:12:28
Errors occured when carrying out activation
Analyze errors and reactivate if necessary
Activation of data records from ODS object ZPMPRCST terminated
Activation is running: Data target ZPMPRCST, from 1.397.204 to 1.397.204
Data to be activated successfully checked against archiving objects
SIDs determined successfully for request REQU_49Y4VOQEDO6H73KDE354JNDB5 from ODS object ZPMPRCST
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 not correct
Inserted records 1-; Changed records 1-; Deleted records 1-
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 not correct
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 not correct
No confirmation for request ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9 when activating the ODS object ZPMPRCST
SID assignment started at 07:41:12
SID assignment finished at 07:42:22
Activation started at 07:42:22
Activation finished at 08:12:28
Errors occured when carrying out activation
Analyze errors and reactivate if necessary
Activation of data records from ODS object ZPMPRCST terminated
Activation is running: Data target ZPMPRCST, from 1.397.204 to 1.397.204
Data to be activated successfully checked against archiving objects
SIDs determined successfully for request REQU_49Y4VOQEDO6H73KDE354JNDB5 from ODS object ZPMPRCST
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 not correct
Inserted records 1-; Changed records 1-; Deleted records 1-
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 not correct
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 not correct
No confirmation for request ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9 when activating the ODS object ZPMPRCST
SID assignment started at 07:41:12
SID assignment finished at 07:42:22
Activation started at 07:42:22
Activation finished at 08:12:28
Errors occured when carrying out activation
Analyze errors and reactivate if necessary
Activation of data records from ODS object ZPMPRCST terminated
Report RSODSACT1 ended with errors
Job cancelled after system exception ERROR_MESSAGE
RSODSACTREQ Table Entries
Table: RSODSACTREQ
Displayed Fields: 10 of 10 Fixed Columns: 3 List Width 1000
InfoCube Request ID Data packet number Boolean Boolean Request ID ODS operation Activ. status
ZPMPRCST REQU_49Y4VOQEDO6H73KDE354JNDB5 000000 X X ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9 A 0
ZPMPRCST REQU_49Y4VOQEDO6H73KDE354JNDB5 000001 X ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9 A 4
ZPMPRCST REQU_49Y4VOQEDO6H73KDE354JNDB5 000002 X ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9 A 4
ZPMPRCST REQU_49Y4VOQEDO6H73KDE354JNDB5 000003 X ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9 A 4 -
Problem with delta load urgent!!
Hi,
I have a problem with delta load
We have an IP, which loads data from R/3 system daily, its a delta load to the ODS and it updates to the cube with the selection on Company Codes and 0FISCPER
we are in 3.5 system
For a couple of company codes A & B, the init was done for the period 07.2010 to 12.2099 and after tht the deltas are loaded from 07.2010 till 12.2099 and there's no pblm with tht
Now, there was some updation in R/3 system and the data was maintained for the company codes in A& B for the FISCPER 001.2010 to 006.2010, for which init wasnt maintained...
now how shall we need to load the init in this case? dnt ask me how the postings was done in R/3, but my pblm is purely related to the loading data in BW from R/3, as its very imp for the customer to see the data from 01.2010 to 12.2010 in reports, but the data was only available in reports from 07.2010 onwards
do i need to create another IP and maintain the init for 01.2010 to 06.2010? so tht this selection will automatically appear in the ODS delta loading infopackage
pls throw ur inputs ASAP
thank youHi Prince,
No need to maintain any Init for this data, It will be enough if you can load the data from jan 2010 to jun 2010 into your Info Cube.
Follow the below steps:
1)create full load IP for this data source.
2) give the selection as A and B company codes and 0FISCPER as 001.2010 to 006.2010
3) in menu bar, click on scheduler --> select full repair request
4) In the next screen check the check box and save
5) Now execute the IP, it will the data with out disturbing your daily delta.
follow the same procedure to load data till to your Info Cube.
Please revert if you have any questions
Regards,
Venkatesh -
Problem with a Servlet - URGENT help
Hello
i really need your help. here i uploaded my web project: http://www.2shared.com/file/4450238/aaa4d9cd/JMSTest.html
it's about 2 servlets, one Test servlet sending a message, and another one, Receiver, to receive the message sent via JMS (i use ActiveMQ)
i didn't know what's wrong, if i call http://localhost:8080/JMSTest , then i enter something into that textfield, then i press the button(form action is http://localhost:8080/test ). it writes that "Mesaj trimis" (message sent - written by me in Romanian), and when i call http://localhost:8080/receiver i did not receive the message. Why?
I use queue, so i think the send message is stored in a queue until a receiver receives it.
Please download the project, isn't complicated.
I did not know what's the problem.
here is the server.xml file from Tomcat conf folder:
<?xml version="1.0" encoding="UTF-8"?>
<Server port="8005" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
<!-- Global JNDI resources
Documentation at /docs/jndi-resources-howto.html
-->
<GlobalNamingResources>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users
-->
<Resource auth="Container" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" name="UserDatabase" pathname="conf/tomcat-users.xml" type="org.apache.catalina.UserDatabase"/>
</GlobalNamingResources>
<Service name="Catalina">
<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443"/>
<Engine defaultHost="localhost" name="Catalina">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/>
<!-- Define the default virtual host
Note: XML Schema validation will not work with Xerces 2.2.
-->
<Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true" xmlNamespaceAware="false" xmlValidation="false">
<!-- SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
<!-- Access log processes all example.
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/>
-->
<Context path="/JMSTest" docBase="JMSTest"
debug="5" reloadable="true" crossContext="true">
<Resource name="jms/ConnectionFactory" auth="Container"
type="org.apache.activemq.ActiveMQConnectionFactory"
description="JMS Connection Factory"
factory="org.apache.activemq.jndi.JNDIReferenceFactory"
brokerURL="vm://localhost"
brokerName="LocalActiveMQBroker"
userName="activemq" password="activemq"
useEmbeddedBroker="false"
clientID="TomcatClientID" />
<Resource name="jms/myQueue" auth="Container"
type="org.apache.activemq.command.ActiveMQQueue"
description="JMS Queue"
factory="org.apache.activemq.jndi.JNDIReferenceFactory"
physicalName="TEST.FOO" />
<Resource name="jms/myTopic" auth="Container"
type="org.apache.activemq.command.ActiveMQTopic"
description="JMS Topic"
factory="org.apache.activemq.jndi.JNDIReferenceFactory"
physicalName="TEST.BAR"/>
</Context>
</Host>
</Engine>
</Service>
</Server>or, how should i do this, but using Sun Message Queue? my way is using Apache MQ
Thanks
Edited by: Talkabout on Dec 13, 2008 7:15 AMI didn't go all through your code, but I'd say you should make sure that the Receiver servlet is up and running BEFORE your access the Sender servlet.
-
I-Procurement problems with approval hierarchy - Urgent!! Please help!
Dear experts,
I am having a number of problems in i-procurement (12.1.3). When creating a Requisitions in i-procurement on the screen when it arrives with the approval list, it has retrieved a personel who is not in the hierarchy list at all. (not using AME just employee hierarchy)
I have checked the usual setting such as making sure the document type settings is correct and the position hierarchy for the position raising the requisition.
In addition to this once proceeding with submitting the requisition the created time is completly wrong. It is displaying a date occuring in the past. And in the Justification field it has already been populated it appears that it has captured information from a previous requisition. Furthermore in the created by field it also displaying a name of a different user to the one I am currently using.
I am out of ideas as to exactly what the problems is. Would appreciate if any I-procurement gurus can take a look at my issue.
Thanks and Regards
EbsnoobThat sounds like a feedback loop.
Does the tone alter in pitch when you alter input and/or output levels or move your microphone?
And have you checked your coreaudio device in *Logic Pro>Preferences>Audio* ? And your recording settings in *File>Project Settings* ?
And how is your monitoring setup? Directly from the Presonus, or do you use *Software Monitoring* ?
Does the tone stop when you hit Pause ?
2nd possibility: a note event somewhere triggers a synth - but that would also happen in playback, so it is a long shot.... it does not happen in playback?
regards, Querik.
ps: the advantage of smashing up things is that then you are at least sure you can't fix it anymore. Better keep some broken stuff handy, because you'll regret smashing up working stuff. -
Problem with MTO scenario-urgent
hi everyone,
our client is using MTO process, where they will exchange halb materials for the fert level production order. i.e according to MTO sales order will trigger procurement seperately at all levels of bom( as sales order stock). what is happening at the client side is they are converting plnd orders to production orders generated in the stock requirement list for HALBS, as thier wish they want to use these randomly for fert production,
costs differences are arising.....
so kindly suggest a solution
thanks
madhuHi Madhu,
Your requirement is simple. If my understanding is right in your scenario you have a FERT (A) which is MTO and the assemblies/components (B) used for manufacturing it is a stock item or MTS.
For component A you have to define in material master MRP view 3 with planning strategy - 20 and in MRP4 maintain "1" for Individual and Collective requirement indicator.
For component B you have to define in material master MRP view 3 with a suitable planning strategy -(Not= 20) and in MRP4 maintain "2" for Individual and Collective requirement indicator.
This would resolve the problem. Reward your points,
thank you,
Regards,
Prasobh -
Hi all,
I'm using oracle 6i and in my program I use an activeX for generating barcodes..
the activeX genrate an image file and i need to store it in db(oracle 9i) or at least show the generated image through my form...the problem I encounter is that the read_image_file built in does not read the barcode images while it reads and shows other pictures with the same type (ex. tif or jpg)...
here is my code (in case if it is useful) :
declare
application ole2.obj_type;
begin
application := ole2.create_obj('IDAuto.BarCode.1');
----DataToEncode :this is the data that is to be encoded in the barcode
ole2.set_property(application,'DataToEncode',:txt);
IDAuto_IBarCode.SetPixelsXY(application,2048,1024);
----this method save the image file
IDAuto_IBarCode.SaveEnhWMF(application,'d:\TEST.tif');
:system.message_level := '25';
Read_Image_File(,'d:\TEST.tif','TIFF', 'control.itm_image');
:system.message_level := '0';
end;The errors are here:
byte buff[]=new byte[(int)file.length()];
InputStream fileIn=new FileInputStream(aa);
int i=fileIn.read(buff);
String conffile=new String(buff); (conffile is a String object containing the image)
and here:
String content ="-----------------------------7d11e410e500f2\r\n"+"Con
ent-Disposition: form-data;"+"name=\"upload\";
filename=\""+aa+"\"\r\n"+"Content-Type:
application/octet-strem\r\n\r\n\r\n"+conffile+"--------
--------------------7d11e410e500f2--\r\n";
printout.writeBytes(content);conffie is sent to the server but
it's non possible to treat binary data as String!
Image files must be sent as byte[] NOT as String ...... -
Problem with VO Extension (Urgent.......)
Hi,
I extended one VO which is not based on any VO. Is it mandatory to add the new VO to the Application module which the old VO is referencing?
The problem is when I am wirting the where clause to the new VO, I am not getting any error but my VO has not filtered with my where clause.
I written the code in my CO as:
//for getting the VO reference
CopyLibraryTestVOImpl libVo=(CopyLibraryTestVOImpl)oaapplicationmodule.findViewObject("CopyLibraryTestVO");
//set the where clause
libVo.setWhereClause("ATTRIBUTE2 = :1");
libVo.setWhereClause("ATTRIBUTE4 = :2");
libVo.setWhereClause("ATTRIBUTE6 = :3");
libVo.setWhereClauseParams(null);
libVo.setWhereClauseParam(0, len1);
libVo.setWhereClauseParam(1, len2);
libVo.setWhereClauseParam(2, len3);
libVo.executeQuery();
============================================
Can any one help me on this issue.
Thanks,
Satya.For substitution you need to follow a few steps which I am not sure whether you have done or not.
libVO might be coming as null because you haven't added it to any AM.
--Shiv -
Problem with the n73-urgent!!
I cannot make/receive any phone calls, 'cause the person on the other side of the line doesn't hear anything I say. I'm sure its not a big problem, but I can't find the solution. Can anyone help? Its pretty urgent! Thanks!
It's either a software fault or hardware failure.
Backup everthing you want to keep then download and install the nokia software updater:
http://www.nokia.co.uk/A4226014
If this doesn't fix it then you will need to visit a nokia care point.
Care points:
UK
http://www.nokia.co.uk/A4228006
Europe:
http://europe.nokia.com/A4388379
Elsewhere:
http://www.nokia.com and select your country. -
Problem with DataSource lookup(Urgent)
HI,
I am facing a unique problem. I am migratinga application from weblogic to WAS. In a web module I wrote a normal class which will get the initial context of the server and create a connection object for the use of servlets. It is working fine in weblogic but when i have deployed the samething in WAS it is giving exception
com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of MLJNDI.
where MLJNDI is my DataSource jndi name.
can anybody suggest me the solution?.This is very urgent.
Thanks in advance.
Ashok.It is not clear if you already created a Datasource to a specified database. This can be done via the Visual Admin.
Services --> JDBC Connector. There you can upload vendor specific drivers and bind it to a database.
This is possible usings the standards. JDBC 1.x and 2.0 way.
Success. -
Problem with printing report (URGENT)
hi every body, (urgent)
When I print a report the margin of report not as i am like, i change the setting of printer to be suitable with what i want but nothong change,so the output of report not good.
can any body tell me if can change margin of the printer from inside the report (at run time) or any solution.
thanks
nullits the simple student management system where the teacher will input the marks of the students in particular subjects and store it in the database. now i have to print that on the report card. printing report as per student might be troublesome so i want to implement the " print all" button where the report card of all the students in that class will be printed in the report cards. its: printer printing the report of a student in the paper (A4 size) and then printer takes another paper sheet and then print the report of another student of same class until finish. how to accomplish this task?
-
Problem with transaction control - URGENT
I have a requirement to use a PL/SQL package to validate data that is created by my OAF application.
My process is as follows:
1. User enters data and clicks save (Submit action)
2. Controller captures save event and invokes "Apply" in AM
3. Apply method calls getTransaction.postChanges()
4. Apply method then executes PL/SQL block and gets the results of validation (Validation function does not do any DML on the data)
5. if validation is ok then I commit (This bit works fine)
6. if validation fails then I just stop processing and let the page reload ( I am not forwarding to processrequest)
7. User corrects the error and clicks save again
I have tried step 6 with throwing OAException and not throwing OAException and in both scenarios at step 7 I receive the following:
Unable to perform transaction on the record. \nCause: The record has been deleted by another user. \nAction: Cancel the transaction and re-query the records to get the new data.
Please help I have been working with this for a day now and I am no closer to solving the problem. This error occurs when I try to postChanges for the second time in step 7.Hi Pratap,
My requirement is to use a PL/SQL package to validate the data and provide feedback to the user. I am using a callable statement to select the data from the base tables and validate it based on the data I enter in my OAF application.
I know that we can do validation in OAF EO, entity expert etc.. but the business requirement is to have a central re-usable validation platform so that it can be used for the application and data migration, PL/SQL API's etc... We dont want to write the validation logic in OAF and PL/SQL is the objective.
So we have the validation in PL/SQL which just returns a message about any errors, I call this from my header EO validate() method.
For it to work however the data has to be available to the PL/SQL before I hit commit in OAF (which fires validation), to do this I call trx.postChanges prior to commit which makes the data available. If the data is valid then there is no problem the data saves ok.
If the data is invalid I correct the error and try the process again, when it hits postChanges for a second time after the correction it gives me the error.
I have simplified the test case as per my post above and it seems that I cannot use postChanges more than once in the same transaction, I am wondering if the VO cache is being deleted in the same way as you have to re-query after a commit() you may have to do the same thing after a post(), only question is will I get my posted data back?
Any thoughts/comments would be appreciated.
Thanks for your help so far
Keith -
Problem with output type--urgent
Hi experts,
My requirement is i need to post a vendor lkiability. For that we create a output type 'ZALV'. We also created a report program . In nace we attached the program and output type with medium '8'. we call the same subroutine Entry which available in standard program (CMSR_OUTPUT_ENTRY whcich is attched to medium 8 and o/p type:CMSF). Up to this one my output type works fine and processed successfully.In that Entry some function modules called.
When i added my own code in report program it gives a error
saying that ' POSTING_ILLEGAL_STATEMENT".
Statement "CALL SCREEN" is not allowed in this form.
There is probably an error in the program
"SAPLTAX1".
This program is triggered in the update task. There,
following ABAP/4 statements are not allowed:
- CALL SCREEN
- CALL DIALOG
- CALL TRANSACTION
- SUBMIT
In my code i am not used these statements also.
The error in code is:PERFORM skftabn_ergaenzen.
xbset-first = 1.
xkzinc = space.
IF bkpf-xmwst = 'X'.
ok-code = 'CALC'.
IF bkpf-xsnet = space.
xkzinc = 'X'.
ENDIF.
ELSE.
ok-code = 'PRUF'.
ENDIF.
IF i_xsimu NE 'S'.
xnodia = 'X'.
ELSE.
xnodia = space.
ok-code = 'SHOW'.
ENDIF.
Bild dunkel prozessieren -
evtl. veraenderte Steuern merken
IF xusvr = 'X'.
PERFORM ustaxes_detail USING i_bkpf.
ELSE.
IF sy-tcode(1) = 'M'
or bkpf-tcode(1) = 'M'.
OR bkpf-tcode(1) = 'M' OR NOT dynpro_501 IS INITIAL.
CALL SCREEN 301.
ELSE.
CALL SCREEN 300.
ENDIF.
ENDIF.
ok-code = space.
Please give me a solution --- It is very urgent.
Regards
Pratap.MHi ,
Use this one . These are standarrd includes you need to include.
INCLUDE riprid01. " General DATA and TABLE struct.
INCLUDE riprif01. " General PRINT routines
PERFORM print_paper.
Main Form which is called.
FORM print_paper.
Import Data ---Copied From SAP Program
PERFORM data_import. * This you have to copy from standard SAP program
*&-- Populate internal table for header part of form.
PERFORM data_population.
Your scrpit printing logic will be done in this.
*&--Script printing.
PERFORM main_print. " Print the PAPER now
Do reward.
Thanks,
Madhura -
Problems with my program - urgent
I am writing a program to convert infix form to postfix form, for example: a+b*c(infix form), abc*+(postfix form).
I ran my program and entered the arithematic infix form, but I got a messages as follows:
java.util.EmptyStackException
at java.util.Stack.peek(Stack.java:82)
at exe.Exe.convert(Exe.java:57)
at exe.Exe.main(Exe.java:84)
Please help me with this problem. ThanksYour program tried to execute the peek() method but the stack was empty. This is either an error in your program (there should have been something in the stack) or a condition you need to test for (e.g. if (theStack.empty()) {...}).
-
Problems with reporting Cockpit
Hi,
We are trying to configure a new Charting Pattern with source Rpm_Item_Getlist-Et_Items (114 fields) for Reporting Cockpit, but we do not understand why in the diagram type the number of available fields are different for both axis (x = 51 fields and y=39 fields) compared with the total of the source. We would like to include more fields of the source in order to build the report taht we want.
Does anyone know how to do it?
Thanks a lot,
CAMILO URIBEHi Camilo,
I've tried creating custom charts and it seems that there is less choice in choosing the fields. This seems to be a standard system behaviour. You can try raising an OSS message and check the response from SAP on this issue.
Regards,
Vivek
Maybe you are looking for
-
The software i use to play dj music videos cause for multi disply in which my Macbook pro has a single display funtion. Is the ant way to get multi monitor display added to my computer
-
Error compiling a library, Kernel32.dll Attachments: error LabVIEW82.jpg 30 KB
-
I've read the other discussions but haven't really seen an answer yet and the typical responses don't seem to apply to my situation. Here is my situation: I'm am getting corrupted RAW files after importing into LR. Typically this is blamed on Hardw
-
When trying to update iTunes from 7.02 to 8 I keep getting an error message: Could not access network location iTunes\. I get this same error when trying to remove iTunes as well. I have updated everything I can on Windows xp as well as followed all
-
Strange MacJanitor (chron) reports
Hi, and Happy Holidays. (This is also posted on the Tiger discussion page, but no one there had any ideas.) Recently ran MacJanitor, and got this: Rebuilding locate database: Rebuilding whatis database: find: /usr/local/man: No such file or directory