cancel
Showing results for 
Search instead for 
Did you mean: 

Automated insertion of text into Sales order header

Former Member
0 Kudos

Hi Guru's,

we are recently working on specific request for automated creation of sales documents.

On each sales order there is a need to update specific fields on header level with default values - no problem.

There is also need to insert specific text into Header text: "Service reendered YYYY-MM-DD" into each single order generated by this automated way.

Do you know any functionality that we can implement into our solution or any other solution which is coming to your mind?

THANK YOU!!!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You are having the Service Rendered date at Header > Billing Document then why are you looking for Text.

You can get default date through Screen variant but it would be helpful only when the Service Rendered date is different for different Sales Document Types.

Best Regards,

Ankur

Former Member
0 Kudos

Well the specification states that the "Services Rendered YYYY-MM-DD" must be present in the Sales order header. This should apply only on Intercompany Sales documents which are generated only at the end of each month....so the whole proces should look that there is an automated processing which generates Intercompany Sales documents and at the same time it also updates header fields and inserts something into Header text field. We are looking for either some FM which is able to handle the text insertion or anything that may help.

gomatheeswaran_palaniappa
Active Contributor
0 Kudos

Hi

Please try with the following user exits.

USEREXIT_MOVE_FIELD_TO_TVCOM_H

You can use this user exit to influence text determination for header texts. For example, you can include new fields for text determination or fill fields that already exist with a new value.

USEREXIT_MOVE_FIELD_TO_TVCOM_I

You can use this user exit to influence text determination for item texts. For example, you can include new fields for text determination or fill fields that already exist with a new value.

Regards,

P Gomatheeswaran.