cancel
Showing results for 
Search instead for 
Did you mean: 

Item Text not copying into sales order with different sold to party- /Bill to / Payer

Kishorep
Participant
0 Kudos

We have a Requirement the details are as below. Request you inputs in solving this

We have a customized Item Text (Invoice Handling Instructions)

In the general scenario the item text "Invoice Handling Instructions" is copying from the customer master, Sold to Party partner function in the current     Scenario.

An Issue has been identified when the sold to party is different from the Bill to / Payer. Now we want to pull the Text " Invoice handling Instructions" from the 'sold to party', 'bill to party' and 'payer' if all these partner functions are different from each other

Scenarios

  1. Customer master having different bill to party/payer and text invoice handling instructions is different on SP/BP/PY. When Customer Master is entered in the sales document, different BP/PY are triggered.
  2. Customer Master having Different and multiple Bill to party/Payer and Text invoice handling instructions is different on SP/BP/PY. when customer master is entered a pop up come for selecting the PB/PY
  3. Customer Master having Same or different BP/PY and user changes BP/PY in the sales document manually at the time of saving the document in sales document processing.


Scenarios (for example)

ScenarioSold to party
Bill to partyPayer

Invoice Handling Ins(to pull from) into Sales Order

Comments

1ABCABCABCABCinvoice handling instructions to pull form ABC(sold to party)
2ABCXYZXYZABC & XYZinvoice handling Instructions to pull from ABC(sold to party) and XYZ(bill to party)
3ABCABC123ABC & 123

invoice handling instructions to pull from ABC(sold to party) and 123(Payer)

4ABCXYZ123ABC & XYZ & 123invoice handling instructions to pull from ABC(sold to party), XYZ(bill to party) and 123(payer)
5ABCXYZABCABC & XYZinvoice handling instructions to pull from ABC(sold to party) and XYZ (Bill to party)



Solution Tried

we Tried to active the above functionality with Data Transfer Routine but the Data transfer routine is not triggering when the user changes the BP/PY at the time of Sales Document Processing on before saving the Sales Document.


We Tried finding user exits but we could not find a appropriate USER Exit


  • USEREXIT_MOVE_FIELD_TO_TVCOM_I
  • USEREXIT_MOVE_FIELD_TO_TVCOM_H

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I doubt that you can copy all three different texts in single with customization. You need to append the texts one after the other, I don't know if SAP can do it.

For me, use READ_TEXT to read all the three different texts from customer master, append them in one single data object in ABAP and transfer that text to sales order. Ask your ABAPer to help you in this.

Also, the exit should trigger in VA02 as well, if user is changing the partner.

Answers (1)

Answers (1)

jobis
Contributor
0 Kudos

Hi,

In CMR, where are you maintaining this invoice handling instruction? Or which field of CMR is fetched to this text "invoice handling instruction'?

Are you using a user exit for this fetching now?

Reg

jobi

Kishorep
Participant
0 Kudos

CMR - Sales Area Data -(Menu - Extras - Texts) -

Table Name RTEXT

Field name TTEXT

Data Element TDTEXT

presently we are not using any User Exit - we could not find an appropriate user exit for our current requirement.

Regards,

kishore

jobis
Contributor
0 Kudos

DId you try using different text ids. for each partners (SP,BP, PY)  and then assigning them in the access sequence for your item text.

If thats not working, then create a new requirement routine with proper logic to consider the text id. when all these accesses have got values.

Regards

Jobi

Lakshmipathi
Active Contributor
0 Kudos

Try with Function Module READ_TEXT

G. Lakshmipathi