Document line with price zero in SBO 2007 A
Hi All
We have a DI API AddOn that occationally has to create a document line with the total price of zero.
In SBO 2005 A we just set SBODocument.Lines.Price = 0, but that doesn't work in SBO 2007 A.
In 2007A when we set SBODocument.Lines.Price = 0 it takes the price from the pricelist as though we had not entered a price at all. If we set SBODocument.Lines.Price to something else that zero it does correctly take the price we entered.
We have tried to set SBODocument.Lines.UnitPrice or SBODocument.Lines.LineTotal to zero in stead but it gives the same result.
Any help appriciated.
Rgds
Jesper Carstensen
Sorry, my mistake.
The solution WAS indeed to set SBODocument.Lines.UnitPrice = 0
Rgds
Jesper Carstensen
Similar Messages
-
SD Document flow with Leading zeros
Hi All,
We have issue with docuemnt flow, when we click document flow sales order or delivery or billing its showing leading zeros, My client don't want any leading zeros in docuemnt flow.
For example -
if i click on document flow its showing - 00500005 (SO ) 008000674 -Delivery - - Billing - 0090000012,
Can any other guide us what could be a issue with leading zeros or any config setting is missing.
Regards
Nishaddear friend,
it depends on how do you set up the number ranges
for example, run VN01 and look how your sales orders are numbered.
regards,
p.s. create a new number range without leading zeroes and test it
but i suggest you will not change the current settings , it is 'too late' , so tell your client it is standard -
Report for deliveries with price zero
Hello,
the client I'm currently working for is using pricing in deliveries and they would like to have a report that they can use to check which deliveries have price 0 to avoid creating the shipments for them.
They are currently finding the deliveries with price 0 when executing VF04 transaction (invoice creation) but at this moment the shipment is already created.
Do you know if SAP has a standard report for that?
Many thanks in advance for your help!!
JordiRCThanks Eric,
but building up a new report or making a change in an user_exit is out last option, that's why we are asking for a standard report. If there isn't one we will have no other chance....
Thanks again
JordiRC -
InvalidCastException with DI Company Object - SBO 2007 SP1 PL05
Hi, after updating to SBO 2007 SP1 PL05 i cannot start the AddOn, when it comes to the single Sign-On, i get the error message "InvalidCastException".
The code is as follows:
oCompany = new SAPbobsCOM.Company();
oCompany = (SAPbobsCOM.Company) SBO_Application.Company.GetDICompany();
Does anybody know the problem?Solved, after re-reinstalling DI API!
-
PO in held status with price zero
Hi Gurus,
Here is an interesting challenge and perhaps a learning curve for us , as in my project we are facing a strange issue with Automatic PO creation from SC !
The SC is created by choosing an item having product category , vendor , price and contract combination from MDM catalog and is fully approved. On approval the Automatic PO is created without going to Sourcing cockpit. (with the Sourcing setting).
But surprisingly the PO is with ZERO value and goes in held status !! On clicking the Check button , following is the error message which crops up :
Enter the price or set the 'Invoice Expected' indicator (Item 1)
The invoice expected indicator is already set as observed in the Item data -> Follow-on-documents tab of PO.
This behavior is happening only for the new company code configured with new currency both in R/3 and SRM system, however all other company codes are currently working fine with Automatic PO process. So what exactly is missing for this company code ?
And interestingly if the SC(without MDM) -> Sourcing cockpit -> PO process is carried out the PO is in Ordered status without any errors !
We are in ECC 6.0, SRM 5.0 and MDM Catalogue 5.5 environment.
Kindly give your suggestions , if any further questions please revert back.
Thanks and Regards,
Vikas MehtaHi,
1 )Please check for the P.O created from SC with MDM catalgog. The price will be zero in the catlaogue itself.
check the company code for the creator in PPOSA_BBP --attributes the company code is assigned (or) not
2) For the SC created without MDM is free text .you have created using"Describe requriement" ..It will go to the sourcing
cockpit because for this SC there is no souce and source has to be assigned . For this config settings to be done. This is
STD SRM functionality
Regards
G.Ganesh Kumar -
Update Document line with a new Item Code...
Hi.
This is all done using the DI Server.
I am updating a sales order with two lines - it looks like this:
ItemCode____Qty
651_________10
00028________5
I update line 2 so the sales order now looks like this to this:
651_________10
651__________8
All I pass in is the two values 651 and 10 (and a taxcode etc)
Now... if I take a look at the sales orders GL - before and after the update - It looks like this
(before)
ItemCode_____Qty______GL Account
651___________10_____ _SYS00000000235
00028__________5_____ _SYS00000000237
(after)
651___________10_____ _SYS00000000235
651____________8_____ _SYS00000000237
So it does not change the GL Account to fit the new Item... It looks like I need to find the GL Revenue Account for the new item myself. How do I find this?
Method or SQL is more than welcome...
Regards,
Allan C. E. RasmussenHi Allan,
your Stored Procedure is good for GLMethod = 'L' but if GLMethod of Item is 'W' or is 'C' your code is not good.
Case is "W"
SELECT RevenuesAc FROM OWHS Where WhsCode = @WhsCode
Case is "C"
SELECT OITB.RevenuesAc FROM OITM INNER JOIN OITB ON OITM.ItmsGrpCod = dbo.OITB.ItmsGrpCod Where OITM.ItemCode = @ItemCode
Regards,
Claudio -
The System permit add line with unit price in zeros
Hello ,
I need colaboratioin in this case, i create ar invoice or ap invoice and the system permit create with lines in zeros into the documents.
Since(As,Like) controlling that it could not create documents with lines in zeros, with whole bigger than zero but one of the lines with price zero
Thanks
Ma.CristinaHello Thanga,
Thanks for you help, but in this case the item if has cost, the field in blanck is Unit Price. , the option
Administration > System Initiallization > Comapny Details > Basic Initialization > Uncheck Allow Stock Release Without Item Cost
is disable. -
Service purchase order, with price 0.
Hi again,
I have tested to create or modify a purchase order using (BAPIs CREATE1 and CHANGE) using the FREE_ITEM flag, but it doesn't work. There is a SAP note that explain that is not possible.
Anybody know any way to uptade a service purchase order line with price 0,
Thanks
BR
Jorgehello,
please check with following code. this code works in SAP46C.
DATA: gs_ekpo TYPE ekpo.
DATA: gt_return TYPE TABLE OF bapiret2.
DATA: gs_return TYPE bapiret2.
DATA: gt_bapimepoitem TYPE TABLE OF bapimepoitem.
DATA: gt_bapimepoitemx TYPE TABLE OF bapimepoitemx.
DATA: gs_bapimepoitem TYPE bapimepoitem.
DATA: gs_bapimepoitemx TYPE bapimepoitemx.
parameters: P_EBELN like ekpo-ebeln.
parameters: P_EBELP like ekpo-ebelp.
CLEAR: gs_ekpo,
gs_return,
gt_return[],
gs_bapimepoitem,
gs_bapimepoitemx,
gt_bapimepoitem[],
gt_bapimepoitemx[].
SELECT SINGLE * FROM ekpo INTO gs_ekpo
WHERE
ebeln = p_ebeln AND
ebelp = p_ebelp.
IF sy-subrc = 0.
gs_bapimepoitem-po_item = gs_ekpo-ebelp.
gs_bapimepoitem-free_item = 'X'.
APPEND gs_bapimepoitem TO gt_bapimepoitem.
gs_bapimepoitemx-po_item = gs_ekpo-ebelp.
gs_bapimepoitemx-free_item = 'X'.
APPEND gs_bapimepoitemx TO gt_bapimepoitemx.
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
purchaseorder = gs_ekpo-ebeln
* POHEADER =
* POHEADERX =
* POADDRVENDOR =
* TESTRUN =
* MEMORY_UNCOMPLETE =
* MEMORY_COMPLETE =
* NO_MESSAGING =
* NO_MESSAGE_REQ =
* NO_AUTHORITY =
* NO_PRICE_FROM_PO =
* IMPORTING
* EXPHEADER =
TABLES
return = gt_return
poitem = gt_bapimepoitem
poitemx = gt_bapimepoitemx
* POADDRDELIVERY =
* POSCHEDULE =
* POSCHEDULEX =
* POACCOUNT =
* POACCOUNTPROFITSEGMENT =
* POACCOUNTX =
* POCONDHEADER =
* POCONDHEADERX =
* POCOND =
* POCONDX =
* POLIMITS =
* POCONTRACTLIMITS =
* POSERVICES =
* POSRVACCESSVALUES =
* POSERVICESTEXT =
* EXTENSIONIN =
* EXTENSIONOUT =
* POTEXTHEADER =
* POTEXTITEM =
* POPARTNER =
READ TABLE gt_return INTO gs_return WITH KEY type = 'E'.
IF sy-subrc EQ 0.
*- errors
WRITE:/ 'E', gs_ekpo-ebeln, gs_ekpo-ebelp, 'BAPI',
gs_return-message.
ELSE.
*- success
IF p_test IS INITIAL.
CLEAR: gs_return,
gt_return[].
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'
IMPORTING
return = gs_return.
If you have made a single test in SE37; the update doesnot work as it needs a exclusive <b>commit work</b>.
Hope this helps.
Best Regards, Murugesh AS -
The document contains no posting lines with value other than zero
Hi!
We are having problems posting a invoice in MIRO. When entering the PO number we receive the error message "The document contains no posting lines with value other than zero".
What could be the problem?
/AndersHi!
The GR_BASEDIV is set in the PO. The PO is replicated from SRM where this flag has been set for no reason. Only GR and IV are set and we have implemented a note 1155266 so that Confirmation-Related IV will not be set.
How come it is set anyway?
Sincerely
Anders -
A new schedule line with net price zero but custom duty non-zero value
Hello,
I have a special requiremnet in MM scheduling agreement, for a specific type of scheduling agreement, I am copying a schedule line to a new schedule line. The new schedule line should have all the pricing and duty values from the old schedule line, except the net price of the new schedule line should be zero.
I am able to make the net price zero in the new schedule line, but not able to copy the custom duty values from the old schedule line. Since my netprice is zero in the new line, it automatically set all other follwoing duty values also to zero.
Say example a scheduling agreement: A has two line:
Condition Type % Total Value
scheduline line 1 - with pricing values PB00 200 USD
Cond1 5 10 USD
Cond2 10 20 USD
230 USD
expectedd result i the new schedule line
scheduline line 2 - PB00 000 USD
Cond1 5 10 USD
Cond2 10 20 USD
30 USD
I am trying to overwrite the condition values using the FM RV_CONDITION_COPY, but I am not getting the desired result.
Please let me know if you have any solution to my requirement.
Best Regards,
Amarjit SinghHello Colleague;
In Standard the schedule lines cateogory CV is activated for 'Req./Assembly' and 'Availability'.
Please, make this adjust and re-test you process.
Regards
Ruy Castro -
I don't want to create Invoices with net price = zero
Hello,
I use VF04 ( prog. SDBILLDL ) to create the invoices,
how to not create the invoice with net price = zero ( it's not a bug)
User exit ? Badi ?
1) I can't anticipate if the created invoice will be set to 0 (complex price schema).
2) I want to execute VF04, for these invoices, to clean the VKDFS table.
3) I don't want to delete these invoices if they are set to 0 ( making some holes in the number ranges, forbiden in some countries)
Thx a lot !
Ramdane
NB : I have posted this question on "ABAP general" thread, it was a mistake
sorryHi,
Here are the existing exits .
J_3RSINV
SDVFX001 User exit header line in delivery to accounting
SDVFX002 User exit for A/R line in transfer to accounting
SDVFX003 User exit cash clearing in transfer to accounting
SDVFX004 User exit G/L line in transfer to accounting
SDVFX005 User exit reserves in transfer to accounting
SDVFX006 User exit tax line in transfer to accounting
SDVFX007 User exit: Billing plan during transfer to Accounting
SDVFX008 User exit: Processing of transfer structures SD-FI
SDVFX009 Billing doc. processing KIDONO (payment reference numbe
SDVFX010 User exit item table for the customer lines
SDVFX011 Userexit for the komkcv- and kompcv-structures
V05I0001 User exits for billing index
V05N0001 User Exits for Printing Billing Docs. using POR Procedu
V60A0001 Customer functions in the billing document
V60P0001 Data provision for additional fields for display in lis
V61A0001 Customer enhancement: Pricing
Check Badi like this for tcode VF04
1) Go to the transaction SE37 to find your function module.
2) Locate the function SXV_GET_CLIF_BY_NAME.
3) Put a breakpoint there.
4) Now open a new session.
5) Go to your transaction.
6) At that time, it will stop this function.
7) Double click on the function field EXIT_NAME.
8) That will give you name of the BADI that is provided in your transaction.
Rhea. -
F-90 TAX (Posting is only possible with a zero balance;correct document )
WHEN I AM POSITNG THE DOCUMENT THROUGH F-90 I AM GETTING THE FOLLOWING ERROR
ERROR:Posting is only possible with a zero balance; correct document
Message no. F5060
ACTUALY I HAVE SLECTED VENDOR 31 ASSET 70 WITH TAX CODE AFTER SIMULATING THE DOCUMENT
THE FOLLOWING ENTYR IS COMING BUT WITH GREEN ERROR AS I HAVE MENTIONED ABOVE
ENTRY VIEW AFTER SIMULATING IS AS FOLLOWS
PK BusA Acct INR Amount Tax amnt
001 31 0000700000 One time Vendor for 75,000.00-
002 70 0020001031 000040010498 0000 75,000.00 H1
Other line items 3,000.00
D 75,000.00 C 75,000.00 3,000.00 * 2 Line items
ACTUALLY I HAV SEELECTED CALCULATE TAXES ON NET AMOUNT IN FB00.AT THE TIME ENTRY IS POSTING AS FOLLOWS
31 VENDOR 75000
70 ASSET 72200
40 VAT 2800
BUT THE ABOVE ERNTRY IS WRONG
CORRECT ENTRY IS AS FOLLOWS
31 VENDOR 78000
70 ASSET 75000
40 VAT 3000
ACTUALY CALCUCULATION IS ON NET AMOUNTS.IS I DESELECT IN FB00 PROBLEM WIL SOLVE AND REFLECTING WITH GROSS AMOUNTS IN ASSET
BUT TAX IS NOT CALULATING IN CUSTOMER INVOICE
Regards
sumathi
Edited by: sumathi lakshmi on Jan 9, 2009 8:24 AMI HAVE BEEN TRYING THE SAME CAN ANYONE HELP AS I AM NEW TO THIS SYSTEM?
F5060
Posting is only possible with a zero balance; correct document?
I HAVE BEEN TRYING BOTH VENDAR AND CUSTOMER WITH INPUT TAX AND OUTPUT TAX BOTH ARE SAME ERROR. IS THERE ANYTHING IN SETTINGS I NEED TO RECTIFY? -
User name & password to log on SBO Integration that comes with SBO 2007
Hi
I have installed the SBO 2007 Demo product. It istall the the b1i. I'm trying to log onto the Control Center. A web page comes up with fields to add user name and password. In the older version it was B1iadmin, but it doesn't do anything after typing it. Doesn't go in or say incorrect password.
Any assistnace greatly appreciatedHi Louis,
I made the same mistake. In some part of a guide (don't have any document right now) says the user and password are the same of the database user.
HTH,
Ian -
I have a new computer with Windows 7 professional, Office 2007, Adobe XI. I have just created a word document and tried save it as a PDF but the PDF option doesn't appear in the drop down menu. Any ideas please? Thank you.
What is "Adobe XI" - Reader, or Acrobat?
But either way, 'Save as Adobe PDF' is a Word function, independent of what Adobe software you have installed. -
G/L Account Determination Document for SBO 2007
I would like to find a document (word, excel or pdf) that explains the G/L Account Determination and its accounts. In which documents inside SBO are those account used? I see more accounts used in SBO 2007 and use trial and error to see these but preferred a document. I have seen the empowerment session about account determination but do not explain each of the accounts. Any help ?
Sorry for attaching wrong thread .
Please refer to the following information
g/l Account Determination ---> purchase ---> Expense Account
Define an expense account to be used as the default when a transaction of domestic purchasing is posted, for example, an A/P invoice. The system also selects this account as a default when you create new warehouses, item groups, and item master data records.
The expense account is applicable only when you use non-inventory items.
g/l Account Determination ---> purchase ---> Purchase Credit Account
Define an expense account to be used as default when a credit transaction for purchasing is created, for example, an A/P credit memo.
This account defaults for new warehouses, item groups and item master data records creation.
The purchase credit account can be the same as the Expense Account, in case you do not wish to record credits to a separate account.
Setup g/l Account Determination ---> inventory ---> Expense Clearing Account
Define an offsetting G/L account to clear journal entries created by A/P invoices and goods receipt POs. This G/L account is used in journal entries when the Allocation account is also involved.
Setup g/l Account Determination ---> inventory ---> Goods clearing Account
When you close goods receipt POs or goods returns, this account is used as an offsetting account to the Allocation account. In this case, the system does not register an inventory transaction; however, it creates a journal entry involving this G/L account.
Clearing account: An account to which postings are recorded temporarily because of a time gap between accounting transactions, organizational task distribution, or accounting transactions requiring clarifications.
No matter what kinds of clearing accounts, they will be temparary accounts per se.
Link for Archive Sessions:
http://service.sap.com/~sapidb/011000358700000131752007E/ExpertSessions.htm
And more information ,you can take a look at help file by hitting F1key
Hope this helps.
Bishal
Maybe you are looking for
-
Why do i keep getting an Alert message saying "The URL is not valid and cannot be loaded "?
Why do i keep getting an Alert message saying "The URL is not valid and cannot be loaded "? This happens a lot regardless of the web page. I continually have to restart FF and it persists still
-
Oracle 8.1.7 installation problem on Window 2000 Professional
Hi everyone, I have a problem of intalling Oracle 8.1.7 on Window 2000 Professional. When I started to install Oracle 8.1.7 when I click install I get this error message "Jrew has caused error in Javai.dll" and restart the computer, I restarted again
-
OSB business service on jdev 11g generated db adapter
Is it still possible to generate the db-adapter in jdev and import the resources in osb and create a business service with jca transport based on this wsdl? the documentation is only describing how to it should work based on a 10.1.3 generated db ada
-
I'm having lots of problems at the moment watching movies on my Apple TV (home videos) it keeps dropping off after 5 / 10mins back to the main menu. I've tested the network and everything is working fine. everything was working fine over 1 week ago s
-
Katalogfehler - Und nun etwas ratlos
Grüßt euch, ich bin neu hier und ich bin ziemlich ratlos. Mr. Google und Co. haben keine richtige Lösung für mich finden können. Nun wende ich mich an dieses Forum und hoffe dass mir hier geholfen werden kann. (Ja, Forumsuche schon genutzt) Vorab, wa