Related to BEABILLDOCCRMB AND BUS_TRANS_MSG Bdocs
hi Experts,
i am new to CRM. please give your valuble suggestions on this problem.
i am having one billing order and i rejected the same billing order but cancellation invoice not generated.
in SMW01 Tcode BDoc is generated with BUS_TRANS_MSG type but BDoc is Not Generated with BEABILLDOCCRMB type.
so how can i solve this problem, please help me on this issue.
Hi,
The business transactions header data are stored in table CRMD_ORDERADM_H.
The CDB table only gets filled if you have activated the mobile bridge and data transfer to the CDB. (an Sbdoc is generated from the mBdoc)
You should only worry about the CDB tables if you are using mobile sales.
Cheers
Andrew
Similar Messages
-
BDoc: Related Data Type and Message Structure
Related Data Type and Message Structure are two attributes of a BDoc. Can anyone tell what they are used for?
Thanks in advance.
Regards,
Hui
BTW: Mush reward for good answers.A message type comprises a data type that describes the structure of a message. At the following points in SAP Exchange Infrastructure you can refer to the message to be exchanged at runtime by using the message type:
· More than one message interface can use the same message type. For example, an asynchronous outbound message interface and an asynchronous inbound message interface can reference the same message type because the request message does not need to be mapped.
· When defining a message mapping you can directly reference message types to map messages from an outbound interface to messages from a receiver interface.
For technical reasons, a data type is not sufficient to describe the instance of a message. In XML schema, data types are defined as abstract types that are not yet fixed to an element. You can only describe an instance of a message when you have specified a data type as an element type. Therefore, a message type defines the root element of a message.
A message type does not define the direction of the message exchange, in other words, whether it is a request or a response. In exceptional cases you can use the same message type for both the request and the response message. -
Table relations between vbrk and bkpf for Accounting Document Number
hello,
i am using 4 tables to get data into my programs.
vbrk,vbrp konv and bkpf.
i want to get belnr from bkpf.i found relation between vbrk and belnr.but in vbrk table belnr's value is initial.
can anybody tell me that how should i relate vbrk and bkpf or how to get Accounting Document Number(belnr) from bkpf for Billing Document(vbeln).
regards,
soniya s.hi,
chekc this. its working for me.
data : WA_AWKEY LIKE BKPF-AWKEY.
data : WA_BELNR LIKE BKPF-BELNR.
data : LENGTH TYPE I.
*BREAK MTABAP.
LENGTH = STRLEN( IT_VBRK-VBELN ).
if LENGTH = '10' .
MOVE it_vbrk-VBELN TO WA_AWKEY.
SELECT SINGLE BELNR FROM BKPF INTO WA_BELNR
WHERE AWKEY = WA_AWKEY
AND AWTYP = 'VBRK'
and blart = 'RV'.
it_final-acc_doc = WA_BELNR.
CLEAR WA_BELNR .
CLEAR WA_AWKEY .
else.
CONCATENATE '0' it_vbrk-vbeln INTO wa_awkey.
SELECT SINGLE BELNR FROM BKPF INTO WA_BELNR
WHERE AWKEY = WA_AWKEY
AND AWTYP = 'VBRK'
and blart = 'RV'.
it_final-acc_doc = WA_BELNR .
CLEAR WA_BELNR .
CLEAR WA_AWKEY.
endif. -
Table Relation with Payment and Invoice of Vendor
Hi all,
I have one question about Table Relation with Payment and Invoice of Vendor.
the scenario is.
2 Purchase Order number : 100000001/100000002
1 Invoice document number : 200000001 which include 2 Purchase Order.
1 Payment document number : 300000001
How should I found out table relation from Payment document number - Invoice document number - Purchase Order number. ?
I try to link the following table, but it does not work.
RBKP * Invoice Receipt
RSEG * Invoice Receipt document line item
BKPF * Accounting Document Header
BSEG * Accounting Document Segment
PAYR Payment Medium File
BSIK Accounting: Secondary Index for Vendors
BSAK Accounting: Secondary Index for Vendors (Cleared Items)
BSIS Accounting: Secondary Index for G/L Accounts (Open Items)
Does any one know about it ?
Regards
KY ChuangHi Venkatesh,
Thnx a lot for the reply. This has almost solved my problem, however there's one thing left. when I'm trying to take a print out after exporting the info into an excel sheet, the information really looks scattered, i.e., is there a way where we can go ahead and get the info in a rather unscattered manner.
I've tried to take a print directly without actually transferring the info into an excel sheet, then each of the vendor is printed in a separate page, which again they feel is a problem.
So, if you have an idea pls suggest.
Thnx again for the information.
regards
sandhya -
How to make relation between gl_je_lines and wip_transaction_accounts
I try to write script to make relation between GL and WIP, wip_transaction_accounts and mtl_material_transactions
1.
SELECT
(SELECT meaning
FROM mfg_lookups
WHERE lookup_type = 'WIP_TRANSACTION_TYPE'
AND lookup_code =
(SELECT TRANSACTION_TYPE
FROM wip_transactions
WHERE transaction_id = wta.transaction_id
) "Transaction Type" ,
gjb.NAME "Journal Batch Name" ,
gjh.NAME "Journal Name" ,
gjh.je_source "JE Source" ,
gjh.je_category "JE Category" ,
glp.period_num "GL Month" ,
glp.period_year "GL Year" ,
gjh.default_effective_date "GL Date" ,
NVL(gje.accounted_dr,0) -NVL( gje.accounted_cr,0) "GL Line Amount" ,
gje.description "GL Line Description" ,
(SELECT organization_code
FROM mtl_parameters
WHERE organization_id = wta.organization_id
) "ORG Name" ,
NULL "Vendor/Customer Name" ,
NULL "SO/PO Number" ,
NULL "Reference Number" ,
NULL "AP/AR Invoice Number" ,
NULL "Doc Sequence Value" ,
NULL "Invoice Type Lookup Code" ,
NULL "Check Number" ,
NULL "Line Type" ,
NULL "Category" ,
NVL (wta.base_transaction_value, 0) "Transaction Amt" ,
NULL "AR/PO Receipt Number" ,
NULL "Applied Invoice Number" ,
(SELECT a.segment1
FROM mtl_system_items_b a ,
wip_discrete_jobs b
WHERE a.inventory_item_id = b.primary_item_id
AND a.organization_id = b.organization_id
AND b.wip_entity_id = wta.wip_entity_id
AND b.organization_id = wta.organization_id
) "Item Name" ,
gcc.segment1 "Company" ,
gcc.segment2 "Department" ,
gcc.segment3 "Account" ,
(SELECT description
FROM fnd_flex_values_vl fnd
WHERE flex_value_set_id = 1009707
AND TO_CHAR (fnd.flex_value) = gcc.segment3
) "Account Description" ,
gcc.segment4 "Intercompany" ,
NULL "JE Category Description" ,
NULL "AP Invoice Line Description"
TRUNC (wta.transaction_date) "JE Creation/Inv Trans Date" ,
NULL "JE Created By" ,
NULL "Reversal Flag" ,
NULL "Reason Code" ,
NULL "Subinventory Name" ,
wta.primary_quantity "Quantity" ,
NVL (wta.base_transaction_value, 0) "Value" ,
gje.context ,
gje.attribute1 ,
gje.attribute2 ,
gje.attribute3 ,
gje.attribute4 ,
gje.attribute5 ,
DECODE(gjh.status,'P','Posted','U','Unposted','Error') "Post Status"
FROM gl_je_lines gje ,
gl_je_headers gjh ,
gl_je_batches gjb ,
wip_transaction_accounts wta ,
gl_code_combinations gcc ,
gl_periods glp
WHERE 1 =1
AND gje.je_header_id = gjh.je_header_id
AND gjh.je_batch_id = gjb.je_batch_id
AND UPPER (gjh.je_source) = 'INVENTORY'
AND gcc.code_combination_id = gje.code_combination_id
AND wta.reference_account = gje.code_combination_id
AND TRUNC(wta.transaction_date) BETWEEN glp.START_DATE AND glp.END_DATE
AND gje.reference_1 = wta.gl_batch_id
AND gje.gl_sl_link_table = 'WTA'
AND glp.period_name = gjh.period_name
AND glp.period_set_name = 'OVT_US_CAL'
==
2.
SELECT mtt.transaction_type_name "Transaction Type" ,to_char(mmt.transaction_date,'mm/dd/yyyy hh:mi:ss') as teas, mta.transaction_id,mta.organization_id, mmt.organization_id,
gjb.NAME "Journal Batch Name" ,
gjh.NAME "Journal Name" ,
gjh.je_source "JE Source" ,
gjh.je_category "JE Category" ,
glp.period_num "GL Month" ,
glp.period_year "GL Year" ,
gjh.default_effective_date "GL Date" ,
NVL(gje.accounted_dr,0) - NVL(gje.accounted_cr,0) "GL Line Amount" ,
gje.description "GL Line Description" ,
(SELECT organization_code
FROM mtl_parameters
WHERE organization_id = mta.organization_id
) "ORG Name" ,
NULL "Vendor/Customer Name" ,
NULL "SO/PO Number" ,
mmt.TRANSACTION_REFERENCE "Reference Number" ,
NULL "AP/AR Invoice Number" ,
NULL "Doc Sequence Value" ,
NULL "Invoice Type Lookup Code" ,
NULL "Check Number" ,
NULL "Line Type" ,
NULL "Category" ,
NVL (mta.base_transaction_value, 0) "Transaction Amt" ,
NULL "AR/PO Receipt Number" ,
NULL "Applied Invoice Number" ,
(SELECT segment1
FROM mtl_system_items_b
WHERE inventory_item_id = mmt.inventory_item_id
AND organization_id = mmt.organization_id
) "Item Name" ,
gcc.segment1 "Company" ,
gcc.segment2 "Department" ,
gcc.segment3 "Account" ,
(SELECT description
FROM fnd_flex_values_vl fnd
WHERE flex_value_set_id = 1009707
AND TO_CHAR (fnd.flex_value) = gcc.segment3
) "Account Description" ,
gcc.segment4 "Intercompany" ,
NULL "JE Category Description" ,
NULL "AP Invoice Line Description"
TRUNC (mta.transaction_date) "JE Creation/Inv Trans Date" ,
NULL "JE Created By" ,
NULL "Reversal Flag" ,
(SELECT MGD.SEGMENT1
FROM MTL_GENERIC_DISPOSITIONS MGD,
MTL_MATERIAL_TRANSACTIONS MMTT
WHERE MGD.DISPOSITION_ID = MMTT.TRANSACTION_SOURCE_ID
AND MMTT.TRANSACTION_SOURCE_TYPE_ID = 6
AND MGD.ORGANIZATION_ID = MMTT.ORGANIZATION_ID
AND MMTT.TRANSACTION_ID = MMT.TRANSACTION_ID
) "Reason Code" ,
mmt.SUBINVENTORY_CODE "Subinventory Name" ,
mta.primary_quantity "Quantity" ,
NVL (mta.base_transaction_value, 0) "Value" ,
gje.context ,
gje.attribute1 ,
gje.attribute2 ,
gje.attribute3 ,
gje.attribute4 ,
gje.attribute5 ,
DECODE(gjh.status,'P','Posted','U','Unposted','Error') "Post Status" -
FROM gl_je_lines gje ,
gl_je_headers gjh ,
gl_je_batches gjb ,
mtl_transaction_accounts mta ,
mtl_material_transactions mmt ,
mtl_transaction_types mtt ,
gl_code_combinations gcc ,
gl_periods glp
WHERE 1 =1
AND mta.transaction_id = mmt.transaction_id
AND gje.je_header_id = gjh.je_header_id
AND gjh.je_batch_id = gjb.je_batch_id
AND UPPER (gjh.je_source) = 'INVENTORY'
AND gcc.code_combination_id = gje.code_combination_id
AND mta.reference_account = gje.code_combination_id
AND TRUNC(mta.transaction_date) BETWEEN glp.START_DATE AND glp.END_DATE
and mta.request_id=mmt.request_id
and mta.inventory_item_id=mmt.inventory_item_id
AND gje.reference_1 = mta.gl_batch_id
AND gje.gl_sl_link_table = 'MTA'
AND mtt.transaction_type_id = mmt.transaction_type_id
AND glp.period_name = gjh.period_name
AND glp.period_set_name = 'OVT_US_CAL'
When gl_je_lines have multiple line this script on the same transaction_id it will get wrong information. By setup all wip_transaction_accounts.GL_SL_Lind_id and mtl_transaction_accounts.GL_SL_Lind_id is null
Anyone can help?Hello.
How are you reaching the inconsistencies ? Are you comparing report's results?
Octavio -
Database table/FM to find relation between plant and company code in SRM
Hi,
I have a requirement where I need to determine the relation between the plant and company code in SRM.
The plant and company code both belong to R/3. We are replicating the plant by using the report BBP_LOCATIONS_GET_ALL.
This plant is now available as a BP in SRM. But from which SRM table or using which SRM FM can I get the relation between this and the company code?
Thanks,
SrivatsanHi
<b>Check table BBP_LOCMAP. (Plants) - Manage Table Business Partner > System > Location
BBP_COMPCODE_FAV User-Specific Favorites for Permitted Company code.</b>
Hope this will help.
Please reward suitable points, incase it suits your requirements.
Regards
- Atul -
Examples related to XML and XSLT
Hello friends,
In relation to XML and XSLT
1. As I can transform an XML file using XSLT.
2. I view the XML file using XSLT
3. XSL and XSLT files are equal...?
Thanks for the supporthttp://docs.oracle.com/javaee/1.4/tutorial/doc/JAXPXSLT6.html
-
I am having issues related to storage and I believe this is causing my computer to slow down. "Other" files part is the major occupier(180 GB). I have done Omni disk and multiple other cleaning(iTunes-device, restart, etc), yet have not been able to empty any more space, nor to speed up my computer? Any suggestions? All your contributions are welcomed. Thanks. Mehmet Mazhar Celikoyar
Below is the result:
Hardware Information:
MacBook Pro (15-inch, Mid 2009)
MacBook Pro - model: MacBookPro5,3
1 3.06 GHz Intel Core 2 Duo CPU: 2 cores
4 GB RAM
Video Information:
NVIDIA GeForce 9400M - VRAM: 256 MB
NVIDIA GeForce 9600M GT - VRAM: 512 MB
Audio Plug-ins:
BluetoothAudioPlugIn: Version: 1.0
AirPlay: Version: 1.9
AppleAVBAudio: Version: 2.0.0
iSightAudio: Version: 7.7.3
Startup Items:
HP IO - Path: /Library/StartupItems/HP IO
System Software:
OS X 10.9 (13A603) - Uptime: 3 days 22:8:6
Disk Information:
ST9500420ASG disk0 : (500.11 GB)
EFI (disk0s1) <not mounted>: 209.7 MB
Macintosh HD (disk0s2) /: 499.25 GB (220.49 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
HL-DT-ST DVDRW GS23N
USB Information:
Apple Inc. Built-in iSight
Apple Internal Memory Card Reader
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Computer, Inc. IR Receiver
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
FireWire Information:
Thunderbolt Information:
Kernel Extensions:
com.rim.driver.BlackBerryUSBDriverInt (0.0.64)
com.livedrive.filesystems.livedrivefs (2.1.14)
Problem System Launch Daemons:
Problem System Launch Agents:
Launch Daemons:
[loaded] com.adobe.fpsaud.plist
[loaded] com.adobe.versioncueCS4.plist
[loaded] com.creativebe.MainMenuHelper.plist
[loaded] com.macpaw.CleanMyMac2.Agent.plist
[loaded] com.magican.castle.plist
[loaded] com.microsoft.office.licensing.helper.plist
[loaded] com.rim.BBDaemon.plist
[failed] com.zeobit.MacKeeper.plugin.AntiTheft.daemon.plist
Launch Agents:
[loaded] com.adobe.CS4ServiceManager.plist
[loaded] com.hp.messagecenter.launcher.plist
[loaded] com.hp.productresearch.plist
[loaded] com.rim.BBLaunchAgent.plist
User Launch Agents:
[loaded] com.adobe.ARM.[...].plist
[failed] com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist
[failed] com.macpaw.CleanMyMac2Helper.scheduledScan.plist
[failed] com.macpaw.CleanMyMac2Helper.trashWatcher.plist
[failed] com.UninstallerTool.plist
[failed] com.VolumeWatcherTool.plist
[failed] com.zeobit.MacKeeper.Helper.plist
User Login Items:
BlackBerry Device Manager
HP Scheduler
3rd Party Preference Panes:
Adobe Version Cue CS4
DC30 Xact Driver Panel
Flash Player
Flip4Mac WMV
Perian
Internet Plug-ins:
AdobePDFViewer.plugin
AdobePDFViewerNPAPI.plugin
Default Browser.plugin
Flash Player.plugin
FlashPlayer-10.6.plugin
Flip4Mac WMV Plugin.plugin
iPhotoPhotocast.plugin
JavaAppletPlugin.plugin
OfficeLiveBrowserPlugin.plugin
QuickTime Plugin.plugin
SharePointBrowserPlugin.plugin
Silverlight.plugin
User Internet Plug-ins:
OctoshapeWeb.plugin
Bad Fonts:
None
Time Machine:
Mobile backups: OFF
Auto backup: NO
Volumes being backed up:
Macintosh HD: Disk size: 499.25 GB Disk used: 278.75 GB
Destinations:
TOSHIBA EXT [Local] (Last used)
Total size: 2 TB
Total number of backups: 5
Oldest backup: 2013-10-24 23:21:31 +0000
Last backup: 2013-10-25 02:59:08 +0000
Size of backup disk: Excellent
Backup size 2 TB > (Disk size 499.25 GB X 3)
Top Processes by CPU:
3% WindowServer
1% EtreCheck
1% Microsoft PowerPoint
0% BBLaunchAgent
0% fontd
0% aosnotifyd
Top Processes by Memory:
168 MB Microsoft PowerPoint
123 MB Safari
86 MB Mail
74 MB WindowServer
45 MB com.apple.WebKit.Networking
45 MB com.apple.WebKit.WebContent
41 MB Finder
41 MB PluginProcess
41 MB mds_stores
33 MB Notes
Virtual Memory Statistics:
72 MB Free RAM
1.27 GB Active RAM
1.24 GB Inactive RAM
667 MB Wired RAM
2.58 GB Page-ins
111 MB Page-outs -
Relation between Rollup and compression.
Hi All,
Is there a relation between rollup and compression ? i.e if i compress the cube, will the rollup job be faster ?Hi,
Thanks for all your replies. Now the picture is crystal clear.
1. A compression job moves data from F table to E table. This is also applicable for aggregates. If you schedule a compression job for a cube, the aggregates are automatically compressed( You can also compress aggregates of a cube without compressing the cube. There are programs avalibale for the same).
2. Assume that you have not done compression . If you load the data to base cube ,it takes more time to create the indexes after loading.
3) Assume that you have done compression . If you load the data to base cube ,it takes less time than 2 point to create the indexes after loading.
On similar lines, if aggregates of a cube are compressed before rollup, then rollup will be faster. This is what exactly I have experienced. I had a cube which had 1000 request. It was never compressed. The rollup job for the cube used to take around 60,000 seconds. I compressed 900 requests. Now the rollup job gets over in 2400 seconds.So the conclusion is the following:
<b>When aggregates of a cube are compressed, the rollup job runs faster.</b>
Message was edited by: Tej Trivedi -
Table that gives the relation between plant and company code
Hi gurus,
I actually have plant number and using this plant value i need to get the company code.
Is there any table that gives the relation between plant and company code. So,that i can get the company code details.
Thanks in advance.Hi Bhanuphani,
Use T001K where BWKEY is the plant
Reward if useful
Thanks Arjun -
Is any relation between customerNo and Plant in R/3
hi,
<b>in bapi_salesorder_cretefromdat2 i can get netprice by giving import parameters like customerNo,salesArea,material, etc.......That means customer should be assinged to a plant(one sales area can have many plants( material price can vary from plant to plant) .pls give me clear picture on how net price is calculated in bapi_salesorder_createfromdat2</b>.
regards
GuruThere is a relation between customer and plant in the KNA1 General Data in Customer Master table.
kna1-kunnr
kna1-werks.
Kindly reward the points -
Resource Related Billing: Time and Material Scenario
Can we use internal resource time through CATS for Resource Related Billing: Time and Material Scenario instead of external time of resources through service entry sheet
Yes you can
Please read sap help for more details -
Is There any Relation Between PCD and SSO
Hi,
Is there any relation between PCD and SSO, why because if i am try to connect from portal to R/3 in the user mapping i got one error i.e some pcd error.
pls tell me how to rectify that.
Regards,
Jagadish Babu Kanikanti.Hi Jagadish
The PCD is only a central persistance for storing Portal objects. There is no such relation between PCD and SSO that could create a problem. You can however check for the PCD error in this manner.
1. In the system administration role, choose System Administration -> Support. The Support Desk appears.
2. Select the area Portal Content Directory.
3. Click on PCD Configuration in the test and configuration tools. The next screen shows all the parameter values currently maintained for the PCD.
4. To reload the configuration, choose Reload.
Hope that helped.
Best Regards
Priya -
Can any one explain me the relation between BDC and reports events?
hi experts.....
can any one explain me the relation between BDC and reports events? we are using report events in BDC programmes why?\
Is reports events occurs in each and every concept in ABAP i.e creating custom idocs, smart forms, sap scripts, dialog programmes, module pool technics?
thanks in advanceThe forums are expert forums. So the first thing I would do is change your name.
It's like entering a grand prix in a car with a "Student Driver" sign.
Rob -
BW related HR cubes and reports
Hi any one explain me abt the bw related Hr cubes and reports.
If possible please give me example of cubes and reports.
Thanks
MadhaviDear Madhavi,
for HR you have several sub modules are there.. under HR which you want..
here i'm giving;
1. Personnel Administration--- cubes are 1. 0PA_C01
2. 0PAPA_C02
Queries are 0PA_C01_Q001
0PA_C01_Q012
0PA_C01_Q021
0PA_C01_Q011
0PA_C01_Q006
0PA_C01_Q020
0PA_C01_Q019
0PA_C01_Q024
0PA_C01_Q013
0PA_C01_Q015
0PA_C01_Q014
0PA_C01_Q016
0PA_C01_Q002
0PA_C01_Q003
0PA_C01_Q010
0PA_C01_Q022
0PA_C01_Q005
0PA_C01_Q017
0PA_C01_Q007
0PA_C01_Q009
0PA_C01_Q023
0PA_C01_Q018
0PA_C01_Q0101
0PA_C01_Q0102
0PA_C01_Q0103
0PA_C01_Q0104
0PA_C01_Q0110
0PA_C01_Q0111
0PA_C01_Q0112
0PA_C01_Q0113
2. for Recruitment .. -
CUBEs are only one---0PARC_C01
Queries are -- 0PARC_C01_Q002
0PARC_C01_Q008
0PARC_C01_Q016
0PARC_C01_Q006
0PARC_C01_Q003
0PARC_C01_Q015
0PARC_C01_Q007
0PARC_C01_Q017
0PARC_C01_Q004
0PARC_C01_Q005
0PARC_C01_Q009
0PARC_C01_Q001
0PARC_C01_Q010
0PARC_C01_Q011
0PARC_C01_Q012
0PARC_C01_Q013
0PARC_C01_Q014
like this there are several modules are there.. i think it is usefull for you..
thnaks
@jay
Maybe you are looking for
-
Multiple chart items in a web template
we have a few web templates created that have 2 pie charts. Each pie chart references a different Data Provider. If I right click on top of a single chart I can export to a .PDF but it only sends the object that I right-clicked on. Is there a standar
-
Adding an attachment unsuccessfulw with yahoo email
When trying to add an attachment using Firefox with yahoo email, it usually is unsuccessful. It works successfully with IE. The file browse window appears, I then select a file to attach and then the file browse window disappears (as expected) and no
-
Hi Guys. I have a process chain and a start variant, but then when I transported. It seems not be transported the variant. CAn you please help me with this? Regards, Iván.
-
Export Oracle report formula column to XMLP
hi i am thinking about exporting an rdf report to xmlp and i am worried about keeping my formula columns in the xmlpublisher report. what is gonna happen to them ? thx Dan
-
Triggers : How to find if my query is triggering any Update or not?
hi all, how to find if the query I am running is triggering any Update trigger? Thanks,