Object Hierarchy
Advertise Links
Table | Accounting Document Segment | |
Field | Assignment number | |
Position | 44 |
Field Attributes
Key | ||
Mandatory | ||
Data Element | Assignment number | |
Check Table | ||
Nesting depth for includes | 0 | |
Internal ABAP Type | Character String | |
Internal Length in Bytes | 18 | |
Reference table | ||
Name of Include | ||
Reference Field (CURR or QTY) | ||
Check module | ||
NOT NULL forced | Any NULL or NOT NULL | |
Data Type in ABAP Dictionary | Character String | |
Length (No. of Characters) | 18 | |
Number of Decimal Places | 0 | |
Domain name | Assignment number | |
Origin of an input help (F4) | No input help exists | |
DD: Flag if it is a table | No / FALSE | |
DD: Depth for structured types | 0 | |
DD: Component Type | Data element | |
Type of Object Referenced | No Information | |
DD: Indicator for a Language Field | Not selected as language field | |
Position of the field in the table | 44 |
Last changed by/on | SAP | 20140121 |
SAP Release Created in |
SAP Table Diagram
Related Links
- Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers
- Advertising & Talent Reach devs & technologists worldwide about your product, service or employer brand
- OverflowAI GenAI features for Teams
- OverflowAPI Train & fine-tune LLMs
- Labs The future of collective knowledge sharing
- About the company Visit the blog
Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Get early access and see previews of new features.
Update BSEG-ZUONR with Function Module
I successfully change BKPF-BKTXT with FM CHANGE_DOCUMENT but why can't I change BSEG-ZUONR with FM CHANGE_DOCUMENT too?
Here's the FM CHANGE_DOCUMENT :
Here's the code to change BKPF-BKTXT (succeeded):
Here's the code to change BSEG-ZUONR (failed):
- Did you try debugging this function module to see where the problem might be? – Jagger Commented Nov 19, 2015 at 7:49
- @Jagger yes, and it turns out that the t_bkpf has to be declared too if we wanted to update the BSEG – Marsha Commented Nov 19, 2015 at 8:33
- So the problem has been solved? If yes, then please post an answer to your own question, so that if someone comes across the same issue in the future, he can find your solution. – Jagger Commented Nov 20, 2015 at 7:19
3 Answers 3
As author has no time to confirm, I can do this for him as I just tested this case. If we pass to FM all parameters from its signature the update runs smoothly. For example, like this:
All FM table parameters except the last one are mandatory .
Do not use this FM
This FM is changing all other fields to initial if not provided.
It seems that this FM cannot be used to change line item which has account type ( BSEG-KOART ) - 'S' (GL Account).
Try this FM :
- Please format code as code (and not as normal text). – Binarus Commented Sep 10, 2018 at 7:25
The field zuonr references to an object it belongs to. For example a purchase order.
Lets asume you pay a position of a purchase order. A document in bkpf/bseg is created (and more). Bseg-Zuonr contains the number of this purchase order position.
If you were allowed to change this field, you would destroy the referential integrity of the data. It would point to a purchase order position it was not created from or one that doesn't exist at all.
So from a business standpoint it makes no sense to ever change this field after it is created, therefore SAP will never allow to change it.
Your Answer
Reminder: Answers generated by artificial intelligence tools are not allowed on Stack Overflow. Learn more
Sign up or log in
Post as a guest.
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy .
Not the answer you're looking for? Browse other questions tagged abap sap-erp bapi or ask your own question .
- The Overflow Blog
- Mobile Observability: monitoring performance through cracked screens, old...
- Featured on Meta
- Announcing a change to the data-dump process
- Bringing clarity to status tag usage on meta sites
- What does a new user need in a homepage experience on Stack Overflow?
- Feedback requested: How do you use tag hover descriptions for curating and do...
- Staging Ground Reviewer Motivation
Hot Network Questions
- Should you refactor when there are no tests?
- Is this measure of how insincere my path marker is always differentiable?
- Took a pic of old school friend in the 80s who is now quite famous and written a huge selling memoir. Pic has ben used in book without permission
- Is getting home just before Tzeit Kochavim considered Shabbos violation?
- Does measuring a quantum object collapse the wave function even if the particle is not found in the position where it was measured?
- Do eternal ordinances such as the festival of unleavened bread pose a biblical contradiction?
- Is it illegal to use a fake state ID to enter a private establishment even when a legitimate ID would've been fine?
- Manually number theorems natively in Lyx
- Coding exercise to represent an integer as words using python
- What does ציר"ו stand for?
- decode the pipe
- World Building Knowledgebase - How to write good Military World Building
- Is a company liable for "potential" harms?
- What is this 3 terminal white + grey surface mount device?
- Best way to explain the thinking steps from x^2 = 9 to x=±3
- How specific does the GDPR require you to be when providing personal information to the police?
- Does an airplane fly less or more efficiently after an mid-flight engine failure?
- Word for a collection of awards, such as an Olympic athlete’s earned medals
- A SF novel where one character makes a "light portrait" of another one, with huge consequences
- Are there probabilistic facts of the matter about the universe?
- Fast way to test if an argument is an integer in LaTeX3?
- Doesn't counting hole and electron current lead to double-counting of actual current?
- If you switch to a non-orthogonal basis, are vectors that were previously orthogonal still orthogonal?
- Do passengers transiting in YVR (Vancouver) from international to US go through Canadian immigration?
ZUONR is a standard field within SAP Cluster BSEG that stores Assignment Number information. Below is the list of attribute values for the ZUONR field including its length, data type, description text, associated data element, search help etc... You could also view this information on your SAP system if you enter the table name BSEG or data type ZUONR into the relevant SAP transactions such as SE11 or SE80 etc. Also check out the Contributions section below to add and view useful hints, tips and screen shots specific to this SAP table field.
Key data for field BSEG-ZUONR
Below is everything you need to know about the SAP zuonr field in table BSEG, Including example ABAP code to show you how to select data, attributes/info such as that it is a none Key Field of table BSEG and that it stores Assignment Number
Attributes of ZUONR field in SAP Table BSEG
Main Cluster: | BSEG |
Short Description: | Assignment Number. |
Position of field in table: | 0044 |
Keyfield: | No |
Application Class: | FB |
Mandatory: | No |
Check table: | |
Used for foreign key relationship so that entries are restricted to those that appear within the primary key of the check table. | |
Memory ID: | |
Data type | CHAR |
Field Length | 000018 |
Number of Decimals | 000000 |
Internal type(i.e. C,I,N): | C |
Internal Length(in Bytes): | 000036 |
Reference table: | |
Can field have NULL value?: | No |
Data Element / Component Type: | |
Domain name: | |
Reference field for currency/qty fields: | |
Origin of Search help: | - No input help exists |
No input help exists for this field | |
Search help attached to field: | |
Is field a table (i.e. nested table): | No |
Depth for structured types: | 00 |
Component Type: | Data Element |
Is allocated Language Field?: | |
If a table/structure contains more than 1 language field (i.e. data type LANG) this flag denotes which one is used for the text language | |
Object Referenced type: | |
Position of field in database: | 0044 |
Check table name of the foreign key: | |
Cardinality of a relationship: | |
Short text: | |
Message for unsuccessful foreign key check: |
Below is the field in the previous position and the next position of table BSEG
Comments on this SAP object
2004238 - Field Assignment (BSEG-ZUONR) is not derived according to the sort key when you create a new document with T-code: FBR2
You are trying to create a new document by referring to an existing document with T-code: FBR2. You change the account information which has different sort key in one line item. You expect the system to derive the assignment field according to the new sort key, but system still uses the value in the original item.
Environment
- Financial Accounting (FI)
- SAP R/3 Enterprise 4.7
- SAP ERP Central Component
- SAP enhancement package for SAP ERP
- SAP enhancement package for SAP ERP, version for SAP HANA
"Reference document" , KBA , FI-GL-GL-A , Posting/Clearing , Problem
About this page
Search for additional results.
Visit SAP Support Portal's SAP Notes and KBA Search .
Privacy | Terms of use | Legal Disclosure | Copyright | Trademark
IMAGES
VIDEO
COMMENTS
You look for information how the fields BSEG-ZUONR and BSEG-HZUON are filled. SAP Knowledge Base Article - Preview ... SAP ERP Central Component 6.0 ; SAP S/4HANA Finance 1605 ; SAP Simple Finance add-on 1.0 for SAP Business Suite powered by SAP HANA ; SAP Simple Finance, on-premise edition 1503 ... on-premise edition 1503 Keywords. BSEG-ZUONR ...
ZUONR : Assignment number: Origin of an input help (F4) No input help exists : DD: Flag if it is a table : No / FALSE : DD: Depth for structured types : 0 : DD: Component Type : E : Data element : Type of Object Referenced : No Information : DD: Indicator for a Language Field : Not selected as language field : Position of the field in the table ...
The sub rule seems to happen after the auto clearing functionality, so our users have to run F.13 to clear the line items. It doesn't clear during bank statement processing. Hi gurus SAP populates the BSEG-ZUONR (assignment) field with the KUKEY and running transaction number values upon upload of electronic bank statement in MT940 format.
When posting BOE payment with transaction F-36, the 'Assignment' field (BSEG-ZUONR) is always filled internally by system for the check/bill of exchange items. SAP Knowledge Base Article - Preview ... SAP ERP 6.0 ; SAP R/3 4.6C ; SAP R/3 Enterprise all versions ; SAP S/4HANA all versions ; SAP enhancement package for SAP ERP all versions ; SAP ...
The field BSEG-ZUONR (Assignment) is not populated from the corresponding vendor line item in the GR/IR accounting document after the invoice posting. Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is pu
Hi gurus SAP populates the BSEG-ZUONR (assignment) field with the KUKEY and running transaction number values upon upload of electronic bank statement in MT940 format. I have a requirement whereby the BSEG-ZUONR field is to be populated with a particular value in the MT940 message, in LABEL 86. This value has a special reference in our solution and is mandatory, but it appears that the bank ...
The field zuonr references to an object it belongs to. For example a purchase order. Lets asume you pay a position of a purchase order. A document in bkpf/bseg is created (and more). Bseg-Zuonr contains the number of this purchase order position. If you were allowed to change this field, you would destroy the referential integrity of the data.
Cause. Using the sort key 010/014 will work only if the PO number (EBELN) is filled on the supplier line item (BUZEI = 001), then the content can be copied to the assignment field. The PO number will not be copied to supplier line item automatically as this may not be unique in the process.
ZUONR is a standard field within SAP Cluster BSEG that stores Assignment Number information. Below is the list of attribute values for the ZUONR field including its length, data type, description text, associated data element, search help etc... You could also view this information on your SAP system if you enter the table name BSEG or data ...
Visit SAP Support Portal's SAP Notes and KBA Search. Payment document is generated in transaction F110. The field BSEG-ZUONR 'Assignment' is empty in bank G/L account line item. "Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincid.
Cannot add "Assignment field" (BSEG-ZUONR) as special field. Home; ... Financial Accounting Global Settings; Cannot add "Assignment field" (BSEG-ZUONR) as special field; Financial Accounting ... If you do not have an SAP ID, you can create one for free from the login page. Log on
Visit SAP Support Portal's SAP Notes and KBA Search. You reverse a bill of exchange document via FBW4. The assignment field (BSEG-ZUONR) of the reversed document is blank. "Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
You expect the system to derive the assignment field according to the new sort key, but sy. SAP Knowledge Base Article - Preview. 2004238-Field Assignment (BSEG-ZUONR) is not derived according to the sort key when you create a new document with T-code: FBR2. Symptom. ... SAP R/3; SAP R/3 Enterprise 4.7; SAP ERP Central Component; SAP ERP;