How to add Freight Charges while creating PO
At the time of creation of Purchase Order, the custom duty and the freight
charges are not known.(Sometimes we know the freight charge)
But when the supplier submit the invoice both these
Custom duty and the freight charges are included, Now how do I go about
matching the invoice. Do I need to go and modify the PO for the difference
before I do the matching of PO with the invoice.
Any suggestions would be appreciated
Hi,
I think you need to enable a DFF at PO header to provide the fright charges, this could be the one solution for your requirement.
Regards,
Kevin.
Similar Messages
-
How to add image file while creating addon...pathsetup?
Hi friends,
i have a problem while creating addon.
while creating addon we can add all the files(.vb,xml).but if i add image files(.bmp,.jpg)they are not displayed in runtime.
--how to add image file while creating addon..?
we are useing SAP Business One 2005A(6.80.317)SP:01 PL:04Somebody knows like I can indicate to him to a button that I have in a form, that accedes to the image in the route where will settle addon? I have this, but it does not work to me
oButton.Image = IO.Directory.GetParent(Application.StartupPath).ToString & "\CFL.BMP" -
How to add shipping instructions while creating SO
Hi All,
I'm using the BAPI_SALESORDER_CREATEFROMDAT1 to create Sales Order.
I want to add shipping instructions while creating each orders.
How do I pass this information to the backend with this BAPI?
Thanks
ThrunaSomebody knows like I can indicate to him to a button that I have in a form, that accedes to the image in the route where will settle addon? I have this, but it does not work to me
oButton.Image = IO.Directory.GetParent(Application.StartupPath).ToString & "\CFL.BMP" -
How to add Trip reason while creating a Travel request
Hi,
I want to add Trip reason while creating a Travel request . I have not been able to maintain FTPT_REQ_HEAD through sm30. Urgent help requiredHi,
There is no customizable table for travel reason
FTPT_REQ_HEAD is not maintanable
This is standard SAP, and in field REQUEST_REASON you can enter the description that you want and system will allow you do that. The same thing with field " 1st destination"
You add any description and it will be recorded and available for next entries in TP04
Hope this answer to your question
Best regards
Tarek -
How to add Freight Charges to an invoice using DI API?
I need to be able to add Freight Charges to an invoice of suppliers using DI API. Please I need help....!!!
Hi,
1. Step: Open the Invoice using oDocument.GetByKey("[DocEntry]")
2. Step: Use the Lines in the BusinesObject (maybe copy them in an extra LinesObject for a better reading)
3. Step: Use the Add()-Method to add a new Line
4. Step: Fill the Line-Properties you want
a.E.
oInvoice.Lines.ItemCode = "FREIGHT"
oInvoice.Lines.ItemDescription = "Freight Charge"
oInvoice.Lines.Quantity = 1
oInvoice.Lines.Price = 10.0
oInvoice.Lines.UnitPrice = 10.0
Remember: The Item (ItemCode) you want to insert must be existing
5. Step: Update the main-Business-Object
a.E.
oInvoice.Update()
Hope that help´s
best regards
Jochen -
How to add Freight Charges for SO Via B1WS
I am using B1Ws for adding a new Sales Order.
I want to enter Freight Charges details also.
In DIAPI through expense code we can add but in b1ws what is the equivalent of that ?
Can anbody guide me ?
Thanks
Vaithyhi,
can someone take a look to see what I'm missing to update a document with freight add.
I am getting a document from an existing delivery and want to add a new freight line and cost to it.
Dim dl As New Delivery.DeliveryNotesService
Dim d As New DocumentParams
d.DocEntry = "1"
d.DocEntrySpecified = True
Dim msgHeader As New Delivery.MsgHeader
msgHeader.ServiceName = Delivery.MsgHeaderServiceName.DeliveryNotesService
msgHeader.ServiceNameSpecified = True
msgHeader.SessionID = sid
dl.MsgHeaderValue = msgHeader
Dim doc As Document = dl.GetByParams(d)
Dim ex As New DocumentDocumentAdditionalExpense
ex.LineNum = 0
ex.LineTotal = 10
ex.Remarks = "Shipping"
ex.BaseDocEntry = d.DocEntry
ex.BaseDocEntrySpecified = True
doc.DocumentAdditionalExpenses = ???
dl.Update(doc) -
How to add the Drawings while creating Inspection Plan
Dear all,
As we can attach the files in QM01 - Create Notofication thru "Choose an Object" .
In similiar way can "Choose an Object" object can be attached to Insp. plan or any other way to attach drawing.in case of inspection if want to see the the drawing during Result recording then
You can create a document in Cv01n & attach drawing document ........
then
1.use it in Inspection Method & attach inspection method in the inspection lot.
2.use it in PRT as document & attach it in inspection.
In case of notification DMS( document mgt system-CV01n) can be used & attached in Notificaton.
Regards
Sujit -
"How to pass classification characteristics while creating batch" ?
Hi,
I am using FM's BAPI_BATCH_CREATE/CHANGE while creating/changing batch I have to maintain classification data aswell.But in FM docu i saw as shown below
1.Create the classification of a batch in the background (object characteristics only)
2. If the batch is to be classified, you must specify a class in the BatchControlFields parameter. Only single classification is possible.
According to above statments I have passed class name in Batch Control Fields but I am unable to find " How to pass classification characteristics while creating batch". Please tell me how to pass classification characteristics in background?
Edited by: Vijay Babu Dudla on Dec 16, 2008 3:24 AMHi, You can update classification for a batch using the following code.
But first, you'll need to find out that the batch management is cross-plant or plant dependant.
If it is cross plant then plant(WERKS) is not part of the key to BAPI_OBJCL_CONCATENATEKEY.
CLEAR: objectkey, objectkeytable, objectkeytable[],
allocvaluesnumnew, allocvaluesnumnew[],
return.
objectkeytable-key_field = 'MATNR'.
objectkeytable-value_int = matnr.
APPEND objectkeytable.
objectkeytable-key_field = 'CHARG'.
objectkeytable-value_int = charg.
APPEND objectkeytable.
* Only if Batch management is Plant dependant
objectkeytable-key_field = 'WERKS'.
objectkeytable-value_int = werks.
APPEND objectkeytable.
CALL FUNCTION 'BAPI_OBJCL_CONCATENATEKEY'
EXPORTING
objecttable = objecttable
IMPORTING
objectkey_conc = objectkey
TABLES
objectkeytable = objectkeytable
return = return.
allocvaluesnumnew-charact = "characteristic name goes here".
allocvaluesnumnew-value_from ="characteristic value goes here".
APPEND allocvaluesnumnew.
allocvaluesnumnew-charact = "characteristic name goes here".
allocvaluesnumnew-value_from = "characteristic value goes here".
APPEND allocvaluesnumnew.
CALL FUNCTION 'BAPI_OBJCL_CHANGE'
EXPORTING
objectkey = objectkey
objecttable = 'MCHA' " MCH1 in case of cross-plant batch management
classnum = classnum " Classification class number, as used in MSC2N
classtype = classtype " Classification class type, as used in MSC2N
* STATUS = '1'
* STANDARDCLASS = STANDARDCLASS
* CHANGENUMBER = CHANGENUMBER
* KEYDATE = SY-DATUM
* NO_DEFAULT_VALUES = ' '
* IMPORTING
* CLASSIF_STATUS = CLASSIF_STATUS
TABLES
allocvaluesnumnew = allocvaluesnumnew
allocvaluescharnew = allocvaluescharnew
allocvaluescurrnew = allocvaluescurrnew
return = return
* Do not forget to commit, otherwise changes would not take effect.
commit work.
Regards,
Hashir Ahmed -
How to add multiple table when creating add on using b1de
Hi all,
Plz help me
How to add multiple table when creating add on using b1de.
ThanksHi dns_sap,
Can you explain a little better what you are trying to accomplish? Is it to create UserTables and UserFields in the database, when the addon runs the first time?
If so, you can use the following code
Add User Table
Try
Dim lRetCode As Long
Dim oUDT As SAPbobsCOM.UserTablesMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserTables)
oUDT.TableName = TableName
oUDT.TableDescription = TableDescription
oUDT.TableType = TableType
lRetCode = oUDT.Add
'// Check for error when adding the Table: if lRetCode = 0 the table was created; if lRetCode = -2035 the table already exisits
If lRetCode <> 0 Then
oApplication.MessageBox("Error: " & lRetCode.ToString & ", " & oCompany.GetLastErrorDescription)
End If
Catch ex As Exception
oApplication.MessageBox(oCompany.GetLastErrorDescription)
Finally
System.Runtime.InteropServices.Marshal.ReleaseComObject(oUDT)
oUDT = Nothing
lRetCode = Nothing
GC.Collect()
End Try
Add User Field
Try
Dim lRetCode As Long
Dim oUDF As SAPbobsCOM.UserFieldsMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
oUDF.TableName = TableName
oUDF.Name = FieldName
oUDF.Description = FieldDescription
oUDF.Type = FieldType
lRetCode = oUDF.Add
'// Check for error when adding the field: if lRetCode = 0 the field was created; if lRetCode = -2035, the field already exists
If lRetCode <> 0 Then
oApplication.MessageBox("Error: " & oCompany.GetLastErrorCode & ", " & oCompany.GetLastErrorDescription)
End If
Catch ex As Exception
oApplication.MessageBox(oCompany.GetLastErrorDescription)
Finally
System.Runtime.InteropServices.Marshal.ReleaseComObject(oUDF)
oUDF = Nothing
lRetCode = Nothing
GC.Collect()
End Try
Regards,
Vítor Vieira -
How to give network path while creating oracle directory.
I have created
CREATE OR REPLACE DIRECTORY TESTDIR AS '\\168.176.33.117\TESTDIR';
but through this path i m not able to create text file.
create or replace procedure WriteTest is
f utl_file.file_type;
s varchar2(200) := 'this is some info';
begin
f := utl_file.fopen('TEST2DIR','sample2.txt','W');
utl_file.put_line(f,s);
utl_file.fclose(f);
end WriteTest;
Help how to give network path while creating oracle directory.
--when i give local machine path then it will create at local machine where oracle is installed. but not able to create at other machine.
ZakirWell for starters your directory object is called TESTDIR and in your fopen statement you are referring to TEST2DIR.
On top of that I'm not sure oracle is happy to refer to network locations. I think you have to map it to a regular drive mapping (shared directory) type path. Can't say I've every tried to do it though. -
How to add ComboBox to dynamically created DataGridColumn ?
hai friends,
help me, How to add ComboBox to dynamically created DataGridColumnpublic function docfoldercurtainmanagerResult(event):void
if(event.result){
rightslistArray=event.result.RES2;
//Alert.show(event.fault.message);
<mx:DataGridColumn
headerText="Rights Level" minWidth="75" sortable="true" >
<mx:itemRenderer>
<fx:Component>
<mx:ComboBox dataProvider="{outerDocument.rightslistArray}" labelField="sec_rights_level" />
</fx:Component>
</mx:itemRenderer>
</mx:DataGridColumn> -
I have been charged while creating an Apple ID
Why i have been charged while creating an Apple ID on mac?
You have not been charged for creating an Apple ID. That does not incur any sort of fee. If you've just created an iTunes Store account and entered in a credit card, Apple as do most merchants puts a small credit hold on your card to confirm that it's valid. The hold will be released by your bank in a few days.
http://support.apple.com/kb/HT3702
Regards. -
How to control Doublicate Entry while creating GL Master
HI every one,
Can any one let me know, how to control Doublicate check while creating GL Master. And also for AR and AP if possible.
Thank you
SatishHello Satish,
You can implement the logic to control duplication of G/L Master records either in
a) Function Exit EXIT_SAPMF02H_001 available within the SMOD enhancement SAPMF02H
b) P/S BTE 00002310 (Master Record G/L Account: Save)
The logic would be to identify if G/L Accounts with same Short/Long Texts already exist in the Company Code.
Hope this resolves your problem. Please reward points.
With Regards
Vijay Gajavalli -
How to include Freight charges and unloading charges in Material price.
Hi All,
Can you pls. advice how we can include freight charges & unloading charges in Material price (MAP) when receive in system.
Current Situation :
We buy Switchgears from vendor, which transported with special vehicle arrangement from different service provider and gets unloaded at warehouse by another service provider. Currently business create seperate PO for Material vendor, Freight Vendor and for unloading service provider. But MAP is only updated with Material cost only. How can I include delivery cost and unloading cost in MAP thro standard SAP process.
Your solution will help business heaps.
Regards,Hi,
Create three condition types namely basic material price, freight charges & unloading charges.
For basic material price , you can copy PB00 and rename your basic material price condition type.Now freight charges & unloading charges condition type in M/06 , do not maintain condition category ( keep it blank ), so that it will added to inventory cost .For freight charges & unloading charges do not maintain account key & accrual key in Pricing procedure.
Cretae PO , now you will see all cost added to NET price in PO and you can for doing GR where all cost are inventoried as materisl cost.
Regards,
Biju K -
How to capture an error while creating a purchase requisition
Hello All,
I append 50 line items while creating a PR using BAPI_REQUISITION_CREATE and I get an error in RETURN.
So can I capture the line item which exactly has that error.
I mean to say how to figure out the line item with error, if the BAPI gives an error.
Please suggest.
Thanks & Regards,
Tarun GambhirI could not find TEST_RUN option in these bapis
Roundway will be
1. Use BAPI_REQUISTION_CREATE with single line item and create PR then take the requisiton number
2. Use ME_UPDATE_REQUISITION. and add line by line into same PR (Within loop)
BAPI_REQUISITION_CHANGE can only be possible to edit existing line and you cannot able to add new lines,
a®s
Edited by: a®s on Jul 29, 2009 11:13 AM
Maybe you are looking for
-
E-mail Alerts from Essbase Cubes
Hi, I have Essbase 7.1.3 windows server and We do lots of Cube processing through Batch Files. I would like to have an option to send email alerts to the business users once we are done with the processing. Say for example , I have a Deposits Essbase
-
I would like to ask my Form Fillers at the end if they'd like to fill out another form (for a new enrolment/entry).
-
I have geofences setup in Apple Store and Find My Friends apps I can't remove
I have geofences set in the Apple Store app and Find my Friends and I can't clear either one of them. Is there a way to do this??
-
How do I start Imac from scratch and the install my backup stuff anew
How do I start Imac 10.9.2 from scratch and the install my backup stuff anew
-
Force 2 decimal places with java.text.DecimalFormat
Hi all, I am trying to force 2 decimal places for sum of 2 doubles (please see my code below). According to the API javadoc this should always display 2 decimals, however at the moment if the second decimal is zero it gets chopped off:( Any ideas wha