Updating exist FI document BSEG-ZUONR data element.
Hi there,
We're trying to update ZUONR field on an FI document (BSEG) after it has been posted. I looked for a "change fi document" BAPI and have not been able to do so. Is a BDC for FB02 the only choice for such a requirement or is there a FM suitable for this task?
First, thanks for the replies, second my apologies for not being more specific.
Here is the scenario: I have new custom data element added to MIRO, which is eventually stored in the RBCO table (at the line item level.) Our requirement is have this data element moved into the BSEG-ZUONR field.
I am aware of BTEs and have attemped to do so using the 1120 process, but the problem is I don't have access to the original data as entered in MIRO in the tables available in that BTE. It appears that the RBCO table is not even update until after 1120 process is executed.
Once again, thanks for responses.
Similar Messages
-
How to only update existing records when loading master data ?
Hello experts, I need your lights one more time.
Here is my need :
I have created an infoobject (IO) which is a very simple version of 0material, let's call it Znewmat --> Znewmat has material type and trademark as attributes, those two fields are available in 2 different datasources :
- 0MATERIAL_ATTR for material type (field MTART)
- 0MAT_SALES_ATTR for trademark (field MVGR2)
When loading my new IO from 0MATERIAL_ATTR I use a filter (at DTP level) to get only a few material types (I get something like 1000 records),
here is my issue : when I load from 0MAT_SALES_ATTR the field "material type" is not available to keep the same filter as for 0MATERIAL_ATTR and existing records are updated with the trademark, but I also get 5000 records I don't need, and my master data is "polluated" with useless lines.
*and my question : is there a way while performing the second loading to ONLY UPDATE EXISTING RECORDS AND NOT ADD ANY
NEW RECORDS ? (i didn't find anything in main options of my DTP)*
(I'd like to avoid the solution to update the 0MAT_SALES_ATTR datasource to add the missing field)
Thanks in advance for any help, points will be distributed.
Guillaume P.
Still no idea ?in the start routine of transformation from 0MAT_SALES_ATTR to znewmat do the following:
select materials from /BIC/PZNEWMAT into i_mat
for all entries in source_package where material eq source_package-material.
loop at source_package.
p_ind = sy-tabix.
read table i_mat with key material = source_package-material.
if sy-subrc ne 0.
delete i_mat index p_ind.
endif.
this way you'll only update records that have previously been loaded by 0MATERIAL_ATTR DS
loading sequence:
first load ZNEWMAT from 0MATERIAL_ATTR. then activate ZNEWMAT. then load 0MAT_SALES_ATTR to ZNEWMAT.
M. -
Change document flag in data element
Hi All,
What exactly the purpose of Change document flag that has been associated with the data element? How it keeps track of changes done to that particular field can some body explain in detail please.
Thanks&Regards
MaheshHi,
Many commercial objects are frequently changed. It is often useful, or even necessary, to be able to trace the changes made. If changes are logged, you can find out at any time, what was changed and when and how the change was made. This can sometimes make the analysis of errors easier. In financial accounting, for example, change documents are used to make auditing possible.
Changes are logged in change documents, which can be created for actual or planned changes.
<b>Set change document flag</b>
This is necessary so that the object-specific function modules can identify which field of the defined object should be entered in the change document during logging.
If the flag is not set, you can change it. The flag becomes effective after the activation
http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/fa015b493111d182b70000e829fbfe/frameset.htm
Regards,
Raghav -
Update existing marketing documents with price changes
I am looking for a way to auto update sales order prices when the item price list changes. is this possible? I havent been able to find a way to change the price on an existing marketing document automatically.
Gordon is correct, you need to do it manually. However there is a quick and easy way to update a whole document in one hit...
Open the document, hit form settings, change the price list to a different one, hit OK, it will then ask if you want to update, it doesn't really matter if you say yes or no at this stage. Then go back into form settings, change the price list back again, hit OK and this time when it asks you if you want to update, make sure you say yes.
This will update the document pricing to reflect the current pricing in the price list you have selected. -
Activate Change Document Check box in Data Element "J_CHGKZ"
Hi experts,
Our developer want to activate the change document for the data element "J_CHGKZ". The access key has been applied. We have tried to activate the change document check box in SE11, but the change box is disabled even in change mode. Has anyone come across this before and does anyone have a solution to this?
ThanksHi,
SAP does not allow to use change management for date, time fields. Thats the reason for not allowing change to BDTER field.
Hope that answers your question.
Thanks
Pavan -
Item text (BSEG-SGTXT) is not getting updated in Payment document generated
Hi All,
Item text (BSEG-SGTXT) is not getting updated in Payment document generated through F110.
After generating the payment document via Transaction Code u2013 F110, system is not updating the
Text field (BSEG-SGTXT) in the payment document with the text that we have entered in the Invoice (MIRO or FI Invoice).
In case of manual payment (F-53) we can input the text manually hence that will get updated in
payment document but this thing is not possible with F110.
How can I update it?
Is there any configuration for that?
Thanks
Daniel DortaHi All,
I've applied the two notes as recommended. However, when I run FBL3N for payment run items, the Text field is update with wrong data, i.e. not from the Text field in FB60
Thus, I'll like someone to help me with what should exactly be done on the 'Step', 'Pre-requisite' and 'Substitution' side of the Substitution rule (TCode GGB1), I did not fill anything in the Pre-requisite box - is this right?
Thanx in advance. -
Getting error while updating data element using Xquery Automator
Hi,
I am getting following error while i am trying to update a data element in my task.
<Nov 28, 2011 5:02:40 PM IST> <Error> <oms> <BEA-000000> <automation.AutomationDispatcher: Failed to execute
on/plugin/external/ACOI_TMIP_POC/1.0.0/CLARIFY_Task.automatedtask.acoi_tmip_poc.ResponseAutomation] due to E
hile running Script resource [file:///D:/AshishWorkspace_WithOrchestration/ACOI_TMIP_POC/resources/CLARIFY_R
exception location: ; SystemID: module with no systemId*; Line#: 15; Column#: -1*
com.mslv.oms.automation.AutomationException: Exception thrown while running Script resource [file:///D:/Ashi
rchestration/ACOI_TMIP_POC/resources/CLARIFY_Response.xquery]; exception location: ; SystemID: *module with
e#: 15; Column#: -1
the Xquery that i am using is pretty simple:
declare namespace automator = "java:oracle.communications.ordermanagement.automation.plugin.ScriptSenderContextInvocation";
declare namespace context = "java:com.mslv.oms.automation.TaskContext";
declare namespace log = "java:org.apache.commons.logging.Log";
declare namespace oms="urn:com:metasolv:oms:xmlapi:1";
declare namespace prop = "OSM_POC";
declare variable $xmlnsosm7POC := "";
declare variable $log external;
declare variable $automator external;
declare variable $context external;
let $CLFY_XML := //CLFY_XML
let $Id_Number :=//Id_Number
return
automator:setUpdateOrder($automator,"true"),
log:info($log,fn:concat('ID request number is: ', $Id_Number)),
<ord:OrderDataUpdate xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:odu="http://www.oracle.com/OMS/OrderDataUpdate" targetNameSpace="http://www.oracle.com/OMS/OrderDataUpdate" xmlns:ord="urn:com:metasolv:oms:xmlapi:1">
<ord:Add path="/CLFY_ID">{data($Id_Number)}</ord:Add>
</ord:OrderDataUpdate>
Can anyone please tell me the reason due to which this error is coming.
Thanking in advance
Ashish GargHello.
Ok I need you to tell me a little bit more about your automator, did you config an Xquery Automator with Event Type: Internal?
You should declare namespace automator = "java:oracle.communications.ordermanagement.automation.plugin.ScriptReceiverContextInvocation";
instead of
declare namespace automator = "java:oracle.communications.ordermanagement.automation.plugin.ScriptSenderContextInvocation";
And let my ask you, what are you trying to do with the next lines:
let $CLFY_XML := //CLFY_XML
let $Id_Number :=//Id_Number
Becouse I think you are trying to acces the data on the task, If that is the reason, you should better use something like:
let $order := ..//oms:GetOrder.Response
let $orderId := $order/oms:_root/oms:orderHeader/oms:orderId
with the above lines you are accesing the data that has been added to the task and the just acces the node that you nedd, for example here Im accesig the node
orderId under OrderHeader
Another thing is that if you want to update node which already exists in the task data, then you have to use something like:
<OrderDataUpdate xmlns="http://www.metasolv.com/OMS/OrderDataUpdate/2002/10/25">
<Update path="/orderHeader/orderId">{$orderId}</Update>
</OrderDataUpdate>
But if you have to add a new path you should have something like this:
<OrderDataUpdate xmlns="http://www.metasolv.com/OMS/OrderDataUpdate/2002/10/25">
<Add path="/OrderHeader">
<Transaction>
<Name>{$orderId/text())}</Name>
<ComponentKey>{$controlData/text()}</ComponentKey>
</Transaction>
</Add>
</OrderDataUpdate>
For the above transaction you should have in the dictionary the structure, OrderHeader in the root, and inside this the structure another node with the respective names
<Transaction>
<Name>{$orderId/text())}</Name>
<ComponentKey>{$controlData/text()}</ComponentKey>
</Transaction>
Another thing is that you should have all this structures in the Task Data of this Task.
Hope this help
Lucas. -
Custom Fields in BSEG not updating on FI document post
Hello Experts
I'm facing a problem when posting FI documents. I'm using BAPI_ACC_DOCUMENT_POST and passing some Z fields using Table Extension2 (bapiparex). The problem is that the Z fields are not getting updated.
BADI_ACC_DOCUMENT is implemented and working. In debug, I can see that the BADI is working as it should. Furthermore, It was already working for older developments in the same machine.
This problem is only happening in Development machine (DEV). In Quality machine (QAS) everything is working fine. Because my program is still in development, I can't transport it to QAS to see if it works there.
The problems are now the following:
- Older developments aren't updating the Z fields in BSEG
- My new development isn't updating Z fields in BSEG
- Manual posting in FB01 updates the fields
What I have done so far:
- Checked my program codding (it's ok)
- Checked BAPI BADI_ACC_DOCUMENT (it's also ok)
- Checked all user exits being used on this machine that could be clearing this fields - In all of the implemented exits, none of them refers to this problem
- Checked all implemented BTE's - In all of the implemented BTE's, none of them refers to this problem
- Searched for differences between SAP releases on DEV and QAS machines - All components have the same release
- Checked for differences (activation, structure, source code, etc) of structure bapicobl_ci, ci_cobl, table bseg, BADI's being used, etc...
What am I missing here? I think I have done everything that could explain this behavior and still have no answers...
Thanks in advance, best regards,
João ArgêncioHi,
in BAPI_ACC_DOCUMENT_POST there is a part
PERFORM call_customer_function
TABLES extension1.
PERFORM call_badi
TABLES extension2.
for the extensions. Seems that there has to be filled a BADI implementation too to get the extension2 data into bseg.
BADI interface is IF_EX_ACC_DOCUMENT, used method should be method CHANGE.
Regards,
Klaus
Edited by: Klaus Babl on Apr 1, 2011 11:54 AM -
Hi All, We are trying to update COPA-KNDNR with the value posted into BSEG-ZUONR. The scneario is from the F104 transaction, posting of doubtful debt provisions where customer number is updated into BSEG-ZUONR and we wish to update COPA with this value so that the provision appears at customer level. Can anyone help?
ThanksHi Richard
I have not done this with an automatic transaction like F104, but you can post through Fi to PA directly. If it is the expense account, not the provision acc.
In transaction OKB9, tick the PSG (profit segment) on the relevant account. Create a field status variant for the account to post to the profitability segment mandatory and assign to account master data in FI
Then create a derivation rule in PA. Select new rule, select table lookup. Table BSEG enter
In the assignment section fill in ZUONR = CO-PA - KNDNR
If this doesn't work, you can create a characteristic group in PA and assign the transaction for FI and select the relative fields that can be filled by the FI entry without intervention from the user.
Hope this helps. Please assign rewards if it does.
Kind regards
Dawn -
Update Supplier details on iSupplier Portal - Impact on existing Purchasing Documents
I would like to understand the impact of updating Supplier details on iSupplier Portal on the existing Purchasing documents like POs, BPAs.
Hi,
I think you won't be able to pay for the existing purchasing documents if you end-date a site/address using supplier profile of the iSupplier. Updates to the bank information will have a payment impact as well.
It is always advisable to close the open purchasing documents prior to closing/deactivating a supplier.
You may also perform supplier merge to transfer open purchasing documents to a active supplier and then close/deactivate site, bank etc.
Thanks,
PS. -
Update BSEG-ZUONR with VBRK-BSTKD
Hi experts,
This enhancement will kick in in real time when ever a billing document is generated and it involves posting into accounting.
Update BSEG-ZUONR with VBRK-BSTKD .
I need the substitution rule exit details.
Plz can u tell me that whether I can get BSEG-BELNR value into this substitution rule exit or I should go for something else.
<removed by moderator>
Thanks
Edited by: Thomas Zloch on May 3, 2011 3:17 PM - urgency reducedHi
In my opinion, it will be easier with an enhancement. See Note 301077 - User exits for the interface to accounting. Depending of what kind of item you want update, you can write this code:
xaccit-zuonr = vbrk-bstkd.
In the corresponding ZX* include.
I hope this helps you
Regards
Eduardo -
Which BAPI to update assignment number(BSEG-ZUONR)
Hi All,
I need to update a BSEG-ZUONR.
I guess update is not the best way since i want to update in all related tables.
Could you please let me know the BAPI through which besg-zuonr field can be updated.
Regards,
DashHi,
This field you can control in Copying Control for Billing Doc(header) as target.
Check Tcode VTFL(Delv to Bill), VTFA (order to bill) & VTFF (Bill To Bill)
You can find the assignment/allocation number under additional information in the (document) line item that is forwarded from SD to FI. If the field was not filled in the order, you can determine the content of the field in this step:
1. A:Customer purchase order
2. B:Sales order number
3. C:Delivery number
4. D:External delivery number
5. E:Actual invoice number
If you do not make an entry and the field is not filled in the order, the field remains empty.
If you would like to link the delivery to invoices in accounting (which is necessary in the self-billing procedure), enter 'C' for the relevant invoices.
I hope this can assist you.
regards,
Ravi -
How many type of data element exist
How many type of data element exist.
SaurabhHi,
Data Element Types
Introduction
The following tables identify and describe the valid data element types that may be specified for the -type option. The first table covers some general data element types. The remaining tables cover data element types specific to each diagram type identified in the Diagram Types table above.
General Data Element Types
The following table covers some general data element types.
Data Element Type Description
Actor Actors on CCDs and DFDs
Class Classes on CDs, CCDs, and STDs
Event Events on SDs and STDs
External Actors on CCDs and DFDs
Flow Control Flows, Data Flows, Result Flows, and Update Flows
Interface Communication Messages, Control Flows, Data Flows, Event Messages, Result Flows, and Update Flows
Message Communication Messages and Event Messages
AD Data Element Types
The following table identifies and describes the data element types for the Activity Diagram (AD).
Data Element Type Description
ADAction Actions on ADs
ADEvent Events on ADs
ADState States on ADs
ActionState Action States
ObjectInState Objects In States
CD Data Element Types
The following table identifies and describes the data element types for the Class Diagram (CD).
Data Element Type Description
ActualType Actual Types
AssocClass Association Classes
CDAggregation Aggregations on CDs
CDAssociation Associations on CDs
CDClass Classes on CDs
CDComposition Compositions on CDs
CDContainer Containers on CDs
CDGeneralization Generalizations on CDs
CDInterface Interfaces on CDs
Package Packages
Propagation Propagations
TemplateClass Template Classes
CCD Data Element Types
The following table identifies and describes the data element types for the Class Communication Diagram (CCD).
Data Element Type Description
CCDActor Actors on CCDs
CCDClass Classes on CCDs
CCDContainer Containers on CCDs
ComMessage Communication Messages
Subject Subjects
COD Data Element Types
The following table identifies and describes the data element types for the Collaboration Diagram (COD).
Data Element Type Description
CODActiveObject Active Objects on CODs
CODActor Actors on CODs
CODMessage MEssages on CODs
MultiObject MultiObjects
NaryLink N-ary Links
RoleEnd RoleEnds
RoleStart RoleStarts
CPD Data Element Types
The following table identifies and describes the data element types for the Component Diagram (CPD).
Data Element Type Description
CPDComponent Components on CPDs
CPDInterface Interfaces on CPDs
DFD Data Element Types
The following table identifies and describes the data element types for the Data Flow Diagram (DFD).
Data Element Type Description
ControlFlow Control Flows
DataFlow Data Flows
DataProcess Data Processes
DataStore Data Stores
DFDActor Actors on DFDs
ResultFlow Result Flows
UpdateFlow Update Flows
DPD Data Element Types
The following table identifies and describes the data element types for the DeploymentDiagram (DPD).
Data Element Type Description
ActiveObject ActiveObjects
Connection Connections
DPDActiveObject Active Objects on DPDs
DPDComponent Components on DPDs
DPDObject Objects on DPDs
Node Nodes
NodeInstance Node Instances
MGD Data Element Types
The following table identifies and describes the data element types for the Message Generalization Diagram (MGD).
Data Element Type Description
MessageDef Message Definitions
SD Data Element Types
The following table identifies and describes the data element types for the Sequence Diagram (SD).
Data Element Type Description
Object Objects
SDInitiator Initiators on SDs
SDMessage Messages on SDs
SDObject Objects on SDs
STD Data Element Types
The following table identifies and describes the data element types for the State Transition Diagram (STD).
Data Element Type Description
CDClass Classes on CDs associated with the STD
EventMessage Event Messages
STDAction Actions on STDs
STDClass Classes on STDs
STDEvent Events on STDs
STDState States on STDs
UCD Data Element Types
The following table identifies and describes the data element types for the Use Case Diagram (UCD)
Data Element Type Description
DirectedComm Directed Communication Association
UCDActor Actors on UCDs
UndirectedComm Undirected Communication Association
UseCase Use Cases
Reward If Helpful
Regards Madhu -
How to add a new data element for existing table filed(Primary key field)
Hi Experts,
How to add a new data element for existing table field(Primary key field)
For this filed ther is no foreign key relation ships and even check table.
while activating table it is giving message like below.
can you help any one to solve this and wil steps to add new dataelement for existing primary key filed of a table.
Check table (NAMING SPACE/TABLE NAME(EX:/TC/VENDOR)) (username/19.02.10/03:29)
Primary key change not permitted for value table /TC/VENDOR
Check on table /TC/VENDOR resulted in errors
Thanks
RaviHi,
Easiest way is to download the table eg into an Excel table (if possible) or text table. Drop the table from the database. Build your table with the new key field. Build the database table again and fill it.
You can do it also over the database into a new table. Drop the old one. Build the enhanced one and fill it. Afterwards drop your (temporary) table.
Maybe there are other ways, but this works.
Success,
Rob -
Wondering if I should update my Mac Notebook which is a 10.6.8 versions to the newest Mountain Lion version? What are the positive and negatives about the new version? Also if I update will I loose all the date on my computer like documents, music, pictures etc..?
First check the Compatibility of your Mac...
Upgrade to Mountain Lion
Then... Before attempting any Major Upgrade... get yourself an External Hard Drive... and create a Bootable Clone Backup of your current Hard Drive...
By far the easiest way to make such a Backup, is to use something like
SuperDuper http://www.shirt-pocket.com/
or CCC http://www.bombich.com/
That way, should anything untoward happen during the Upgrade,
you will NOT LOSE ANYTHING.
(Get an EHD that is at least equal to your current Drive...)
Also, Check here for compatibility of 3rd party Software you may be using...
http://roaringapps.com/apps:table
Maybe you are looking for
-
Anyone have any idea why I can't get my popupmenu to work? I have two sets of data, one we'll call code groups and the other group items. I simply want the group items to be a submenu of their group. I can get exactly one group item to slide out,
-
Apple TV, iTunes match and multiple apple IDs
My husband and I recently got Apple TV and also converted from MobileMe to iCloud. We each have our own unique Apple IDs that we each use to purchase from iTunes. We also set up a shared Apple ID to create Home Sharing so that we could access our m
-
Help Finding an Audio Interface
So I'm looking for a device that can take an output from my mac pro (through either usb or maybe optical) and can send it to my two KRK Rokit 5's and my KRK Sub through XLR. Also it needs to have a 1/4" jack to plug my KRK KNS 8400's into. Can someon
-
HT3708 Can I not paste a URL into the field? It keeps beeping at me.
Whenever I try to paste a URL into the link field, I get the beep alert. Does Apple seriously expect people to type in entire URLs?
-
Extending bom-config.xml for ECO 5.0 CRM does not work
hi, I want to add a new BusinessObjectManager to my application. So I created a file bom-config.xml in directory xcm/customer/configuration and added the following lines to it: <BusinessObjectManagers xmlns:isa="com.sapmarkets.isa.core.config" xmlns: