EBP cannot find material on stock
Hello all,
EBP 5.0, CCM 1.0, R/3 4.7
I have situation where materials from R/3 are NOT replicated to EBP and that to CCM to crate SRM Product Data catalog. Materials are directly uploaded to CCM as Supplier Catalog. In CSV there is also field /CCM/PRODUCT_ID as material number from the backend.
In EBP call to catalog I have flags "Do Not Check Product" and "Validate Product Data from SAP Enterprise Buyer". Logical system entered is backend.
In Definition of Backend Systems I have both R/3 backend and EBP system with realtime backend validation.
In organizational extended attributes users have plant and storage location defined.
Problem is that system is creating purchase requisition where material is on the stock and reservations should be created. Is this possible without replication of material from the backend to EBP?
TIA
Gordan
Hi Gordan,
yes it is possible to create reservations without replicating materials into SRM.
CCM must send you the product ID. Arriving in SRM, SC item should contain:
- ORDERED_PROD = R/3 material ID
- PRODUCT_SRC_SYS = R/3
SC item data or overview should display the material ID.
The availablity tab should be activated as well.
Can you check in BBP_PD is SC item data lookks correct ?
You must also set the "Define Objects in Backend System (Purch. Reqs, Reservations, Purch. Orders)" customizing point "Int Proc" to option 1 or 2.
Rgds
Christophe
Similar Messages
-
Q30: Cannot find sales order for a committed stock item
I have a few item numbers which show committed stock in item master data/stock but I cannot find an open sales order or even with an open line on a closed sales order. I have tried various query reports without success.
Does anyone have a key to unlock this problem?
Thanks,
RobinHi,
Sorry but I am pretty new to SAP and on a learning curve so no idea what note 999124 is or even where/how I would use it.
Can you explain further please?
Robin
Lakshmipathi
Posts: 17,513
Registered: 8/9/07
Forum Points: 34,462
Solved problem (10)
Very helpful answer (6)
Helpful answer (2)
Re: Q30: Cannot find sales order for a committed stock item
Posted: Jan 12, 2011 3:18 PM in response to: Robin Bellion Reply
Check Note 999124 - Incorrect committed\On order quantity when changing orders
thanks
G. Lakshmipathi -
Cannot Record Material Inspection Results as per wiki use case * SOLVED *
=== EDIT ===
Playing around, I solved my issue.
I did not realize that I needed to set both flags
CloseIndicatorSpecified = true;
CloseIndicator = false;
Adding that fixed it; I suspect I cannot set them to null even if the WSDL allows it.
Michel.
=== ORIGINAL POST ===
Hi,
I have a project to integrate SAP and our LIMS using the SAP web services with the Material Inspection business object.
In the Wiki, there are a few [use cases|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/ESpackages/IntegrationofQualityManagementSystems] on the subject.
Following that, I successfully retrieve all the required data using the following web services:
[Find Material Inspection Basic Data by Elements|https://wiki.sdn.sap.com/wiki/display/ESpackages/FindMaterialInspectionBasicDatabyElements]
[Find Material Inspection Subset Operation by Elements|https://wiki.sdn.sap.com/wiki/display/ESpackages/FindMaterialInspectionSubsetOperationbyElements]
[Find Subset Operation Inspection Activity Basic Data by Elements|https://wiki.sdn.sap.com/wiki/display/ESpackages/FindSubsetOperationInspectionActivityBasicDatabyElements]
[Read Subset Operation Inspection Activity|https://wiki.sdn.sap.com/wiki/display/ESpackages/ReadSubsetOperationInspectionActivity]
From there, I want to record results. According to the Wiki , I should use
[Record Subset Operation Inspection Activity Result|https://wiki.sdn.sap.com/wiki/display/ESpackages/RecordSubsetOperationInspectionActivity+Result]
I tried directly through the [WS Navigator|http://sr.esworkplace.sap.com/webdynpro/dispatcher/sap.com/tcesiespwsnavui/WSNavigator] to test web services. Whenever go through that tho, I get the following error:
Conversion Error: Invalid Input Format (701 SFB)
Obviously, I get the exact same error using c# (at least I'm consistent!)
Below is the code (some is truncated because it is too long but I think you can get the idea).
The question: Can anyone help me understand why I am getting that error? Maybe there is one or more property I don't understand... It would be practical if the actual failing property was identified in the LogItem, but it is not.
Some things I tried (to no avail):
1. Tried all sort of combination for actionCode
2. Removed actionCode and set actionCodeSpecified = false
3. Removed the Measure property
4. Removed the Text property
5. Removed the ChangeStateID
Thanks in advance!
Michel
...RequestMessage_sync messageIn = new ...RequestMessage_sync();
messageIn.MaterialInspection = new u2026RequestMessage_syncMaterialInspection();
messageIn.MaterialInspection.ID = new MaterialInspectionID();
messageIn.MaterialInspection.ID.Value = "3265";
messageIn.MaterialInspection.ChangeStateID = "1";
messageIn.MaterialInspection.Subset = new u2026RequestMessage_syncMaterialInspectionSubset();
messageIn.MaterialInspection.Subset.ID = new InspectionSubsetID();
messageIn.MaterialInspection.Subset.ID.Value = "0";
messageIn.MaterialInspection.Subset.Operation = new u2026RequestMessage_syncMaterialInspectionSubsetOperation();
messageIn.MaterialInspection.Subset.Operation.ID = "0300";
u2026RequestMessage_syncMaterialInspectionSubsetOperationInspectionActivity activity = new u2026RequestMessage_syncMaterialInspectionSubsetOperationInspectionActivity();
activity.ID = "0010";
activity.CloseIndicatorSpecified = false;
activity.Result = new u2026RequestMessage_syncMaterialInspectionSubsetOperationInspectionActivityResult[1];
activity.Result[0] = new u2026RequestMessage_syncMaterialInspectionSubsetOperationInspectionActivityResult();
activity.Result[0].ID = "0001";
activity.Result[0].AcceptanceStatusCodeSpecified = false;
activity.Result[0].DefectNumberValueSpecified = false;
activity.Result[0].ExceptionIndicatorSpecified = false;
activity.Result[0].InspectedNumberValueSpecified = false;
activity.Result[0].Comment = string.Empty;
activity.Result[0].NonConformingUnitNumberValue = 0;
activity.Result[0].Measure = new Measure();
activity.Result[0].Measure.Value = decimal.Parse("4.15";);
activity.Result[0].Measure.unitCode = "AMP";
activity.Result[0].Text = new Text();
activity.Result[0].Text.Value = "Some Text Here";
activity.Result[0].actionCode = ActionCode.Item01 |ActionCode.Item02 | ActionCode.Item03;
activity.Result[0].actionCodeSpecified = true;
activity.CloseIndicatorSpecified = false;
messageIn.MaterialInspection.Subset.Operation.InspectionActivity = activity;
messageIn.MessageHeader = new BasicBusinessDocumentMessageHeader();
messageIn.MessageHeader.ID = new BusinessDocumentMessageID();
messageIn.MessageHeader.ID.Value = "starlims_update";
try
u2026ConfirmationMessage_sync messageOut = ws.MaterialInspectionSubsetOperationInspectionActivityResultRecordingRequestConfirmation_In(messageIn);
if (messageOut.Log.Item != null)
string message = String.Empty;
foreach (LogItem item in messageOut.Log.Item)
message += (item.Note + "\n");
MessageBox.Show(message);
catch (Exception ex)
MessageBox.Show(ex.Message);
Edited by: Michel Roberge on Jul 16, 2008 2:38 PMSee post for solution.
-
I want to customize this template by swapping the stock images that are already in place. I have been able to upload my new images to the file that the others are stored, but I cannot find a way to implement the changes. HELP
Er, not according to the header at the top of this thread:
No mention of Windows there. And I saw no connection link for iCloud on my Mac. If there is such a thing, I missed it. In which case please accept my apologies. -
Airpint cannot find HP LaserJet 1536dnf MFP- Please help
I baught HP Laserjet 1536dnf a few months ago cause HP said that it is Airprint compatible. I actually went to a few stores just to get this last one in stock of the last store I visited. Till now, I still cannot get it to work and feel like a dumb buying this HP printer. If any of you or HP engineer can help ... please.
I actually did some research and testing on the configuration. There were few time that I was lucky to see the printer show up (shortly) and I can print one document and the printer is gone. Both my ipad and iphone cannot find it again afterward, even after rebooting.
I already updated my iOS to the latest version. Upgrade firmware on both Printer and my Zyxel router. Also, I replace the zyxel router with 3com (now back to zyxel). None of these help.
_Here's my configurarition._
Devices: iPhone 3GS (iOS4.3), iPad 1 (iOS4.3)
Printer: HP LaserJet 1536dnf MFP (latest firmware 20110405); Fixed IP;
Router: ZyXel P-660HN-F1z (latest firmware Version: 3.70(BJI.4) | 03/22/2010)
Network Setting: All are in the same network 192.168.1.x
Would really appreciate if anyone can help me out.
This question was solved.
View Solution.Thank you all, especially headsortails. Thought no one will answer this after so many months.
I actually check that link (http://gothick.org.uk/2010/05/16/getting-the-apple-iphone-remote-app-working-with-a-zyxel-router/) before but it didn't help me at the time. Now there are a few more replies that enlighten me.
I would summarize what I did as follow; for others who may have the same problem.
1. Turn off my printer HP1536
2. Since there were so many things I tried and lost track of them e.g. multicast, IP version, fixed IP address, disable firewall. First thing I did today is to reset my Zyxel router and set up things from scratch (not from the configuration backup).
3. Under Zyxel menu Network > LAN > Advance Setup, I change the Multicast to IGMP-V3. This time I leave other fields untouched, so RIP direction is set to None and RIP version is N/A.
4. Under menu Wireless LAN > Advance Setup, I uncheck the IGMP Snooping.
5. Turn on my HP printer and reboot both iPhone and iPad
Now I'm happy. I can print from my iphone, ipad, mac and PC. However, while testing, I found that sometime iphone may not found the printer if the ipad app printed something and hasn't quit. I guess it somehow lock the bonjour service. Anyway, I'll just mainly print from my ipad ... so I guess my problem is now solved. Thanks. -
I have lost the document and cannot find it anywhere.
I have been working on a lengthy document all evening in Pages.
I went to highlight it all (cmd A) to regularise the font etc, and I think I hit Alt just afterwards and the document has disappeared. I cannot find it anywhere, not in trash, documents or finder.
Please, has anyone any ideas where it may be and how I can find it?Menu is the bar of pull down menus at the top of your screen.
"Window" is the 3rd from the right.
Open documents are listed at the bottom of the Window menu.
Select any you want to come to the fore.
It has occurred to me that you may have hit a key combination with all the text selected, so the text got replaced with nothing and that is what you are talking about.
Menu > Edit > Undo as many times as makes your material come back.
Peter -
Material Current Stock info req??
Hi
Can any one tell me how to find the current stock value availabe for a material in an Plant.
I need to find the total current stock available accros all the storage location,till current date.
Please tell me the table & its filed name for it,or also if any SAP FM exits there.
regdsVipin,
You can check
MBLB which gives a detailed report of the SubContractinng Material Stock report
ME2O(not zero) which gives Stock Monitoring of Subcontracting Materials and
MB5B which gives Stock on Posting Date.
K.Kiran. -
When I run the code below I get the following error:"RUN-TIME ERROR '3078': The Microsoft Access database engine cannot find the input table or query 'False'. Make sure it exists and that its name is spelled correctly. Note that I do not call
anything by the name of "false" anywhere in this code.
The subject code (the underscored line of code is highlighted in the debugger when the error occurs):
Option Compare Database
Private Sub JobAssign_Click()
MatLotListAvail_openform
End Sub
Function MatLotListAvail_openform()
Dim dbsAPIShopManager2010 As DAO.Database
Dim rstMaterialLotJobJoint As DAO.Recordset
Dim strSQL As String
Set dbsAPIShopManager2010 = CurrentDb
strSQL = "SELECT * FROM MaterialLotJobJoint WHERE JobID" = "tempvars!JobID" And "MatLotID" = "tempvars!MatLotID"
Set rstMaterialLotJobJoint = dbsAPIShopManager2010.OpenRecordset(strSQL, dbOpenDynaset)
If rstMaterialLotJobJoint.EOF Then
DoCmd.OpenForm "JobAssignMatConf", acNormal, "", "", acEdit, acNormal
Forms!JobAssignMatConf!PartapiIDVH = TempVars!PartapiID
Forms!JobAssignMatConf!JobapiIDVH = TempVars!JobapiID
Forms!JobAssignMatConf!JobIDVH = TempVars!JobID
Forms!JobAssignMatConf!MaterialLotIDVH = TempVars!MatLotID
Forms!JobAssignMatConf!Desc = TempVars!MatDesc
Forms!JobAssignMatConf!recdate = TempVars!recdate
DoCmd.Close acForm, "MaterialLotListAvailable"
Else: MsgBox "This material lot has already been assigned to this job."
DoCmd.Close acForm, "MaterialLotListAvailable"
End If
End FunctionI think the SQL statement should be
strSQL = "SELECT * FROM MaterialLotJobJoint WHERE JobID=" & _
tempvars!JobID & " AND MatLotID=" & tempvars!MatLotID
This assumes thatJobID and MatLotID are number fields.
Regards, Hans Vogelaar (http://www.eileenslounge.com) -
hi abap gurus,
i need your help,
this is a Purchase order conversion program, from4.7 to ECC 6.0,
the iput is an excel file which contains the extracted data from 4.7
the structure of the iput file would be
Purchase Req Number from ECC 6.0 ( EBAN-BANFN )
PR Item from ECC 6.0 ( EBAN-BNFPO)
Old PO Number from 4.7 ( EKKO-EBELN )
Old PO Item from 4.7 ( EKKO-EBELP)
Vendor ( EKKO-LIFNR )
Material ( EKPO-MATNR).
Quantity ( MENGE-EKPO)
i was asked to do LSMW with a standrd program,
so, i started like this in the first step i chose direst input, with
Object 0085
Method 0001
program # RM06EEI0
program type is D
In the step "Field Mapping & Conversion Rules "
Except for the first two, ie.
Preq Number
PReq item, i could assign the source fields to the std program fields displayed,
but i could not find the two fields to map ie, PReq #, Preq Item.
is it that, these two fields are from ECC, i cannot find them in the std prog.
can some one helpme in solving this,
thank youhi srinivas,
thank you for response,
yes you are right,
it is the first time they are uploading POs, and also they donot have PReqs in system as of now,
but my question is as i am using the std program in lsmw, those filds should appear as target fields in order to map, i am only in the step of mapping, so the error of PReqs not found may be at later stage,
but the std program should show these fileds right?
i think these Preq are bieng used as refernce while creating the POs, in me21
so is this a way, or can we do this way for creating the POs with reference of PReqs
using a std program in LSMW,
or is it a better way to do recording. -
Cannot find my utilities tab on ipad mini (ios 7..0.2)
cannot find my utilities tab on ipad mini (ios 7..0.2)
after installing IOS 7.0, I cannot find the Calculator app, and the utility tab in my iPad mini
where did they go?
tks
FlavioThere aren't, and never have been, built-in Calculator, Weather or Stocks apps in iOS on iPads.
-
Cannot find CFML template for custom tag
Why am I getting this error when my code looks like this?
Cannot find CFML template for custom tag UPSPrice.
ColdFusion attempted looking in the tree of installed custom tags but did not find a custom tag with this name. If you are using per-applica
<Cfif NOT form.shipzip IS "">
<CF_UPSPrice SERVICE="#form.upsshiptype#" FROM="#shopshipzip#" TO="#FORM.shipzip#" WEIGHT="#getshipweight.totwei#">
<cfelse>
<CF_UPSPrice SERVICE="#form.upsshiptype#" FROM="#shopshipzip#" TO="#FORM.zip#" WEIGHT="#getshipweight.totwei#">
</cfif>UPSPrice.cfm file:
<!---
NAME:
CF_UPSPrice
DESCRIPTION:
Cold Fusion custom tag obtain UPS shipping costs from ups.com.
ATTRIBUTES:
CALLTAG - (optional) Electronic or basic call tag issued, valid options
are NONE BASIC or ELECTRONIC, defaults to NONE.
COD - (optional) Package is being sent C.O.D., valid options are YES
and NO, defaults to NO.
FROM - (required) Source (ship from) postal code.
HANDLING - (optional) Requires special handling (eg. - any article that
is not fully encased in an outside shipping container,
or any package that exceeds 60 inches in length).
HAZARD - (optional) Package contains hazardous material, valid options are YES
and NO, defaults to NO.
HEIGHT - (optional) Height (in inches) of oversized package.
LENGTH - (optional) Length (in inches) of oversized package.
OVERSIZED - (optional) Package is oversized, valid options are YES and NO,
defaults to NO.
RESPONSE - (optional) Delivery confirmation service, valid options are
NONE BASIC SIGNATURE ALTERNATE or ALL, defaults to
NONE.
SATDELIV - (optional) Saturday delivery, valid options are YES and NO,
defaults to NO.
SATPICKUP - (optional) Saturday pickup, valid options are YES and NO,
defaults to NO.
SERVICE - (required) UPS Service ID, valid service IDs are:
1DM - Next Day Air Early AM
1DML - Next Day Air Early AM Letter
1DA - Next Day Air
1DAL - Next Day Air Letter
1DP - Next Day Air Saver
1DPL - Next Day Air Saver Letter
2DM - 2nd Day Air A.M.
2DA - 2nd Day Air
2DML - 2nd Day Air A.M. Letter
2DAL - 2nd Day Air Letter
3DS - 3 Day Select
GNDCOM - Ground Commercial
GNDRES - Ground Residential
SHIPNOT1 - (optional) First ship notification, valid options are NONE
DOMESTIC or INTERNATIONAL, defaults to NONE.
SHIPNOT2 - (optional) Second ship notification, valid options are NONE
DOMESTIC or INTERNATIONAL, defaults to NONE.
TOCOUNTRY - (optional) Destination country code, defaults to US if not
specified. Visit the UPS site for a complete list of
valid two letter country codes.
TO - (required) Destination (ship to) postal code.
VALUE - (optional) Declared value for carrier liability, carrier assumes
$100 by default.
VERBCONF - (optional) Verbal confirmation of delivery, valid options are YES
and NO, defaults to NO.
WEIGHT - (required) Weight (in pounds) of package, fractions may be used.
WIDTH - (optional) Width (in inches) of oversized package.
NOTES:
This tag submits a shipping cost request to UPS for processing, and returns
price and shipping information. CF_UPSPrice sets the following variables that
you may use within your template after the call to CF_UPSPrice:
UPS_BaseCharge - Base shipping charge.
UPS_Charge - Total charge.
UPS_Error - Error message, if there was one.
UPS_ErrorCode - Error code, if there was one.
UPS_FromCountry - Source country code.
UPS_FromPostal - Source postal code.
UPS_GuaranteedBy - Guranteed delivery time.
UPS_OptionalCharge - Total of optional charges.
UPS_Service - UPS service ID.
UPS_Success - YES if request was successful, NO if not.
UPS_ToCountry - Destination country code.
UPS_ToPostal - Destination postal code.
UPS_ToZone - Destination zone.
UPS_Weight - Billed weight.
USAGE:
To use just call <CF_UPSPrice> from within your Cold Fusion template,
passing at least the required attributes TO FROM SERVICE and WEIGHT.
EXAMPLES:
Obtain price for next day package from NY to CA:
<CF_UPSPrice SERVICE="1DA" FROM="11213" TO="90046" WEIGHT="1.5">
<CFOUTPUT>Cost is #DollarFormat(UPS_Charge)#</CFOUTPUT>
Sending a oversized package C.O.D. via second day air:
<CF_UPSPrice SERVICE="2DA" FROM="11213" TO="90046"
WEIGHT="1.5" HEIGHT="13" WIDTH="12" LENGTH="20" COD="Yes">
Using form fields:
<CF_UPSPrice SERVICE="#service#" FROM="#from#" TO="#to#" WEIGHT="#weight#">
AUTHOR:
Ben Forta ([email protected]) 10/14/97
With help from Dave Beckstrom ([email protected])
--->
<!--- Initialize variables --->
<CFSET proceed = "Yes">
<CFSET error_message = "">
<!--- Get UPS service --->
<CFIF proceed>
<CFIF IsDefined("ATTRIBUTES.service")>
<CFSET product = ATTRIBUTES.service>
<CFELSE>
<CFSET proceed = "No">
<CFSET error_message = "SERVICE must be specified!">
</CFIF>
</CFIF>
<!--- Get destination postal code --->
<CFIF proceed>
<CFIF IsDefined("ATTRIBUTES.to")>
<CFSET destPostal = ATTRIBUTES.to>
<CFELSE>
<CFSET proceed = "No">
<CFSET error_message = "TO postal code must be specified!">
</CFIF>
</CFIF>
<!--- Get source postal code --->
<CFIF proceed>
<CFIF IsDefined("ATTRIBUTES.from")>
<CFSET origPostal = ATTRIBUTES.from>
<CFELSE>
<CFSET proceed = "No">
<CFSET error_message = "FROM postal code must be specified!">
</CFIF>
</CFIF>
<!--- Get weight --->
<CFIF proceed>
<CFIF IsDefined("ATTRIBUTES.weight")>
<CFSET weight = ATTRIBUTES.weight>
<CFELSE>
<CFSET proceed = "No">
<CFSET error_message = "WEIGHT postal code must be specified!">
</CFIF>
</CFIF>
<!--- If all okay, process other options --->
<CFIF proceed>
<!--- Get destination country --->
<CFSET destCountry = "US">
<CFIF IsDefined("ATTRIBUTES.tocountry")>
<CFSET destCountry = ATTRIBUTES.tocountry>
</CFIF>
<!--- Get oversized --->
<CFSET oversized = "0">
<CFIF IsDefined("ATTRIBUTES.oversized")>
<CFIF ATTRIBUTES.oversized>
<CFSET oversized = "1">
</CFIF>
</CFIF>
<!--- Get COD --->
<CFSET cod = "0">
<CFIF IsDefined("ATTRIBUTES.cod")>
<CFIF ATTRIBUTES.cod>
<CFSET cod = "1">
</CFIF>
</CFIF>
<!--- Get hazard --->
<CFSET hazard = "0">
<CFIF IsDefined("ATTRIBUTES.hazard")>
<CFIF ATTRIBUTES.hazard>
<CFSET hazard = "1">
</CFIF>
</CFIF>
<!--- Get handling --->
<CFSET handling = "0">
<CFIF IsDefined("ATTRIBUTES.handling")>
<CFIF ATTRIBUTES.handling>
<CFSET handling = "1">
</CFIF>
</CFIF>
<!--- Get calltag --->
<CFSET calltag = "0">
<CFIF IsDefined("ATTRIBUTES.calltag")>
<CFIF ATTRIBUTES.calltag IS "BASIC">
<CFSET calltag = "1">
<CFELSEIF ATTRIBUTES.calltag IS "ELECTRONIC">
<CFSET calltag = "2">
</CFIF>
</CFIF>
<!--- Get Saturday delivery --->
<CFSET saturdaydelivery = "0">
<CFIF IsDefined("ATTRIBUTES.satdeliv")>
<CFIF ATTRIBUTES.satdeliv>
<CFSET saturdaydelivery = "1">
</CFIF>
</CFIF>
<!--- Get Saturday pickup --->
<CFSET saturdaypickup = "0">
<CFIF IsDefined("ATTRIBUTES.satpickup")>
<CFIF ATTRIBUTES.satpickup>
<CFSET saturdaypickup = "1">
</CFIF>
</CFIF>
<!--- Get response --->
<CFSET response = "0">
<CFIF IsDefined("ATTRIBUTES.response")>
<CFIF ATTRIBUTES.response IS "BASIC">
<CFSET response = "1">
<CFELSEIF ATTRIBUTES.response IS "SIGNATURE">
<CFSET response = "2">
<CFELSEIF ATTRIBUTES.response IS "ALTERNATE">
<CFSET response = "3">
<CFELSEIF ATTRIBUTES.response IS "ALL">
<CFSET response = "4">
</CFIF>
</CFIF>
<!--- Get vcd --->
<CFSET vcd = "0">
<CFIF IsDefined("ATTRIBUTES.verbconf")>
<CFIF ATTRIBUTES.verbconf>
<CFSET vcd = "1">
</CFIF>
</CFIF>
<!--- Get first ship notify --->
<CFSET firstshipnotify = "0">
<CFIF IsDefined("ATTRIBUTES.shipnot1")>
<CFIF ATTRIBUTES.shipnot1 IS "DOMESTIC">
<CFSET firstshipnotify = "1">
<CFELSEIF ATTRIBUTES.shipnot1 IS "INTERNATIONAL">
<CFSET firstshipnotify = "2">
</CFIF>
</CFIF>
<!--- Get second ship notify --->
<CFSET secondshipnotify = "0">
<CFIF IsDefined("ATTRIBUTES.shipnot2")>
<CFIF ATTRIBUTES.shipnot2 IS "DOMESTIC">
<CFSET secondshipnotify = "1">
<CFELSEIF ATTRIBUTES.shipnot2 IS "INTERNATIONAL">
<CFSET secondshipnotify = "2">
</CFIF>
</CFIF>
</CFIF> <!--- End process params --->
<!--- If have all params, process request --->
<CFIF proceed>
<CFHTTP
URL="http://www.ups.com/using/services/rave/qcostcgi.cgi"
METHOD="POST"
>
<CFHTTPPARAM TYPE="FORMFIELD" NAME="accept_UPS_license_agreement" VALUE="yes">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="10_action" VALUE="3">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="13_product" VALUE="#product#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="15_origPostal" VALUE="#origPostal#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="19_destPostal" VALUE="#destPostal#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="22_destCountry" VALUE="#destCountry#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="23_weight" VALUE="#weight#">
<CFIF IsDefined("ATTRIBUTES.value")><CFHTTPPARAM TYPE="FORMFIELD" NAME="24_value" VALUE="#ATTRIBUTES.value#"></CFIF>
<CFIF IsDefined("ATTRIBUTES.length")><CFHTTPPARAM TYPE="FORMFIELD" NAME="25_length" VALUE="#ATTRIBUTES.length#"></CFIF>
<CFIF IsDefined("ATTRIBUTES.width")><CFHTTPPARAM TYPE="FORMFIELD" NAME="26_width" VALUE="#ATTRIBUTES.width#"></CFIF>
<CFIF IsDefined("ATTRIBUTES.height")><CFHTTPPARAM TYPE="FORMFIELD" NAME="27_height" VALUE="#ATTRIBUTES.height#"></CFIF>
<CFHTTPPARAM TYPE="FORMFIELD" NAME="29_oversized" VALUE="#oversized#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="30_cod" VALUE="#cod#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="33_hazard" VALUE="#hazard#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="34_handling" VALUE="#handling#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="35_calltag" VALUE="#calltag#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="37_saturdaydelivery" VALUE="#saturdaydelivery#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="38_saturdaypickup" VALUE="#saturdaypickup#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="39_response" VALUE="#response#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="43_vcd" VALUE="#vcd#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="44_firstshipnotify" VALUE="#firstshipnotify#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="45_secondshipnotify" VALUE="#firstshipnotify#">
</CFHTTP>
<!--- Check if succeeded --->
<CFIF ListFirst(CFHTTP.FileContent, "%") IS "UPSOnLine3">
<!--- Success, set variables --->
<CFSET CALLER.UPS_Success = "Yes">
<CFSET CALLER.UPS_Service = ListGetAt(CFHTTP.FileContent, 2, "%")>
<CFSET CALLER.UPS_FromPostal = ListGetAt(CFHTTP.FileContent, 3, "%")>
<CFSET CALLER.UPS_FromCountry = ListGetAt(CFHTTP.FileContent, 4, "%")>
<CFSET CALLER.UPS_ToPostal = ListGetAt(CFHTTP.FileContent, 5, "%")>
<CFSET CALLER.UPS_ToCountry = ListGetAt(CFHTTP.FileContent, 6, "%")>
<CFSET CALLER.UPS_ToZone = ListGetAt(CFHTTP.FileContent, 7, "%")>
<CFSET CALLER.UPS_Weight = ListGetAt(CFHTTP.FileContent, 8, "%")>
<CFSET CALLER.UPS_BaseCharge = ListGetAt(CFHTTP.FileContent, 9, "%")>
<CFSET CALLER.UPS_OptionalCharge = ListGetAt(CFHTTP.FileContent, 10, "%")>
<CFSET CALLER.UPS_Charge = ListGetAt(CFHTTP.FileContent, 11, "%")>
<CFSET CALLER.UPS_GuaranteedBy = ListGetAt(CFHTTP.FileContent, 12, "%")>
<CFSET CALLER.UPS_Error = "">
<CFSET CALLER.UPS_ErrorCode = "">
<CFELSE>
<!--- Failed, set variables and error message --->
<CFSET CALLER.UPS_Success = "No">
<CFSET CALLER.UPS_Service = "">
<CFSET CALLER.UPS_FromPostal = "">
<CFSET CALLER.UPS_FromCountry = "">
<CFSET CALLER.UPS_ToPostal = "">
<CFSET CALLER.UPS_ToCountry = "">
<CFSET CALLER.UPS_ToZone = "">
<CFSET CALLER.UPS_Weight = "">
<CFSET CALLER.UPS_BaseCharge = "">
<CFSET CALLER.UPS_OptionalCharge = "">
<CFSET CALLER.UPS_Charge = "">
<CFSET CALLER.UPS_GuaranteedBy = "">
<CFSET CALLER.UPS_Error = ListGetAt(CFHTTP.FileContent, 2, "%")>
<CFSET CALLER.UPS_ErrorCode = ListGetAt(CFHTTP.FileContent, 3, "%")>
</CFIF>
<CFELSE>
<!--- Failed, display error message, and abort --->
<CFOUTPUT><H1>Error: #error_message#</H1></CFOUTPUT>
<CFABORT>
</CFIF> -
Cannot Find Screen Element LIKP-WADAT_IST in Replay Mode
Dear Sir/Madam,
I am getting "Cannot Find Screen Element LIKP-WADAT_IST in Replay Mode" while executing VL01N in chaning.It is running fine in the individual script. I have checked through the following:
1.ResetGUI = 'X' are set in all the scripts.
2.All the session id & connection id in all the scripts are same.
*******************Create Return Sales Order********************************
REF ( SCRIPT1, SCRIPT1_1 ).
*Pass the local variable to Import variable
Z_IC_LIKP_VSTEL = Z_VC_SHIPPING_POINT.
Z_IC_LV50C_DATBI_1 = Z_VC_SCHEDULE_DATE_1.
Z_IC_LV50C_VBELN = Z_VC_VBAK_VBELN.
****************Create Inbound Delivery Order******************************
REF ( SCRIPT2, SCRIPT2_1 ).
************Change RETURN status to OWN stock***********************
REF ( SCRIPT3, SCRIPT3_1 ).
*Pass the local variable to Import variable
Z_IC_VBAK_VBELN = Z_VC_VBAK_VBELN.
*********Indicate "Customer Replacement" in reject reason***************
REF ( SCRIPT4, SCRIPT4_1 ).
*Pass the local variable to Import variable
Z_IC_LV45C_VBELN = Z_VC_VBAK_VBELN.
**********Indicate "Customer Replacement" in reject reason******************
REF ( SCRIPT5, SCRIPT5_1 ).
*Pass the local variable to Import variable
Z_IC_LIKP_VSTEL = Z_VC_SHIPPING_POINT.
Z_IC_LV50C_DATBI = Z_VC_SCHEDULE_DATE_1.
Z_IC_LV50C_VBELN = Z_VC_VBAK_VBELN.
<b>
<u><b>Encounter error at the last screen here</b></u>
***********Indicate "Customer Replacement" in reject reason******************
REF ( Z_CREATE_DELIVERY_NOTE , Z_CREATE_DELIVERY_NOTE_1 ).Hello Srinivas,
Once the value is retrieved into the variable , based on whether you need collapse or not you can put ur SAPGUI recording inside the loop and continue ur operation.
eg:
say currently its collapse and u need collapse to carryout ur process
IF ( RC = "COLLAPSE HEADER CTRL+F5" ).
your process (SAPGUI recording)
ELSE (if its expanded and u need collapse)
call the script to collapse or you can record to collapse and the continue your process
ENDIF.
Hope this answers your question , let me know if not.
Thanks & Best regards,
Ajay -
VA01 - Sales Order - Cannot select Material relevant to Customer
Hi Gurus,
I tried to create a sales order VA01. I have put a SP and when I try to select his matching material, the system cannot find it when pressing F4 into the item field.
However, both customer and material have been created for:
- Same Sales Area
- The pricing procedure RVAA01 has been maintained in the Customer MD + at Sales Area Level
- The pricing condition PR00 is maintained at: Customer/ Material level
Can anyone help me find where the problem can come from.
Thank you.
ChrisHi guys,
Thanks for your support so far. The system tells me this:
No Item category available (Table 184 ZAM NORM)
ZAM is a Z- sales document which is a direct copy from OR a sales order.
Regards
Chris -
Please help. Cannot find symbol Error!
I have been working on this code for days now. It keeps coming up with errors. The error says cannot find symbol. I will bold the areas that say that. I got it down to 23 from 42 but now I have no idea what the problem is. any help is greatly appreciated!! I only added a couple of them mainly because it is overwhelming. I can add the rest of someone replies. Thank you again. Oh and the Classpath is set right. I am compiling from the desktop where I have the file also. That was the first thing I checked after reading other threads related to this issue. :O)
import javax.swing.*;
import java.awt.event.*;
public class InventoryPart4 extends JFrame
private JTextArea text;
private Inventory inv;
private int view;
public InventoryPart4() {
super("Product");
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); // quit if the window is closed
view = 0; // current one showing
Product product;
inv = new Inventory(4);
product = new Product(1, "Salad", 3, 4.95); here
inv.add(product, 0);
product = new Product(2, "Dressing", 6, 3.00); here
inv.add(product, 1);
product = new Product(3, "Bacon Bits", 2, 1.75);*here*
inv.add(product, 2);
product = new Product(4, "Croutons", 1, 1.75); here
inv.add(product, 3);
// sort
inv.sort();
// output
for (int i = 0; i < 4; i++) {
System.out.println(inv.get(i));
// total val
System.out.printf("Total=$%.2f", inv.totalValue());
//gui
JPanel panel = new JPanel();
panel.setLayout(new BoxLayout(panel,BoxLayout.Y_AXIS));
text = new JTextArea(10,50);
text.setEditable(false);
panel.add(text);
showProduct();
JButton next = new JButton("Next");
here next.addProduct(new Product() {
public void actionPerformed(ActionEvent e) {
if (view < inv.size()-1) view++;
else view = 0;
showProduct();
panel.add(next);
getContentPane().add(panel);
// view an item
public void showProduct() {
text.setText("Product Details:\n");
text.append(inv.get(view).toString()+"\n");
text.append(String.format
("Value of all the Contents: $%.2f", inv.totalValue()));
public static void main(String args [])
InventoryPart4 invt = new InventoryPart4();
invt.pack();
invt.setVisible(true);
} //end main
} // end class InventoryPart1
class Product {
private int ProductItem;
private int ProductStock;
private double ProductPrice;
public Product(int item, int stock, double price) {
ProductItem = item;
ProductStock = stock;
ProductPrice = price;
} //end three-argument constructor
// set Product Item
public void setProductItem(int item) {
ProductItem = item; here
} //end method set Product Item
//return Product Item
public int getsProductItem() {
return productItem;
} //end method get product Item
//set Product Stock
public void setProductStock(int stock) {
productStock = stock;
} //end method set Product Stock
//return Product Stock
public int getProductStock() {
return productStock;
} //end method get Product Stock
public void setProductPrice(double price) {
productPrice = price;
} //end method setproductPrice
//return Product Price
public double getProductPrice() {
return ProductPrice;
} //end method get Product Price
//calculate inventory value
public double value() {
return productPrice * productStock;
}// end method get productPrice and productStock
@Override
public String toString() {
return String.format("item=%3d units=%d price=%.2f value=%.2f",
productItem, productStock, productPrice, value());
}//end class Product
class Inventory {
private Product[] list;
// constructor
public Inventory(int size) {
list = new Product[size];
// complete value
public double totalValue() {
double val = 0.0;
for (int i = 0; i < list.length; i++) {
val += list.value();
return val;
// add an item
public void add(Product i, int p) {
list[p] = i;
// get an item
public Product get(int i) {
return list[i];
// sort by name
public void sort() {
// bubble sort
int n = list.length;
for (int search = 1; search < n; search++) {
for (int i = 0; i < n-search; i++) {
if (list[i].getProductItem().compareToIgnoreCase(list[i+1].getProductItem()) > 0) {
// swap
Product temp = list[i];
list[i] = list[i+1];
list[i+1] = temp;
public int size() {
return list.length;
//extended class
class Contents extends Product {
private String Contents;
// constructor
public Contents(int item, String name, int units, double price) {
super(item,name,units, price);
this.contents = contents;
// getter
public String getContents() {
return Contents;
// total value with the 5% fee
public double value() {
return super.value()*1.05;
// just the 5% fee
public double fee() {
return super.value()*0.05;
// setter
public void setContents(String contents) {
this.contents = contents;
public String toString()
return super.toString() + String.format(" fee=%.2f contents=%-20s",
fee(), contents);The error says cannot find symbol.It says more than that. It says what symbol it cannot find, and it points to the line of code where the symbol was used.
product = new Product(1, "Salad", 3, 4.95); *here*So it can't find a class called Product with an accessible constructor Product(int, String, int, double).
product = new Product(2, "Dressing", 6, 3.00); *here*
inv.add(product, 1);
product = new Product(3, "Bacon Bits", 2, 1.75);*here*
inv.add(product, 2);
product = new Product(4, "Croutons", 1, 1.75); *here*
inv.add(product, 3);Ditto.
JButton next = new JButton("Next");
*here* next.addProduct(new Product() {JButton doesn't have an addProduct() method.
public Product(int item, int stock, double price) {This constructor doesn't match the constructor you are calling above, and there are no other constructors.
ProductItem = item; *here*You must have a typo. But don't use inital capitals on field names: use them only on class names.
return productItem;Here is evidence that you have a typo. Java is case-sensitive. Either the field is caled 'ProductItem' or it is called 'productItem', not both.
// bubble sortDo you have to do this for the homework? Bubble sort is never used in real code except by people who don't know what they're talking about. Use Collections.sort().
super(item,name,units, price);You should be getting a compile error here too. Ther is no such constructor for Product.
return Contents;And here. -
Hello,
I got this problem while trying to install "uswsusp" from AUR with yaourt, when it comes to compile :
gcc -DS2RAM -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -static -o resume resume-resume.o libsuspend-common.a -llzo2 -lgcrypt -lgpg-error
/usr/bin/ld: cannot find -lgcrypt
But libgcrypt is already installed and the programs seems to find it :
checking for libgcrypt... found
I didn't managed to find anything across the web... Thanks in advance for any help !ankan has a solution in the AUR comments: http://aur.archlinux.org/packages.php?ID=14093
ankan wrote:
"-static" disables linkning with dynamic libraries. So you have the package - but not the static libraries.
Try rebuilding libgcrypt from abs and remove "--disable-static".
It looks like you guys are new users, so you might not know how ABS works yet. Take a look here for a quick walkthrough on ABS and makepkg. You'll need to edit libgcrypt's stock PKGBUILD file and take out "--disable-static" before you run makepkg.
Last edited by creslin (2008-10-15 23:09:05)
Maybe you are looking for
-
Error while creating Maintenance Plan
Hello, When I am creating a Maint Plan, I am getting error No packages have yet been assigned to the maintenance item 143 Message no. IP364 How do I solve this?? Narendra
-
what is the difference between iWeb and WebGallery in iphoto. I am getting ready to revamp my old mac website and don't want to mess it all up. Can I use them both together???
-
New Mac Pro keeps looking for a server that isn't there
So, I just got my new Mac Pro (Mountain Lion 10.8.2) the other day. I used MIgration Asssisant to transfer most files from my old Power Mac G5. Computers were connected thru a hub. Then I turned on file sharing on the old machine to get some other
-
Unable to open any folders after PRAM reset
I have been having problems with cursor jumping to bottom of page in Firefox. I read that I should try opening in Safe mode but issue persisted.I then reset my PRAM and now I am unable to open any foldersexcept my HD and that only sporadically. I che
-
Can't print from IndesignCS2 since upgrade to Leopard
Like it says in the title, since I got upgraded to Leopard, my Epson Stylus Photo 1400 printer won't print correctly from Indesign. If I set a job to print, the top 1" or so (on A4 pages) is cropped off, with a corresponding strip of white at the bot