VA02 Transaction VBAP & VBKD data sync
Dear Friends
VA02 Transaction, VBAP & VBKD data synchronization issue.
For printing invoice I am retrieving data from VBAP & VBKD For Example I have 18 Records in VBAP table the same time I have only 16 entries in VBKD table the field POSNR not matching with VBKD table. I am retrieving the field KDKG1 Customer Condition Group1. I could not see the relevant data for all line items. Only few of them are available.
Is there any other way to get the field KDKG1 having relationship for VBAP all line items.
Can anybody help me to solve the issue?
Ashok Vengidapathy
Hello,
I think you want add to Additonal Tab A - You just need to add to VA01 no need to add VA02. FYI there is no screen exit given by SAP There fore direct SAP screen modifiction is required here same many persons in this forum is discussed.
1) add what ever fields you want to add to screen in VBAP as include structure.
2) go se51 by taking access add what ever fields you have added in VBAP to screen.
3) that's it you dont need any programming unless if u need any validations on those fields.
let me know if you want any clarification.
***********Poorna************
Similar Messages
-
In VA02 transaction which exit is triggering when saving the data
hi all sap gurus,
In VA02 transaction which exit is triggering when saving the dataHi Reddy,
The <b>user exit</b> and badi tried for this transactions are
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
V46H0001 SD Customer functions for resource-related billing
V45W0001 SD Service Management: Forward Contract Data to Item
V45S0004 Effectivity type in sales order
V45S0003 MRP-relevance for incomplete configuration
V45S0001 Update sales document from configuration
V45P0001 SD customer function for cross-company code sales
V45L0001 SD component supplier processing (customer enhancements)
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45E0001 Update the purchase order from the sales order
V45A0004 Copy packing proposal
V45A0003 Collector for customer function modulpool MV45A
V45A0002 Predefine sold-to party in sales document
V45A0001 Determine alternative materials for product selection
SDTRM001 Reschedule schedule lines without a new ATP check
<b>Business Add-in</b>
BADI_SD_SCH_GETWAGFZ Scheduling Agreement: Read WAGFZ from S073
BADI_SD_V46H0001 SD Customer functions for resource-related billing
<b>Reward pts if found usefull :)</b>
Regards
Sathish -
Creating customer fields in VA01/Va02 transaction in additonal tab 2
hi,
I have to create Customer fields in the item level to va01 / va02 transaction in additional tab 2 subscreen.
Include MV45AFZZ is used for validation. help needed for adding customer fields. thanks in advance.The program SAPMV45A screen 8309 is the Additional Data B tab provided by SAP to add your custom fields . In order to capture the data from your custom fields you can use the user exit MV45AFZZ, USEREXIT_SAVE_DOCUMENT_PREPARE OR
USEREXIT_SAVE_DOCUMENT depening on your functionality.
You need to append the fields in VBAP. Then use the screen painter to add the fields in the screen.
Thanks
Vinod -
Screen Error while saving VA02 Transaction
Dear All,
Yesterday there was a sudden power failure in my company. Even UPS also got fail. Due to which some errors are coming in Production Server.
The error is coming in VA02 transaction while saving the transaction. The error is: "SAP SYSTEM MESSAGE - ERROr IN LOADING SCREEN: NO END LABEL".
Here is the below log from SM21 transaction.
Date : 31.10.2009
Time -Type-Nr-Clt-User-TCode-Priority-Grp-N-Text
18:54:00-DIA-000-554-ITDEPT--VA02-D0-1-ransaction Canceled 00 029 ( SAPLSPO2 0301 )
18:54:01-DIA-000-554-ITDEPT----
R4-7-Delete session 001 after error 024
So can you please explain, what I need to do to resolve the error. Although I have already activated the program SAPMV45A.
Regards,
VishalThis link describes similar circumstances.
Error Loading Screens - No End Label
No solution was found and OSS logging was suggested. -
Need help on designing downstream data sync with OLite
We are trying to build a disconnected desktop application for CRM Sales Application.
For Data Synchronization, we would like to use TRS (Transaction Replay Service) for upstream sync (data from client to enterprise server).
For downstream sync (data from enterprise server to client machine), we would like to see whether we can make use of OLite data sync feature.
The client side db schema will be different from the server side db schema.
We have a web version application built using ADF framework (a list of BC4J objects).
We are going to create the client side db schema based on the shape of Sales View Objects.
e.g. an OpportunityVO (view object) is join based on opportunityEO (table) and customerEO (table to get the customer name). In this case, we are going to have opportunity table at the client side that has all the opportunityVO's attributes defines as table columns.
Questions
1. Can we define a publication item based on a view object? And how ?
2. Can we define a publication item based on a db view (at the server side) that
synch with a db table ( at the client side) ? If so, where do we set the mapping?
3. During the compose phase, we would like to call bc4j object’s api to collect the
data content for client to download, is it possible ? if so, how to do this?
(We would like to use the oLite feature to identify changed records, but we do
want to use bc4j object api to get the data content for client to download.)
ThanksI haven't given your description of the project and approach a lot of thought yet, but I did see your questions and thought I might point out some help there:
1) Yes, you can define publication items on Views. Section 3.4.1.3.1 in the developer guide discusses this and the requirements of the view.
2) Yes, a publication item defines the base tables for your user. Section 3.4.1.3 in the developer guide is a full discussion on creating publication items programmatically.
Also, you might check into the Mobile Database Workbench for a GUI driven tool to define Publications and Publication Items.
3) I believe what you are looking for here is the MyCompose API. Section 3.6, Customize the compose phase using MyCompose, in the developer guide discusses this.
Gabe -
Data Sync between ORACLE and SQLServer
Hi,
I would like to here the possible options for "Bi-Directional Data Sync" between ORACLE 10g (Enterprise Edition Release 10.2.0.4.0) and SQL Server 7.0 (7.00 - 7.00.961 Standard Edition on Windows NT 5.0 ).
Please let me know the available tools or any other addons.
thanks and regards,
Suman.SAre you looking for transactional replication between Oracle and SQL Server? Take a look at Wisdomforce [DatabaseSync.|http://www.wisdomforce.com/products-DatabaseSync.html]
It can perform a [real-time change data capture|http://www.wisdomforce.com/products-DatabaseSync.html] of transactions from redo log files and apply them into Oracle or SQL Server -
Need to default payment terms with 'A000' in VA02 transaction.
Hi gurus,
In my requirement i need to default payment terms (VBKD-ZTERM) with 'A000' when the order types(VBAK-AUART) are 'ZBRE' and 'ZBC2' in VA02 transaction .
I found the user exit which is getting trigerred - ' exit_sapmv45a_004'.
But in that exit the tables which we are importing having neither payment terms nor order type.
So,can you please help me out .
Thanking you in advance.hi,
My requirement has been changed from va02 transaction to va01 .
Now, i need to default payment terms (VBKD-ZTERM) with 'A000' when the order types(VBAK-AUART) are 'ZBRE' and 'ZBC2' in VA01 transaction .
can anyone suggest how can we solve this..
Thanks in advance.
Regards,
Bhanu -
Hi,
One of our customers had the following query on SQL Data Sync
1. ALter database permission is required during setup of sync services and it switches ON the SNAPSHOT ISOLATION level on our on premise DB. what is the impact of it?
2. After setting up the SNAPSHOT ISOLATION LEVEL ON, it creates tracking tables, some SPs, and triggers and set read commited isolation level multiple times. Is there a way that these
objects will be created in some other DB and not on the main OLTP so that we can avoid cluttering the main DB with tracking tables, triggers, SPs ets?
3. As the SNAPSHOT isolation level is introduced in SQL 2005 onwards and is for maintaining row versions in TEMP DB. Does it mean switching it on at DB level, it's going to maintain the
row and transaction version for all DB objects in TEMP DB , irrespective of whether they are part of sync group or not?
Any pointers on this would be appreciated.
Cheers!Hi Harish,
For the knowledge about SNAPSHOT ISOLATION, please check the detail here:
http://msdn.microsoft.com/en-us/library/tcbchxcb(v=vs.110).aspx
For the objects created on the database, they cannot be created on other database since the objects need to visit the source database data.
Actually those objects are required by sync framework, you can find more details here:
http://msdn.microsoft.com/en-us/library/ee617382(v=sql.110).aspx
Regards,
Bowen -
Data sync between on-premise and azure database
HI, I am not able to setup data sync between my on-premise database and azure database. Following is the error I am getting after it ran for almost 36 hours...
Sync failed with the exception "GetStatus failed with exception:Sync worker failed, checked by GetStatus method. Failure details:An unexpected error occurred when applying batch file C:\Resources\directory\4c6dc848db5a4ae88265ee5aa1d44f40.NTierSyncServiceWorkerRole.LS1\DSS_7b1d73b4-d125-466f-94ab-eaa4553ea0ae\ed19f805-3d50-466a-96b3-861c4f22d8a4.batch.
See the inner exception for more details.Inner exception: Failed to execute the command 'UpdateCommand' for table 'dbo.Transactions'; the transaction was rolled back. Ensure that the command syntax is correct.Inner exception: SqlException Error Code: -2146232060
- SqlError Number:10054, Message: A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.) " For more information,
provide tracing ID ‘e6a1fad1-f995-4ffe-85db-0c6dc02423f1’ to customer support.Hi, sorry it has been a long time since your last post. Are you still using SQL Data Sync and hitting any issue which we could help with?
Linda -
User Exit for VA01 and VA02 transaction codes
Hi,
I am writing a userexit for PO number checking for VA01 and VA02 transaction codes.The PO number should be unique in the table (vbkd-bstkd).Duplicate PO number entries can be checked with Sold-to Party.If anybody written something like this....please advice me...
Thanks in advance.
fractalHi Fractel,
Why are you looking for a user exit to do this duplicate PO check?
This can be achieved through configuration of your sales order document type and message control. Follow the path below for configuration of the document type.
Implementation Guide for R/3 Customizing (IMG)
-->Sales and Distribution
-->Sales
-->Sales Documents
-->Sales Document Header
-->Define Sales Document Types
Once you execute this node, you will see all the available document types. Select the one you are interested in and click the details icon. In the subsequent screen, under "General Control" section, there is a field "Check purch.order no". Pick the value 'A' from the drop-down list.
Once you do this, system will check for duplicate PO numbers whenever you are creating or changing the sales order with that document type. If duplicate, it issues a message. -
Average response times for VA01 and VA02 transactions
Hi,
we have some users complaining about response times, more specific for VA01 and VA02 transactions. We would like to compare our average response times to those of other companies in order to get an idea of what is acceptable to most companies. If you are willing to contribute, can you please send a few hours of STAD data (only for VA01 and VA02 transactions) of an average working day? Perhaps you can download the data into a spreadsheet and mail the zipped file to my account Many thanks.
Best regards,
Guido Van LeuvenHi,
This is not the issue. We are investigating everything possible to improve our response times and we believe that that these are ok as well. We just want to build a case where we can prove that our response times are not worse than those at other companies and that we can do only by comparing those statistics.
Best regards,
Guido Van Leuven -
When I turn on itunes it starts to back up on step 2 and then just takes forever showing a candy cane bar thing.
Try here:
iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert -
How Do You Disable Genius Data Syncing to iOS Devices?
- I''m using iTunes 10.7, iPad 2 and iPhone 4 with iOS 6.1.3, mid-2010 iMac with 10.8.2.
- I have iTunes Match tuned OFF
- I back up to the computer, not iCloud
- On the iTunes Summary tab, I have the "Sync only with checked songs and videos" selected
- On the Music tab I have the main Genius Mixes checkbox unchecked, and no mixes under that item checked
- I have Genius turned ON in my main iTunes
Every time I Sync either the iPhone or the iPad, the last thing it does is sync Genius data to the iOS device. Since my main iTunes library is fairlt large (over 12,000 songs), my main library Genius data changes a lot of songs sometime a few thousand if I haven't started iTunes on for a while on the computer. The Genius data sync takes a long time, and sometimes can add 10 minutes or more to an iOS device sync.
I don't understand why it's even sending Genius data to the iPad or iPhone. There are are no Genius playlists on either the iPAd or the iPhone when I open iTunes on them and look at Playlists.
Thanks in advance for any helpI have this question too. Is there an answer to this? I don't use the Genius function and this "syncing Genius data" step takes many additional minutes on every sync. Any information or advice would be gratefully accepted. Thank you!
-
User Defined Transaction in Logical Data Service
Hi
I have few physical data services created from database store procedures. I've corresponding logical services for each of the physical data services.
Now I've created a logical data service that calls 2 store procedures & trying to update this 2 store procs in a single transaction.
Also I dont have a read operation in my logical data services. In this case both store proc. should take part in a single transaction & should commit or rollback as per success/failure.
I tried testing this scenario & it fails. ALDSP was able to update first store proc. but there was an error in second store proc. so it should have rollback the entire transaction.
Is there any way that we can have user defined transaction in logical data service?
My Scenario:
InsertData(RequestA,RequestB) as response
res1 := call First Store Proc (RequestA) ;
res2 := call Second Store Proc (RequestB);
response := res1 + res2
So my question was is it possible to define user transaction before making calls & have commit/rollback define around it.
Apprecaite for your help!
Thanks
PashI have assumed that you realize you need XA drivers for this. What is the exception you see? Something about "mixed outcome"?
But in the case of store procedure, we cant drag & drop physical ds into logical ds. Why?Since your stored procedure updates, it should be defined in the physical ds as a "procedure" not a "function" - it sounds like it is. (procedure means it will update, function means it will not - not that it is a "stored procedure"). Because it updates it cannot be called by an xquery function because xquery is by definition read-only. It can only be called directly from the client, or from another procedure (which is XQSE, not Xquery). If you created a logical ds with a "procedure" - you could drop your procedure into that.
created a new library procedure in which i am calling 2 physical ds assuming it will be executed in a single transaction. But it does not. Please verify.
But it does not. Please verify.I won't verify it because it is not correct. It should be treated as though it is one transaction. And barring the bugs with JNDI/data source names and multi-data sources, I do not know how how it would not be. So either there is a misunderstanding or a new bug.
Either way you need to open a case with customer support to resolve this. When you open your case, the more information you provide them with (i.e the smallest possible dataspace that will reproduce the problem along with DML to create the stored procedures and the tables that they use, and also any/all exceptions/stack traces and server logs).
- Mike
ps. there are no means to explicitly create a transaction in ODSI. -
How to handle the pop-ups in va02 transaction in Call Transaction Method
Hi Experts ,
I am trying to do bdc by call transaction method for va02 transaction but i am getting popups .
How can i handle the popups and for different sales orders i am getting different popups.
is there any way to handle the pop ups dynamically.
Thanks ain advance.hi,
when you are using BDC then you will have to handle all the popups. this is minus point in using bdc as you need to feed each and every single bit of information so that bdc works fine and if anything misses then your bdc program will get stuck in middle of processing.
best thing is check for function module or BAPIs available for those transactions. For VA02 there is a BAPI available ''BAPI_SALESORDER_CHANGE''. Try using this BAPI and if this BAPI doesnt handle the change you want to make in sales order then only go for BDC.
you can also check BAPIs available in 'BAPI' tcode.
hope this is helpful.
Regards,
Saba
Maybe you are looking for
-
Hi. I am having a strange problem with my SCCM 2012 R2 installation running on Windows Server 2008 R2. I am not able to add any new roles to the server. Event log reports: "Product: Application Web Service -- There is not enough available disk space
-
My ipod touch (3rd gen) screen doesnt work... The right side of the screen wont work i cant unlock it or do anything on it.. this all happened after i left it in my car after a cold night... the problem didnt start at first it started about a day lat
-
Clearing two documents with POSTING_INTERFACE_CLEARING
Hi, all I'm trying to use POSTING_INTERFACE_CLEARING function module to clearing two documents each other with additional cost. It's detail is like belows: 1st, 01(D) Customer A/R (100 EUR) 50(C) Sale (100 EUR) 2nd, 40(D) Bank Account (80 EUR)
-
Which headset/handsfree are made for iPhone certified?
Hi, I'm doing an application for iPhone that needs capture the button of bluetooth headset/handsfree. After read many links on the web, I noticed that for doing it, the headset/handsfree must be certified by made for iPhone program. So, anyone can te
-
I had to reinstall my hard-drive because it fried. When i re-installed iTues and synched up my iPod it eraed all of my previously downloaded music. How do I reacquire these tunes -- I had copied about 700 of my own songs from my CD's but also had abo