cancel
Showing results for 
Search instead for 
Did you mean: 

Assignment field(ZUONR) data at clearing

bunchofquestions
Participant
0 Kudos

Hello Experts,

I have a question on the assignment field(ZUONR) when I do the clearing for 2 open items.

I have 2 open items for a certain customer, one is an account receivables and another a down payment for customer. 

And above 2 open items have a certain data at each assignment field(ZUONR) to identify each open item.

I'd like to clear above 2 items, so I go into the transaction FB05, select 2 items and simulate that document.

At that time, when I look into each line item, there is no data at each assignment field even though the original document has a certain data at each assignment field.

Namely, each assignment field is all blank.

I wish the clearing document has the data at each assignment field that the original document has.

Is there anyone who can solve this issue?

Thanks.

BR,

Chris

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member222241
Active Contributor
0 Kudos

Hi,

In order to populate same assignment field (ZUONR) in both the documents Sort Key should be same in the G/L master.

You can try following Sort keys

1. 031    Customer number

2. 024    Document header text

Else you can create your own sort key through transaction code OB16.

In this give

1. Sort key in Enter Sort key

2. Enter Description - In this enter description of Sort Key.

3. Enter Field1 - In this enter field name.

Hope your issue is resolved else revert.

Regards,

Tejas

bunchofquestions
Participant
0 Kudos

Hello Tejas,

Even though I assigned any kind of sort key including your comment, the assignment value won't copy yet.

I guess this problem has nothing to do with a sort key.

Thx.

BR,

Chris

surendra_kotha
Explorer
0 Kudos

Hi Kris,

Value of Assignment field in the line item will come through Sort key assigned to the line item GL account. you are clearing the two line items manually through f-32... Clearing document also will have assignment number based on the sort key of the GL account..  But in your case for the Original Line items Assignment field is not getting updated with sort key it is updated with another means....such as in SD billing we can tell the system assignment field is equal to Sale order number / billing doc number.

there is no standard setting for clearing document assignment field is copied from the original line item.

but any how your original line item is filled with the clearing document number in the table BSAD... so there is a link between Original item and clearing doc....so there is no point of assignment field use for the clearing document number.

Thanks,

Surendra.

bunchofquestions
Participant
0 Kudos

Hello Surendra,

Thanks for your comment.

What the important thing in your comment is that there is no standard setting for clearing document assignment field is copied from the original line item I guess.

I need to find out another way to solve this problem.

Thanks again.

BR,

Chris

Former Member
0 Kudos

Hi Chris,

You can handle this in two ways:-

1. You can use BTE 1120 - GUI Call up at Line item level to populate the assignment fields of the clearing document.

OR

2. You can write substitution in FI, and use user exit to write your custom logic.

In standard, Surendra has rightly pointed out..it is not possible.

Hope this helps,

Regards,

Kavita

bunchofquestions
Participant
0 Kudos

Hello Kavita,

I solved this problem using the substitution as you mentioned.

Thanks.

BR,

Chris

former_member188028
Active Contributor
0 Kudos

Please check sap note 1761556, may be you are looking for this. Rgds MBN

bunchofquestions
Participant
0 Kudos

Hello Murali,

Your comment helps me so much.

I guess this note can solve my problem.

I appreciate your help.

BR,

Chris

Former Member
0 Kudos

Hi Chris,

For clearing two open items they should have the same assignment ,

please check whether they both have same assignments , then go to F-32 and clear the two open items.

Regards

Jerome


bunchofquestions
Participant
0 Kudos

Hello Jerome,

Above 2 open items have different assignment value and G/L account.

As I am going to do clearing for those items manually, I don't think this is an issue.

Clearing is OK when I do it at F-32 transaction, but the assignment value doesn't copy.

That is my problem.

Thx.

BR,

Chris