FI-CAX event 1102 when posting documents using BAPI_CTRACDOCUMENT_CREATE
The event 1102 in FI-CAX has been implemented to copy "Alternative business partner for payments" to the document, when posting a document using transaction FPE1.
Will this event aslo be executed when posting documents automatically via the BAPI BAPI_CTRACDOCUMENT_CREATE?
If not, is there any other possibility to copy "Alternative business partner for payments" to the document, when posting a document automatically via the BAPI BAPI_CTRACDOCUMENT_CREATE?
Thank you!
In our system this note has not been implemented yet so this is something we need to fix.
Do you know if event 1102 is supposed to be called when running FP60M/FP60P (mass activity: revenue distribution/Revenue distribution: Create and post documents)?
Cheers,
Teo
Similar Messages
-
Error While Posting documents using F-28
Dear Friends,
While posting Documents using 'F-28' after I passed posting key and account number I m getting the Error
'Entry not Possible'. Can anyone tell what may be the problem how to clear this error.
Regards
Balamurugan N
Moderator message: duplicate post locked, follow up on your previous one instead of opening a new thread for the identical problem.
Edited by: Thomas Zloch on Apr 26, 2011 8:34 PMHi,
I Guess this error is occuring because of the posting key and account number (Account type) combination is not correct. For each account type a perticular posting is is defined for debit and credit entries.
Check with your functional the correct posting key for account type and account number you are using. -
System Error when posting document
Hi, all!
We are using SAP BPC 7.0 SP3 on SQL 2005. When we try post document to content library and select option "Send mail notification" the system error occur "The system encountered an error an cannot proceed", Detail information: "Could not access CDO.Message object". We had set right parameters for smtp in WebAdministration before post document. Then we don't select option "Send mail notification" document is posted without any error.
Have anybody faced with such error?
Thank you for help.
Best regards, IaroslavHi, all!
I use the same smtpuser login, as in email of user which public document and everything post ok. When I try to post document by another user when error appear again.
Is in BPC only one user able to post document, or every user have to change smtpuser in Web-Admin before posting of document?
Best regards,
Iaroslav -
Not able to post document using BAPI_ACC_GL_POSTING_POST
Hi all,
While trying to post documents in FB60 using BAPI_ACC_GL_POSTING_POST we are getting error Account not assigned to company code. But we are able to post documents manually using the same account and company code. Couls any one help me out to resolve this issue.
Thanks & Regards,
Neela.This is complete procedure to use 'BAPI_ACC_DOCUMENT_POST'. It can be used for GL, AR or AP documents.
Step 1:
For Header information, fill u201CDocumentHeaderu201D structure as:
obj_type = 'BKPFF'
obj_key = '$'
obj_sys = CONCATENATE syst-sysid 'CLNT' syst-mandt
bus_act = 'RFBU'
username = syst-uname .
comp_code = Company Code
doc_date = Document Date
pstng_date = Posting Date
doc_type = Document Type like AB, SA.
ref_doc_no = Reference Document
To populate the line item data, fill internal table u201Caccountglu201D or u201Caccountpayableu201D or u201Caccountreceivableu201D as:
itemno_acc = Line Number (like 10,20)
gl_account = GL Account Code (For GL Line Items only)
vendor_no = Vendor Number (For AP Line Items only)
customer = Customer Number (For AR Line Items only)
acct_type = 'S' or u2018Ku2019 or u2018Du2019. (GL = u2018Su2019, AP = u2018Ku2019, AR = u2018Du2019)
costcenter = Cost Center
orderid = Internal Order
tax_code = Tax Code
item_text = Item Text
quantity = Quantity
base_uom = Unit for Quantity
Note:
u2022 Separate internal tables should be created for GL lines, AP Lines and AR Lines.
u2022 If posting GL line items then only u201Caccountglu201D internal table should be filled.
u2022 If posting AP document then GL lines should be filled in table u201Caccountglu201D and Vendor lines should be filled in table u201Caccountpayableu201D.
u2022 If posting AR document then GL lines should be filled in table u201Caccountglu201D and Customer lines should be filled in table u201Caccountreceivableu201D.
u2022 Extension of each line of u201Caccountglu201D, u201Caccountpayableu201D and u201Caccountreceivableu201D must be there in u201Ccurrencyamountu201D.
To populate the amount, fill u201Ccurrencyamountu201D structure as:
itemno_acc = Line Number (like 10,20, but pair of u201Caccountglu201D line)
amt_doccur = Amount {Credit amount should be with sign
currency = Currency
Step 2:
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
EXPORTING
documentheader = st_documentheader
IMPORTING
obj_key = w_objkey
TABLES
accountgl = i_gl {GL Line Items}
accountpayable = i_ap {AP Line Items
accountreceivable = i_ar {AR Line Items}
currencyamount = i_amt {Amount of all above}
return = i_bapiret. {Return messages} -
Program name to post document using transaction KB33N.
Could you tell me the Program name to post FI document using transaction KB33N.
Also before document is posted it should appear in SM35
Edited by: mukesh mahajan on Oct 20, 2009 12:39 PMThe program name of the T-code is not required.
I require a standard program which is used to post document in KB33N with data from input file from presentation or application server.
example is like program RFBIBL00 is used to post document in FB01, FBS1 etc.
Could any one suggest the name of program for KB33N posting. -
Help:Parameters can't be seen when post parameters using session(servlet)
Dear all,
Thanks,
When post the parameters(e.g. userID or password) by form submit,The parameters can be seen in the address form of IE Explorer.
For security,How can I do then it can't be seen.
Best Regards,
bitanIn the HTML-page where you have the <FORM> tag
change the METHOD to "POST" instead of "GET".
For Example:
<FORM METHOD="POST"
ACTION=....... >
<INPUT TYPE="........>
</FORM>
Also you have to change the Servlet method to "doPost"
instead of doGet.
Hope this solves your problem. -
How can't Parameters be seen when post parameters using session?
Dear all,
Thanks,
When post the parameters(e.g. userID or password) by form submit,The parameters can be seen in the address form of IE Explorer.
For security,How can I do then it can't be seen.
Best Regards,
bitanHi ,
When post the parameters(e.g. userID or password) by
form submit,The parameters can be seen in the address
form of IE Explorer.Wrong.When u do a http POST , the parameters are not seen in the adress bar
But they are seen in the address bar in case u do a GET.
The std way is to go for a POST in case u have such a securoty requirement.
I m not aware of any way by which u can make it not to appear in a GET. -
When attaching documents using GOS send them with workflow
Hello experts,
I have a scenario. We have to attach documents to SAP application using GOS. These documents can be edited also.
Now second part is that when we attach the document or edit the document, the document should be send with the work item "when we attach the document".
The first part of the scenario is completed and working fine. The second part of the scenario is causing problem. I have checked the various options but none of them are proving helpful.
There is an option in GOS toolbar to send the documents through workflow but that also asks for the related workflow.
I was trying to create an event for GOS object which can trigger the workflow automatically when the attachment are created and edited but can not go further with it as not so strong in workflow.
I request you to kindly help me either in creating this event which will trigger the workflow (whole process) or any other method to do the same.
Thank you all in advance.Hello Andrés,
Thank you for replying. The main problem is starting the workflow. For that I need to create an event and that is my biggest trouble. I have seen the object IFSAP already. There are no events in it and as such I have created my custom object as super type.
So I need to create the event from scratch.
Hope my requirement is clear.
Thank you.
Edited by: Apoorv Lohani on Feb 3, 2012 7:54 AM -
Get error when unzipping document using Java Class
I am using an applet to unzip a compressed docuement. The document is compressed by a Java Rich client into a database and is going to be opened by a web application. So in order to decompress we are using an applet with the same unzip code. The rich client is working fine, but the applet is giving an error. Can anyone tell me what the following error means?? I have found no documentation on it and it is not giving me any real information.
java.util.zip.DataFormatException: oversubscribed dynamic bit lengths tree
I am using the Inflater class to unzip the doc.
thanks,Can you be any more specifc about what you are doing?
It may be a security issue as you are running the code in an applet.
The other thing to look into would be the content type you are using to send the zipped data over http. When writing the zipped object into the HttpServletResponse on the server you must call
setContentType("application/zip");
For a quickish example see
http://java.sun.com/developer/technicalArticles/Networking/Webserver/WebServercode.html
This sets the content type based on the file to be returned extension.
Hope this is helpful. -
Hi All,
I have a user-defined object of document type. Can anyone tell me how to create/post a document in my UDO from outside business one using DI API.
Thanks.
MelvinHi Melvin,
Have you searched forum?
Check this first: Re: DI API for UDO !!!
Thanks,
Gordon -
How to Enforce Sharepoint 2013 content type validation rules when modifying document using Word 2013
Good day,
I have two date columns (Start Date and End Date) in a content type in Sharepoint 2013. A file library uses this content type.
In the document template I have the two dates (Start Date and End Date) showing in the Document Panel. I can edit them well enough and they show in the document correctly.
In the content type I have validation rules that the End Date must be greater than the Start Date.
The question is, how can I enforce this validation on the client side in Word. Is there anyway to achieve this?
The user will not have access to change the document properties in Sharepoint. (Not my call)
Thank-you!The "panel" is called the Document Information Panel in SharePoint. You can customize this using InfoPath from the page where you created / edited your Content Type. Go to Settings, Site Settings Content Types, edit your content type, click Document
Information Panel and then click "Edit this template". In InfoPath you can create a Rule to enforce your dates.
This may require the Enterprise Edition of SharePoint to support the InfoPath Forms Services.
Mike Smith TechTrainingNotes.blogspot.com
Books:
SharePoint 2007 2010 Customization for the Site Owner,
SharePoint 2010 Security for the Site Owner -
Reversing a document using the bapi 'BAPI_ACC_DOCUMENT_REV_POST'
Hi All,
I have posted a document using the FM 'BAPI_ACC_DOCUMENT_POST' and it is working fine .
How can I reverse the same posted document using the FM
'BAPI_ACC_DOCUMENT_REV_POST'?
What are the mandatory parameters to be filled?
Can anyone explain me with a example
Thanks in Advance.Hi Siva,
The bapi you have mentioned is the correct one.
Look at the BAPI documentation which is pretty informative.
In case you don't have it, i'm just copy pasting it.
Functionality
Reversing an external document in Accounting. (negative posting)
The method "Reverse" can be used to reverse the relevant document in the accounting components.
Parameters
REVERSAL
Reference information for reversal in Accounting
Description
Parameter for transferring a reversal document. The reversal document for the source document is not transferred - the reversal documents are generated in the individual components from the documents to be reversed. This is only possible however, if the corresponding documents are available, meaning that line item update is active in all components and no documents have been archived. If this is not the case, an appropriate error message is issued in the return parameter. If this happens, the document can only be reset by means of a corresponding inverse posting by the sender.
You must make entries in the following fields
Reversal document number:
OBJ_TYPE Sender ID
OBJ_KEY Reference number of the reversal document (source document)
OBJ_SYS Logical system
OBJ_KEY_R Reference number of the document to be reversed.
Default
All other fields are transferred from the FI document to be reversed.
BUS_ACT
Business Transaction
Description
To reverse the document, the same business transaction must be entered that was used for the posting.
OBJ_TYPE
Reference procedure
Source document
Description
When a business transaction is updated in Accounting, it may be that several documents are updated at the same time (FI document, CO document, etc). If the business transaction is not initiated in Accounting, a source document must exist outside Accounting. The information from this document must be transferred when the FI/CO interface is called up. The source information is updated in all accounting documents, and is made up of the following fields:
AWTYP (OBJ_TYPE) Reference transaction
Sender ID
AWKEY (OBJ_KEY) Reference key
Source document number
The reference key is made up of:
AWREF Reference document number (10 digits)
Source document number
AWORG Reference organizational unit (10 digits)
Number range ID (if required)
AWSYS (OBJ_SYS) Logical system
Logical system of source document
When the document is being processed, the system checks whether a reference document number (first part of the reference key) has been transferred.
Notes
Use a separate value in the OBJ_TYPE field (reference transaction). You must maintain an entry for this value in table TTYP, which could be a function module that is called when the user wants to branch back to the source/sender document from an accounting document. This makes it possible for documents updated using BAPIs to be included in the document navigation (revision). If you use SAP defined characters in the field OBJ_TYPE, errors can occur in the navigation.
The FI and CO line item suppression is defined separately for each reference transaction.
It is not necessary to separate the reference key into reference document number and reference organizational unit. This means that reference document numbers that are longer than 10 digits can be transferred into the reference key.
OBJ_KEY
Reference Key
Source document
Description
When a business transaction is updated in Accounting, it may be that several documents are updated at the same time (FI document, CO document, etc). If the business transaction is not initiated in Accounting, a source document must exist outside Accounting. The information from this document must be transferred when the FI/CO interface is called up. The source information is updated in all accounting documents, and is made up of the following fields:
OBJ_SYS
Logical system of source document
Source document
Description
When a business transaction is updated in Accounting, it may be that several documents are updated at the same time (FI document, CO document, etc). If the business transaction is not initiated in Accounting, a source document must exist outside Accounting. The information from this document must be transferred when the FI/CO interface is called up. The source information is updated in all accounting documents, and is made up of the following fields:
AWTYP (OBJ_TYPE) Reference transaction
RETURN
Return Parameter
Description
This table contains the return messages from the method call.
Value range
The first message contains the general status of processing:
Type ID Number Message
S RW 605 Document posted successfully
S RW 614 Document check without errors
A RW 609 Error in document
The fields MESSAGE_V1, MESSAGE_V2 and MESSAGE_V3 contain the following information:
Reference transaction ( OBJ_TYPE)
Reference key ( OBJ_KEY)
Logical system of source document ( OBJ_SYS)
Additional messages are transferred with the following information:
Parameter ( PARAMETER)
Row ( ROW)
Field ( FIELD)
in which the error occurred.
REgards.
Ravi -
BSEG.CREATED event not triggering when a document is posted in FB60
Hi All,
I have a requirement in which i need to post documents in FB60/FB65/FB01 tcode. But when i post the document in FB60 the event BSEG.CREATED is not triggering. I could not see any trace in SWEL. But when i park the document in FB60, FIPP.CREATED event is getting triggerd.
Can anyone tell me why this BSEG.CREATED event is not triggering.
Thanking you in advance,
satheesh.Hi Viji,
Thanks for your quick reply.
We have maintained the required configurations in the system related to this. But still the event BSEG.CREATED is not triggering.
for this the alternative solution is to implement the BTE '1030'. But our functional team is asking us to check whey standard business object BSEG.CREATED is not triggering when we post a document. So that particular reason we are not able to find out.
Configuration maintained.
1) Created a workflow variant and assigned it to particular company code(OBWA and OBWJ).
2) Checked the 'Posting' release' and 'Release payments' checkboxes in the OBWA transaction.
3) Event linkage for BSEG is active.(SWETYPV)
Thanks,
satheesh -
Validation when posting a document using T. Code FB50 or F-02
Dear Experts
Please let me know on how to validate when posting a Cross Company Transaction using T. Codes FB50 or F-02. The requirement is to restrict Branches (each Branch is a Company Code in SAP) to post any Cross Company documents by selecting HO Company Code in Line Item, system has to stop the User by giving Error Message.
We can't control this using User level Authorizations because, here the Authorization is provided to the Users to post the Transactions using T. Codes FB50 and F-02.
To restrict this, I created a Validation as below:
Prerequisite:
BKPF-TCODE = 'FB50' OR BKPF-TCODE = 'F-02' AND
BKPF-BUKRS = 'Br. Company Code' AND
BSEG-BUKRS = 'HO Company Code'
Check:
FALSE
Message:
You Can't post Cross Company Transactions using T.Code FB50 or F-02
And I activated the above Validation in OB28 for HO and Branch Company Codes. But the Validation is not working properly. Can anybody help me on how to proceed further in this regard please.Hi,
I haven't tried to use a transaction code for Validation purpose. Instead, I have used document type as prerequisite and then check:
BKPF-BUKRS = 'Br. Company Code' AND
BSEG-BUKRS = 'HO Company Code'
If the condition is met, it displays an error (per the message in validation) while completing the line item details on posting a document.
Please let me know if that helps. If not, I can try to replicate your scenario and let you know if there is anything missing.
Thanks,
Ashish -
Validation of a reference field when posting accounting document using FB50
Hi all,
We hada requirement to restrict the users from entering japanese caharaceters in the reference field of a accounting document. The validation for this was done using the transaction OB28. when the user posts the accounting document using transaction FB01 or changes the accounting document using transaction FB02, the validation provided in OB28 does work(it throws an error restricting the user from entering japanese characters if he has done so). But whenthe user pots the accounting document using the transaction FB50, the same error message comes as information message although the coding is for giving an error message.
This however does not happen when the user logs on in English. In English logon the error mesage does appear.
When the user logs on in Japanese the message comes as an information message but at the same time does not allow posting of the document.
Debugging this revealed that the OSS note 197329 has been applied to the standard SAP program SAPMF05A.
Any pointers to how this can be rectifiied would be appreciated.
Thanks in advance.I think it would be best if you opened an OSS message on this.
Rob
Maybe you are looking for
-
Getting error when we loading the data to 0TCT_C01
When we are loading the delta loads to 0TCT_C01 cube , Load got failed saying that "Job terminated in source system --> Request set to red". Below is the details abou the dump: Runtime Errors COMPUTE_INT_TIMES_OVERFLOW Exception
-
I recently purchased CS2 premium from Amazon but I do not come with a serial number. How do I go about acquiring a serial number for the premium suite
-
Yesterday I had to restore my computer back to it's factory settings because of a virus. I backed up my pictures and files on a WD passport. After I moved them back over to the computer they will not open. They show up as shortcuts, but will not open
-
Some hierarchy related issues, SQL Query is including unselected columns?
Hello Guys... I have something strange happening in my report.. First of all, the RPD I have is built according to JDE model. There is a schema which looks like this: BU Dim ------->Fact<---------Account Dim <--------BU Account Dim (Indeed a copy of
-
Repairing permissions has taken days - and still going
After the slew of problems I had after upgrading to 10.5.2 it was suggested on one of these forums that I repair my permissions. I started that last Thursday morning - when I left work for the weekend on Friday afternoon it said "20 hours) still to g