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
Vaithy
hi,
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)
Similar Messages
-
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 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 appreciatedHi,
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. -
How to add freight in sales order via DI ?
Hi,
Does anyone know how I can set the freight value when I try to create sales order via DI. I checked SDK help, there is fields like BaseAmountSC. But it is read-only in DI. And I also found there is a table called RDR3, it says it is about freight in sales order but how I can access it in DI? Any suggestion?
Thanks a lot !
LanHi Gordon,
Thanks for your reply. I think we have setup the code in SAP B1 because when I click the arrow button beside freight label in SAP B1, it will pop up a screen which I can type freight. But my question is how I can set the freight in DI? Which object in DI level refers to freight and how I can link this object to sales order document?
Thanks,
Lan -
How to disable auto charge of iPhone via PC?
How to disable auto charge of iPhone via PC?
I'm thinking you may have the concern of not overcharging or messing with charge cycles of your phone, but according to apple the Li-ion batteries in iDevices work this way for example
-Your phone has 50% battery left, you charge it
-after using again, you're back with 50 and charging it till full once again makes it 1 charge cycle
Doesn't work like nickel batteries.
Here's the article:
Www.apple.com/batteries for some
Battery care tips. -
HOW TO: Add /manipulate columns for a GridControl
HOW TO: Add /manipulate columns for a GridControl when the columns (attributes) are from different entity objects.
This HOWTO describes the basic steps of using attributes from different entity objects for a GridControl.
One way you can create a GridControl which contain attributes from different entity objects is to create a view object and base it on the entity objects which contain
the desired attributes.
Here are the basic steps:
1.Create a new view object (or use an existing view object) by selecting File>New from the menu, clicking the Business Components tab and double-clicking
on the View Object icon.
2.In the View Object wizard change the name to something meaningful.
3.Select the entity objects you will base your view object on.
4.Nivigate to the attribute screen and select the attributes you would like to include in your view object from each entity object. At this point you can also create
a new attribute by clicking the "New" button. The new attribute can be a concatenation of other attributes, derived from a calculation etc.
5.In the query panel of the View Object wizard, click "Expert mode" and enter a query statement. You write complex queries such as decoding a set of attribute
values.
6.Add your newly to your newly created view object to the application module by double-clicking on the application module in the navigation pane and selecting
your view object from the list.
7.Create a new row set.
8.Bind row set to a query by editing their queryinfo property and selecting your view object and its attributes from the queryInfo pane.
9.Create a GridControl and bind it to the row set by editing the dataItemName property of the GridControl. Since the GridControl is bound at the row set level
all of the related attributes are automatically added.
nullMichael,
Are you intending this as a commercial solution or a work around?
To take an existing equivalent, one would build a view in the database tailored for each grid in an Oracle Forms application. Or a separate query layered over tables for each form/grid in a Delphi or Access application? Even if it is ninety nine percent the same over half a dozen forms/grids?
And now you've added a whole slew of "slightly different" rowSetInfos to maintain.
So if you wanted to add a column that needs to appear everywhere... you've just increased the workload multi-fold?
That would be a management nightmare, wouldn't it? Not to mention yet more performance cost and a slower system?
Hmmmm..... I'm not sure I like where this is headed... someone needs to do some convincing...
null -
Hi All how to add new payscale for an employee in sap hr-abap,its urgent
Hi All ,
how to add new payscale for an employee in sap hr-abap,its urgent.
Message was edited by:
bharat kumar
Message was edited by:
bharat kumarHi
If that field which you wants to add is available in one of the structures like EKKO,EKPO then you can add that field just beside the other fields
If that field is not there in the any of the structures then you can define a variable using define command
/: DEFINE &VAR&
/ &VAR& = <some value>
or you can write subroutines to fetch the data from outside tables and can use those fields data in the script
<b>Reward points for useful Answers</b>
Regards
Anji -
How to add a border for Panel (jdk 1.1) ?
how to add a border for Panel (jdk 1.1) ?
Border's are a Swing feature, you will have to draw one by yourself (extend Panel and override paint()).
-
CLM How to add search-help for extension field(New Company Field) in MA.
Hi all,
Based on demand,I need to extend a new field(Company) in Master Agreement.
But I do not know how to add search-help for this field,just like User Accont page.
Anyone can help me ?thank you very muck.
Regards,
JackyChengHello Jacky,
To combine all the answers above and have a topic-based reply please go through the below steps:
#1. Inactivate the current extension field Company (I see it is actually a String value and this is not what you want to have)
#2. Go to Setup -> System Setup -> Extension Reference Types
Check if you already have a Company reference type
If not, create a new Extension Reference Type for Class Company. Fill in all required information.
#3. Create a new Extension Attribute
Select Data Type: Object Reference
Now you can add the Company type as reference
Regards,
Bogdan Toma -
How to add F1 help for a field on ALV grid
Hi All,
When we execute a program, the output is displayed using ALV grid.
on the ALV grid, if we press F1 on a field, it should popup the help document.
How to add F1 help for a field on ALV grid.
Thank you all in advance.fill field LVC_S_FCAT-ROLLNAME of your fieldcatalog in method SET_TABLE_FOR_FIRST_DISPLAY
A. -
How to add search help for standard field LIKP-TRAID
Hi friends,
How to add search help for standard field LIKP-TRAID ,
refer screen
Program Name SAPMV50A
Screen Number 2108
TrnsIDCode ( LIKP-TRAID ) ..
I need to add a search help, so that i can retrieve data from Ztable.
Thanks.
AbhiHi Abhi,
Try using any one option:
Create a Search Help in SE11.
Now Goto SE11 -> Enter Ztable -> Select that field -> Click Search Help and try to assign the created Search help to that field in your Ztable explicitly
OR
Create a Zdata element in SE11.
In Data Element, under Further Characteristics tab, enter Name Parameters of Search Help.
Assign this data element to that field in ur Ztable.
OR
Create a Zdomain and maintain a Value Table or Fixed Values for it.
Assign this domain to that field in ur Ztable. -
How to add a port for a IP cam in the airport extreme setting? thx!
I has buy a IP cam, but I don't know how to add a port for a IP cam in the airport extreme setting? (I can see the IP cam in local, but not the internet.) Many Thanks!
atwoodjordan, Welcome to the discussion area!
See Steve Newstrum's user tip "How do I use Port Mapping (Part I)". When it talks about giving your Mac a static IP address just substitute camera instead. -
How to add extra options for style of images in pages. iPad version has far more options than Mac version
Thank you, you made me go look again and I realised the ones I use on the iPad are under Borders not style and they are on Mac also. I feel a bit silly but I wouldn't have got there without your prompting. Do you mean by "create your own" using the borders and then saving as a style or can you create something that is not in either?
Thanks again -
How to add indian english for siri?
how to add indian english for siri... siri no use for indian user...
You cannot, it is something only Apple can do.
The phone merely listens to the commands, digitizes into some proprietary format and sends it to Apple's servers, who do the heavy lifting of interpreting what you want. So you can't hack the language into the phone. -
How much apple store charge for repair iphone5 screen in uk ?
Any idea how much Apple will charge for replacing a shattered iphone 5 front screen? I've had it less than a month and I don't have insurance.
or - is it possible to give Apple my phone in return for a discount on a new one - with apple refurbing my phone then selling it on?
ThanksApple do not repair but will replace with an equivalent model. UK cost is £186.44.
Maybe you are looking for
-
Iphone 5S IOS8 - quality of audio when taking video?
The biggest disappointment with the 5S was the TERRIBLY distorted audio when taking videos of live music or loud events. The 4S didn't feature the front mic and therefor sound was passing by perpendicular to the mic and it would not be as "hot" of a
-
Verizon is actually asking why I haven't upgraded!
I have been with Verizon for nearly 20 years, and currently have a family share plan; 4 phones (3 smartphones [2-unlimited data, 1-2GB data], + 1 feature phone). For years, I was practically a cheerleader for Verizon, due to their great cell service
-
How do I get rid of this annoying feature in Safari known as cover flow which appears as a balck void in bookmarks? the bookmarks manager is nowhere to be found and now I'm going to Google instead of Safari.
-
Support for SWF Verification in the reference implementation server
The Server for Protected Streaming provides a way to configure a whitelist of allowed SWF hashes. However, from what I can tell, the reference implementation server does not have this capability. Any suggestions on how to implement SWF Verification
-
Webservice got the error 'For input string: "NEW" '
Hallo Experts. Since 2 weeks I've tried to understand the whole stuff about CAF... And I meet so much problems und the part of problems I've solved... But some others I cannot.. So I post some questions on the forum... I've developed the application