SBO_SDK_UI_DI : Change fathercard in invoice. URGENT:)
I'm trying to change the fathercard property of a customer when a invoice is created (change consolidated business partner). The procedure goes like this :
1)A UDF contains the original fathercard property of the selected business partner. A second UDF contains a new fathercard value.
2)When the user press the create-button I set the Bubbleevent to false and change the fathercard-property. When this is done i set bubbleevent to true so that SBO continues to process the invoice.
3)When finished i want to updated the BP with the original fathercard.
This is no problem when I just use the DI to create an invoice manually. But when this should be done through SBO throug event-handling it doesn't work. I manage to change the property before the invoice is created. But I am not able to change it back.
The problem is that i can't find a property that states that the invoice is saved. I have tried to compare the invoice-number at start and at the end. Even if they differ and i change the fathercard-property back the journal entry that is made from the invoice doesn't post on the new consolidated BP.
I want to change this property before an invoice is created so that the jounalentry-voucher is set to the correct consolidated business partner.
Is there any way to do this? Is there a way to know that the invoice is created and finished?
I would appriciate any suggestions as soon as possible..
Leif Skaar
Biz-One AS
Norway
I think the SBO GUI reads the OCRD table when you enter the BP code. It presumably does not try to re-read it when you click the add button, therefore cannot see any changes you have made to the BP record.
You can see the same behaviour if you use simply the standard GUI without API code. Enter the order, open the BP window, change Father Card and save the BP, go back and add the order. It doesn't use the new fathercard.
I think you would have to try and force re-validation of the CardCode field to get it to work.
John.
Similar Messages
-
Report to see changes is HOLD Invoices
Hello,
My client uses transaction MIRO to enter all the invoice information and then press pushbutton HOLD.
Later he called transaction MIR6 to select Held Invoices, and If everything is all right POST the invoice.
Sometimes he applied changes in Hold Invoices before Posting. My question is..
¿Is there is a Report to see all changes that was applied is those Invoices?
I appreciate your help.
Hector.Hi,
if you click on information button in MIR7 transaction,
you will see that when you park an invoice document
The following updates are to take place:
- Log of document changes
but this does not happen for held documents.
It seems there is no log of document changes for held documents.
Best regards.
Edited by: Pablo Casamayor on Feb 22, 2010 8:04 AM -
SRM: "Purchase Order Change Approval " and "Invoice Approval"
Hi,
I would like to know the availability and details of the backend services for "Purchase Order Change Approval " and "Invoice Approval".
Any pointers ?
regards
SachinI want to know what are the Backend services exposed for the following processes :
Purchase Order Change Approval in MM
and Invoice Approval. -
Does SAP provide any transaction code for mass change of the invoice.
I want to change the value inputed in the reference key 1 of the customer line items already posted, there are 850 line items posted . i want to change the value in the Ref key1 field. Does any Trans Code for us to change as we have in gl, mass reversal etc.
Best Regards
RajeshHi,
i think the most simple solution is to program a bdc for transaction FB09 or fb02
-> use bdc-recoreder SHDB
A. -
Baseline date change after creation invoice list
When I create invoice document, the invoice date (vbrk-fkdat) is the end of the month and the invoice list date (VBRK-FKDAT_RL) is the next business day after the invoice date, the baseline date of the accounting document (bseg-zfbdt) is the document creation date and this is what I wanted.
However, when I start to create the invoice list, the baseline date on the accounting document (field bseg-ZFBDT) is changed to the invoice date. Does anyone know why and how to fix and where to look in the configuration to see how invoice list date (vbrk-fkdat_rl) is populated? It seems to me that the baseline date default back to the invoice list date when invoice list document is created. Thanks for your help.Hi
You need to check your payment terms. the baseline date is determined from the payment terms, which is assigned to the vendor. You can use OBB8 to see the config of payment terms.
Regards
Sanil Bhandari -
Possible to change vendor in invoice level
Is it possible to change vendor in invoice level if yes how
Hi,
Go to MIRO, in Details Tab change the Invoicing Party.
Or use partner function for that Vender and Document Type. It will direct flow from PO.
Regards,
Pardeep Malik -
Ship to address changed in already invoiced orders
Hello SAP Experts,
Is there a way to prevent customer (ship to) address change in already invoiced sales orders while changing ship to address in XD02?
Since the address pointing to ADRC table, everytime we make changes in XD02, it is reflecting in all SD documents new and old. My client has a unique requirement, they want to change the address in XD02, which should only change to new sales orders. They do not want to change the address in already invoiced sales orders.
Regards,
Sridhar DawadyDear Sridhar,
I try in my server ur problem.
First i checked Sales report one particular customer yesterday and today report their one name is there.
After that i changed same customer New Name after that i post one document.
and i checked sales report in that New name came for all document include old document also
So May be ur case also if u change address, i think new address will show.
U also first try in sandbox server.
Bcz i am not sure abt this.
Satya -
Blocking the change of Supplier Invoice Number on update using SP
Hi Mentors,
Just wondering if blocking the change of Supplier Invoice No. (OPCH.NumAtCard) is possible using SP_TransactionNotification?
I've been trying to make it work with the following code:
--Prevent Duplicate Supplier Ref. No. in AP Invoice
if @object_type = '18' and (@transaction_type in ('A' ,'U'))
begin
declare @RefNo as varchar (100)
declare @CardCode as varchar (100)
if (@object_type = '18')
begin
select @RefNo = NumAtCard, @CardCode = CardCode from OPCH T0 where docentry = @list_of_cols_Val_tab_del
begin
if (@RefNo is not null)
begin
if 1!= (select count (docentry) from OPCH where (NumatCard = @RefNo) and (cardcode = @CardCode))
begin
select @error = 10
select @error_message = 'Duplicate Supplier Reference Number!'
End
End
End
End
End
--Prevent Supplier Ref. No. in AP Invoice from being changed during update mode.
if @object_type = '18' and (@transaction_type = 'U')
begin
declare @DocEntry as int
if (@object_type = '18')
begin
select @RefNo = NumAtCard, @CardCode = CardCode , @DocEntry = DocEntry from OPCH T0 where DocEntry = @list_of_cols_Val_tab_del
begin
if (@RefNo != (select NumAtCard from OPCH where (CardCode = @CardCode) and (DocEntry = @DocEntry)))
begin
select @error = 10
select @error_message = 'Changing of Supplier Reference Number is not allowed!'
End
End
End
End
I'm not sure if this is really possible,and that I could be just beating the wind by trying.
Thanks in advance!
SeanTo avoid modifiing the vandor reference use this:
IF @Object_type = N'18' and @transaction_type = N'U'
BEGIN ---
declare @li int
declare @pref nvarchar(100)
set @li=
(select max(t.LogInstanc) from ADOC t
where t.ObjType=18 and t.DocEntry=@list_of_cols_val_tab_del)
set @pref=
(select isnull(t.NumAtCard,'') from ADOC t
where t.ObjType=18 and t.DocEntry=@list_of_cols_val_tab_del
and t.LogInstanc=@li-1)
If @pref !='' and @pref !=
(select isnull(t.NumAtCard,'') from OPCH t
where t.DocEntry=@list_of_cols_val_tab_del)
Select @error = 10, @error_message = N'Changing of Supplier Reference Number is not allowed!'
END
--- To avoid using duplicated reference try this:
if @object_type = '18' and @transaction_type in (N'A', N'U') -- AP invoice
BEGIN ----
declare @Invoice AS VARCHAR(15)
declare @Card AS VarChar (20)
SELECT @invoice = NumatCard, @card = CardCode FROM dbo.OPCH
WHERE DocEntry = @list_of_cols_val_tab_del
If exists (SELECT T0.cardcode, T0.NumatCard FROM OPCH T0 where T0.NumatCard = @invoice
and T0.CardCode=@card and T0.DocEntry!=@list_of_cols_val_tab_del)
Select error = 10, @error_message = N'Duplicate Supplier Reference Number!'
END ---- -
In transaction Fv60 can we change transaction type(invoice/ credit memo)
Hi Experts,
Can you help?
In transaction Fv60 , while editing a park documentcan can we change transaction type(invoice/ credit memo) . I mean can we change the status of document from credit memo to invoice?
ThanksHi Sumit,
Certainly, we can change the transaction type in fv60. Yes we can change the status of the document.
Regards,
Srinivas Muthyala -
Can't see Change Log in Invoice
How can I see changes done in invoice?
I can see in order thru environment - changes. but in billing, its not active.
I guess this should be standard.....right?HI
GO TO
SE16 AND PROCEED WITH THE FOLLOWING TABLES
VBRK or VBRP
REGARDS -
Changing frequency of invoice generation program
Hello There,
I'm an SAP FICO Consultant with limited ABAP Programming skills
Supporting an Oil & Gas downstream company
During project phase, the system was configured such that a program runs every 6 hours to generate customer invoice. The customer and revenue GL accounts are posted into after goods are issued.
We are receiving customer complaints on delays with invoicing and need to urgently change the frequency of the invoice generation program.
How can i display the program? and change the frequency of the program run?
Please can you give transactions for viewing programs?
Can you also guide on steps to change the interval for program run? We need the program to run more frequently, every 1 hour. How can i effect change?
Any assistance will be appreciated.
Many thanksHello Susan,
Thanks so much for your response, it triggered the right thought in my head and I have been able to resolve the issue.
Many Thanks -
Configuration change from MM invoice receipt to MM goods receipt
Dear sapient
At present i have configured
Spro-
Public Sector Management-Funds Management Government-Actual and Commitment Update/Integration-General Settings-Make Other Settings
MM invoice receipt
Now as per our client requirement i have to change the configuration from MM invoice receipt to MM goods receipt.
will it create any problem if i will configure and move it to production client.
Presently budget control available during the time of PR,PO & MIRO now as per client budget control should be on PR,PO & MIGO not in MIRO.
ECC EHP6 version
Using BCS & Payment budget.
Thanks & regards
SorajHi,
My question was whether you follow your budget up to payment itself, i.e. is it important for you to know budgetary-wise if the invoice was paid. In FM these values will be registered with '57' value type. If the answer is positive, then you cannot base your FM update only on GR: it has to be IR or IR/GR. Otherwise, you can base your FM update on GR.
Your second point is not clear: what do you mean by making 'payment to commitment budget'?
Regards,
Eli -
How to change Pre-Payment invoice status (without applying)
Hi,
I have a paid pre-payment invoice. But i don't need to create standard invoice for it now.
How do i change the Pre-Payment invoice status (without applying)? ......i.e. it should not be able to apply against any standard invoice.
eg. maybe change status to 'Fully Applied'
ThanksClosed due to non-response.
-
Problem in Invoice correction Req. (supplimentary invoice) - urgent
Dear friends,
When i create invoice request (RK), I am getting two line item in order. One is related to G2N item category and another one is L2N item category. G2N is showing -value and L2n is showing +value.
Here my query is, I had invoice request plant wise, ex. Plant A had zrk and plant B had zrs order types. In plant A order have both the item categories G2n and L2N are + values and Plant B have G2N is u2013 value and L2N is +value.
Please guide me gurus, what is functionality of G2N and L2N item categories, if G2N is + value what is the impact on sales and customer balance.
Please tell step by steps itu2019s very urgent for me.
Advanced thanks
Regards
Es.Then no need to go for g2n item category or something else.........
Supplementary Invoice Process
Copy the document type BV, Item cat BVN please take schedule line cat CT which implicates not relevant for picking.
Process is
Create Sales Order - Delivery (Not picking any Qty) do PGI - Create Delivery related Billing.......
If u find any difficulty please lemme know so that i can guide u better.
Jay -
Excise duties can be changed in AP Invoice after raising excise invoice
After raising a GRPO and then Excise invoice, we should not be allowed to change the excise amounts in AP Invoice. Otherwise, this will lead to discrepancies in the accounts. Is there any way to restrict user to update these values. Not just the user, the system also updates these values when I change the unit rate (my excise is already calculated on the assessable value in the excise document)
Hi
If u dont want to change the Unit Price or Rate in Invocie then Restrict the Authorisation for the end user to change the price, this u can easily achieve by Untick the Filed of Unit price in Formsettings and make authorisation to that user - "No Authorisation to Formsettings"
or U can Use SPtransactionNotification to valide ur process, so it will not allow to change the price..
Giri
Maybe you are looking for
-
What is the SMALLEST SGA for 10g you can have on Windows OS?
Hi all, We are setting up a server that will be used for some DBA classes. Each student will get their own database instance to play with. For this reason, we want to try and create the SGA's with the SMALLEST possible amount of memory, so that we ca
-
Hotfix available now for Creator 2 and Creator 2 Update 1
Have you accessed the AutoUpdate Center lately? Check out the latest hotfixes for both Java Studio Creator 2 and Update 1. Open the IDE, connect to the Internet and visit the Update Center to download the available modules. For Update Center instruct
-
[ANN] JSF/Spring integration solution
We developed a solution for integrating JSF with the Spring framework (http://www.springframework.org/), a well-designed, extensible and easy-to-use Java framework built around an Inversion of Control container (see http://martinfowler.com/articles/i
-
Why don't I see the DAD I created
Hi, I created a DAD as below in a oracle 11gR2 SE on Windows 2008 box, BEGIN DBMS_EPG.create_dad ( dad_name => 'xml_demo', path => '\xml_demo\*'); END; And when I do a http://localhost:8080 on the server itself, I see a page with, Index of / Name hom
-
New User Faces Gnarled Contacts
Service provider downloaded contacts in SIM card from Nokia N-70 to new i-Phone4s. Result is two and mostly incomplete set of numbers that scroll A-to-Z, followed by hash mark and more names and numbers downloaded from new MacBook Air. Is there a met