Table VBDKR(Document Header View for Billing)?
Hi.
What is the use of table VBDKR(Document Header View for Billing)?
and what is the difference in the fields VBELN_VAG,VBELN_VKT,VBELN_VG2 of that table?
thanks
HI
GOOD
VBDKR=>Document Header View for Billing
VBELN_VAG=>Sales and Distribution Document Number
VBELN_VKT=>Sales and Distribution Document Number
VBELN_VG2=>Sales and Distribution Document Number
I DONT THINK THERE IS ANY DIFFERENCE BETWEEN THESE THREE FIELDS
THANKS
MRUTYUN
Similar Messages
-
In the Structure VBDKR..Document Header View for Billing...
Dear Friends,
In the Structure VBDKR..Document Header View for Billing, there is a component
IHREZ which is Customer /Vendor Internal refrence number.
Can anyone tell where do I locate this in Billing or anywhere.
Kind Regards
Ravi.Hi,
This field is called "Your Reference".
Goto VF03.
Enter your Billing document number.Enter.
Goto Item details.Goto PO data.
In the ordering party tab,you can find it.
This value will be maintained in Sales order.
Goto VA02.Enter your order number.Enter.
Goto Item details.Order data tab.The same field you can find there also.
Regards,
Krishna. -
Hello,
Currently I'm working with excel SAP interfacing. For this I am using VBA to call different BAPI functions.
I have already some interface scripts working, however I have also one which I cannot discover what I'm missing.
The VBA code is to reach BAPI_ACC_DOCUMENT_POST
My error is ---> FI/CO interface: Inconsistent FI/CO document header data for updating
So I'm appealing to you SAP bapi VBA gurus whether you have any ideas how to fix my issue.
I'm attaching below my code for you to review:
Option Explicit
' Declaration for the necessary objects
Dim objBAPICortrol, objConnection, objCreateMaterial, objReturn As Object
Dim objPRFCT, objNTXT, objDTXT As Object
Dim vLastRow, vRows As Integer
Dim objMaterial1, objMaterial2, retMess As Object
Sub Batch()
' Getting the last filled Row in Column
vLastRow = Cells(Rows.Count, "A").End(xlUp).Row
' Setting the necessary variables for R/3 connection
Set objBAPICortrol = CreateObject("SAP.functions")
Set objConnection = objBAPICortrol.Connection
objConnection.System = "SYSTEM NAME"
objConnection.Client = "Client number"
objConnection.user = "USERNAME"
objConnection.Password = "PASSWORD"
objConnection.Language = "EN"
' Establish a connection
If objConnection.logon(0, False) <> False Then
'MsgBox "Connection Established"
End If
On Error Resume Next
' Assign the Parameters
Set objCreateMaterial = objBAPICortrol.Add("BAPI_ACC_DOCUMENT_POST")
Set objMaterial = objCreateMaterial.Exports.Item("DOCUMENTHEADER")
Set objMaterial1 = objCreateMaterial.Tables.Item("ACCOUNTGL")
Set objMaterial2 = objCreateMaterial.Tables.Item("CURRENCYAMOUNT")
'Set Values
objMaterial.Value("USERNAME") = "USERNAME"
objMaterial.Value("HEADER_TXT") = "BAPITEST"
objMaterial.Value("COMP_CODE") = "0001"
objMaterial.Value("PSTNG_DATE") = "20140506"
objMaterial.Value("TRANS_DATE") = "20140506"
objMaterial.Value("DOC_DATE") = "20140506"
objMaterial.Value("FISC_YEAR") = "2014"
objMaterial.Value("DOC_TYPE") = "SA"
objMaterial.Value("REF_DOC_NO") = "BAPITEST"
objMaterial.Value("FIS_PERIOD") = "00"
objMaterial1.Rows.Add
objMaterial1.Value(1, "ITEMNO_ACC") = "1"
objMaterial1.Value(1, "GL_ACCOUNT") = "0007180000"
objMaterial1.Value(1, "ITEM_TEXT") = "BAPITEST1"
objMaterial1.Value(1, "DOC_TYPE") = "SA"
objMaterial1.Value(1, "COMP_CODE") = "0001"
objMaterial1.Value(1, "PROFIT_CTR") = "AZ1111" ---->'profit center is normally having 10CHARS but as there are letters I'm not using zeros at the beginning
objMaterial1.Value(1, "ITEMNO_ACC") = "2"
objMaterial1.Value(1, "GL_ACCOUNT") = "0007180000"
objMaterial1.Value(1, "ITEM_TEXT") = "BAPITEST1"
objMaterial1.Value(1, "DOC_TYPE") = "SA"
objMaterial1.Value(1, "COMP_CODE") = "0001"
objMaterial1.Value(1, "PROFIT_CTR") = "AZ1111"
objMaterial2.Rows.Add
objMaterial2.Value(1, "ITEMNO_ACC") = "1"
objMaterial2.Value(1, "CURRENCY") = "EUR"
objMaterial2.Value(1, "AMT_DOCCUR") = "-1.00"
objMaterial2.Value(1, "ITEMNO_ACC") = "2"
objMaterial2.Value(1, "CURRENCY") = "EUR"
objMaterial2.Value(1, "AMT_DOCCUR") = "1.00"
' Function call
objCreateMaterial.call
Set objReturn = objBAPICortrol.Add("BAPI_TRANSACTION_COMMIT")
objReturn.call
Set retMess = objCreateMaterial.Tables.Item("RETURN")
If retMess Is Nothing Then
MsgBox retMess.Value(1, "MESSAGE")
End If
' Get return parameters & display in excel
Set objReturn = objCreateMaterial.Tables("RETURN")
ActiveSheet.Cells(5, 1) = retMess.Value(2, "MESSAGE")
End Subafter some searching I've discovered that once I'm creating next line for accounting document it is not working properly.
When I debug the BAPI in SE37 after inserting new line it is asking for GL account input, however if I run it using VBA and delete the account from the code, the return message is not giving me any error that GL account is missing.
I appreciate any ideas. -
How can i add Document Header Text for s_alr_87012357
Hi Gurus
How can i add Document Header Text for s_alr_87012357(Advance Return for Tax on Sales/Purchases).do i need change the standard program or is there any alternate to do this please help me out.i found it .its in output list and i did change the layout settings.thanks
-
Transfer document header text from billing document to FI document
Dear all,
Where do I specify that the document header text out of the billing document should be transferred to the corresponding FI document?
Currently, the FI document header text (BKPF-BKTXT) remeans blank after transfer from billing document. We need this field to be filled in, but I haven't found how to have this filled in.
In copy control from sales doc to billing doc, there is the possibility to transfer the Reference number & Assignment, but nothing about document header texts.
Some say that it would only be possible via coding, but anybody has any idea if it might be possible via standard SAP?
Many thanks!
Best regardsHi,
We also had a bit same requirement, which is to copy the billing header text to FI item text (BSEG-SGTXT). The solution we took is to use FI Substitution (t-code GGB1), so that every time a FI document created from SD... the substitution reads the billing header text and put it in the FI item text. I think the same method could be used for FI header text (BKPF-BKTXT). Below is the solution for your reference.
Prerequisite:
Document Type = 'RV' AND Reference <> '' AND
( Transaction code = 'VF01' OR Transaction code = 'VF02' OR
Transaction code = 'VF03' )
Substitution:
Using exit which coding is as below.
*& Form u900
Copy Billing Header Text to SGTXT
-->P_SGTXT FI Item Text
FORM u900 USING p_sgtxt TYPE bseg-sgtxt.
DATA: lv_name TYPE thead-tdname,
lt_line TYPE STANDARD TABLE OF tline,
lw_line TYPE tline.
lv_name = bkpf-xblnr.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = 'Z001'
language = sy-langu
name = lv_name
object = 'VBBK'
TABLES
lines = lt_line[]
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
IF sy-subrc EQ 0.
READ TABLE lt_line
INTO lw_line
INDEX 1.
In Billing Header Text, the sign '&' (ampersand) is automatically
added some characters so it becomes '<(>&<)>'.
The logic below is to fix that issue.
REPLACE ALL OCCURRENCES OF '<(>' IN lw_line-tdline WITH space.
REPLACE ALL OCCURRENCES OF '<)>' IN lw_line-tdline WITH space.
p_sgtxt = lw_line-tdline.
ENDIF.
ENDFORM.
Regards,
Teddy Kurniawan -
How to get the Change Document Header details for a given date
Hi All,
Can anyone help me on this Change Document Header details(CDHDR).
Better way to pull the information of Change Document Header details(CDHDR). No Index is maintained for the tables.
So please suggest better Optimising techniques to get the Change Document Header details(CDHDR).
Using this Function module : CHANGEDOCUMENT_READ_HEADERS how to import the DATE_OF_CHANGE.
Thanks in advance
Regards
ChakriHI,
Go through the documenattion of the FM u can get the details.. and also where used list
Regards,
Nagaraj -
Tables in document header?
After upgrading to the new Pages APP and then opening my company letter document which had a table within the document header with the company logo, address and page numbers in three separate cells, all of the table, cells and their contents were wiped out and now I have no document header data at all.
What's up?Follow-on:
Never could get the new Pages to accept a table or graphic into the document header so I'm back to using my '09 Pages. However, I have to be careful to open legacy documents from within '09 so that the new Pages doesn't launch, open the document and wipe out my document header.
This seems really wrong. Why would an old and valuable functionality be removed from the new Pages? (I've been using this functionality in Pages and Word for years.) Is there something I'm not doing right? Is there a workaround that allows me to put a masthead on a Pages document that shows in all subsequent pages without using the "header?" -
Table where document header stored
Hi,
Please let me know how to delete the documents in template tab of the Cproject structure.
In which table is the document header stored?
Regards,
Maha
Edited by: Ramalakshmi ganeshan on Jun 22, 2010 11:46 AMRamalakshmi,
cProject template is also a project and its information is also stored in DPR_PROJECT table. If standard BAPI is not deleting the documents stored in cProject template, you may try to use the classes.
1. Get the instance of CL_DPR_APPL_OBJECT_MANAGER
2. Load cProject Template using method LOAD_PROJECTS
3. Get hold the instance of CL_DPR_PROJECT_O from export paramter ET_PROJECTS of method
4. Read public attribute MR_DOCUMENTS type CL_DPR_DOCUMENTS of CL_DPR_PROJECT_O
5. Use method GET_ALL to get all the documents stored ( table of CL_DPR_DOCUMENT)for this cProject template.
6. Use DELETE method to delete one of the documents using CL_DPR_DOCUMENT class.
7. Save the cProject using IF_DPR_PROVIDER_TRANSACTION~DO_SAVE method of CL_DPR_APPL_OBJECT_MANAGER
Please let me know if it works for you. -
Document Header Mandatory for FV50
Hi Experts,
I would like to make the document header a required field for FV50 transactions. They are document type SA. I set the document type to make this a required field.
However, I don't want all SA document types to require this field. Is it possible to only make it a required field for some transactions?
Or is there a better way to do this.
Thank youDear,
For your query we have 2 options only.
1) Make required entry at Document type level - It will ask for for all trasactions related to that particular document type.
2) Transaction code level (SHD0) - It will for all document types and transactions.
Header details we will contrlo by using Document type only.
Regards,
Dharma Rao. Yekula -
Document is blocked for billing
I created a return order and it goes fine until i reached billing. it says "document 000012 is blocked for billing"
What is the reason why it is blocked for billing? What should I do to make it billed? please help...
Thank you in advanceHI.,
Please check in return order whether there is any billing block for particular order.,If there is any billing block,Remove the billing block & try
Generally for return order we do
RE- LR- PGR-Credit memo
REWARD if helpfull
Thanks & Regards
Narayana
Message was edited by:
manam narayana
Message was edited by:
manam narayana -
Reg: Join Conditions for Tables to create a View for Generic Extraction
Hi Experts,
Am trying to extract the data from Solman, for this purpose am creating a Generic Extractor based on three tables. So, can anyone please help me out by providing the join conditions to create a view based upon the following three tables,
1. CRM_ORDERM_H
2. DNOD_NOTIF
3. DNOD_NOTIF_S
Anyways i require the following fields in the extractor finally:
CRM CHANGED AT
GUID
SAP COMPONENT
RELEASE
REPORTED BY
These are the some of the major fields that i require in the final extractior. Please help me out ASAP with the table join conditions..
Will Assign Points for the helpfull answer...
Thanks,
Gattu.Hi,
I don't know the table CRM_ORDERM_H however you can link DNOD_NOTIF and DNOD_NOTIF_S
DNOD_NOTIF_S-CLIENT = DNOD_NOTIF-CLIENT
DNOD_NOTIF_S-GUIDS = DNOD_NOTIF-GUIDS
For the third table could you please paste here its definition like the hereunder?
Transp. table DNOD_NOTIF Active
Short Text Notification Header
Field KeyInitData element Data TyLengthDecimaShort Text
CLIENT X X MANDT CLNT 3 0Client
GUIDH X X DNOT_GUIDH RAW 16 0GUID Notification
.INCLUDE DNOS_NOTIF_INT STRU 0 0Notifications (Header, Internal Fields)
OBJNR DNOT_OBJNR CHAR 22 0Status Management Object Number
STATUS DNOT_STATUS CHAR 1 0Notification Status
DELETED DNOT_DELE_N CHAR 1 0Deletion Indicator Notification
PROCESSOR DNOT_PROC CHAR 12 0Current Processor
TYPE_PROC DNOT_TYPE_PRC CHAR 2 0Type of Processor
REPORTER DNOT_REPORTER CHAR 12 0Reported By
TYPE_REPO DNOT_TYPE_REP CHAR 2 0Type of Notification Creator
CREA_TSTMP DNOT_CREA_TSTMP DEC 15 0Entry Time Stamp
CHNG_TSTMP DNOT_CHNG_TSTMP DEC 15 0Time of Last Change
START_TSTMP DNOT_START_TSTMPDEC 15 0Initial Response Time - Time Stamp
END_TSTMP DNOT_END_TSTMP DEC 15 0Requested End of Processing - Time Stamp
CLO_TSTMP DNOT_CLO_TSTMP DEC 15 0Completion Time Stamp
.INCLUDE DNOS_NOTIF_EXT STRU 0 0Notifications (Header, External Fields)
NUMB DNOT_NUM CHAR 12 0Notification Number (External)
REFNUM DNOT_REFNUM CHAR 20 0External Reference Number
TYPE_NOTIF DNOT_TYPE_N CHAR 6 0Message category
CATEGORY DNOT_CATEGORY CHAR 12 0Topic, Area
SUBJECT DNOT_SUBJECT CHAR 60 0Re:
PRIORITY DNOT_PRIORITY CHAR 1 0Notification priority
LANGUAGE DNOT_LANG_N LANG 1 0Notification Language
hope this helps...
Olivier. -
Document not relevant for billing error....
guyz
i'm trying to create a stock transport order ...
created a PO.... created a replenishment delivery ....
when i'm trying to create a transfer order (with goods issue) i'm getting above error ...
i confirmed the item category NLN has billing relevance as 'J'.
any suggestions pls?
thanks in advancesorry for the confusion... i m getting the above error while creation of billing doc from VF01 not when transfer order creation...
document flow is
PO -> Replenishment dlv. -> WMS Transfer Order -> TF to stock in transfer.... -
Document not relevant for billing
Hi experts,
i want to create a forma invoice for delivery(delivery document type: NL), but i did not succeed. I have already assigned this billing type to NL under intercompany billing. The process of moving goods from one plant to another was also carried out, including goods issue, goods reciept.
Did I miss anything?
Best regards,
Fanfor movements between plants in one company code, the document type is UB, while is it NB if the plants are in different company codes.
Only business cases between different company codes are billing relevant. there is in general no billing between plants of the same company code.
But you are talking about proforma invoices, usually used for customs. this is different.
OSS note 109254 explains how the settings for proformas should be for cross company deliveries.
Following this note you should be able to setup the same for intra company deliveries -
Created column not showing in the Document Library View for a Custom Content Type based on Document
We have a custom content type based of Document Content Type. The OOTB "Created" column does not show up in the view as well as in the Site Settings -> Columns.
But it shows up in the Display Form and Edit Form of the Item at the bottom "Created at " by " " and "Modified by" at by ""
Would anyone know how to make this column appear as part of the view ?
thanks,
HarshHi,
They should by default be possible to add to a view. The only reason they would disappear from the UI if someone has changed the attribute of the Field to hidden = true. You can verify that with PowerShell and if so you can use PowerShell to revert the setting
to false.
$w = Get-SPWeb http://dev13$f = $w.Fields.GetFieldByInternalName("Created")$f.Hidden$f.Hidden = $false$f.Update() -
How to add new source views for Bill Presentment Architecture (BPA)?
Hi,
Financials 11.5.10.2;
I'm trying to add custom source views to be used with BPA.
I go to configuration\data sources and click on the views buttons to see the available views.
There I click on the register button. If I use the LOV button for view name, no views are available. I thought I would see the view in the APPS schema.
How do I make my custom views available in the list of values?
Thanks.It was easy for us. The guide suggests your view begin with the string "ARBPA". One might assume that if your view doesn't start with this, it won't be available from the list.
Maybe you are looking for
-
PDF/A vs. Form Fields (checkboxes, radiobuttons)
I've question regarding the PDF/A specification and would appreciate some clarification. The specs says: "If an annotation dictionary contains the AP key, the appearance dictionary that it defines as its value shall contain only the N key, whose valu
-
Can the Time Capsule hook up to a stereo like an Airport Express?
Can the Time Capsule hook up to a stereo like an Airport Express?
-
I was archiving some old images, bringing them into a new Aperture Library. I had created the library on an external drive, but apparently it still thought it was on my internal drive. After a few hours of work, Aperture gave a warning that it was ou
-
Possible bug in Browser Invocation
I have done more testing with the isHTTPS property of the Browser Invoke event. I have started an application from a webserver with no https anywhere but still the isHTTPS property is true at all times. If this is a bug how do I report it. It seems t
-
How does one remove a third party program?
how does one remove a third party program? Just "delete" it? Isn't there something to run?