on 02-28-2006 10:48 AM
we are trying to populate long texts in customer invoice transaction (f-22) using the Idoc acc_document, which is not possible according to SAP standard code... looking for a solution
Thanks
Satyaki
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jose,
Option 1:
Fill the E1BPACEXTC (Container for 'Customer Exit' Parameter )segment with your texts and post the same using the Business transaction event.Assign a processing function module to the BTE in the table TPS01.
So basically your processing function module will be used to update the long texts.
Option 2.
Fill the segment E1BPPAREX (Ref. Structure for BAPI Parameter EXTENSIONIN/EXTENSIONOUT ) and process the same using BADI ACC_DOCUMENT.
I hope this helps you out.
Thank you.
Regards,
karun.M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jose,
I think you need to extend the IDOC Type ACC_DOCUMENT02.
Create a segment in that for the Long Text.
Create a Z-Wrapper to IDOC_INPUT_ACC_DOCUMENT. Pass the same import export table parameter as pass to FM IDOC_INPUT_ACC_DOCUMENT.
In the Z-Wrapper after processing the FM IDOC_INPUT_ACC_DOCUMENT call SAVE_TEXT with following options
Text Name <Text Name>
Language EN
Text ID 0001
Text object DOC_ITEM
Do rest of the settings required to call the Z-Wrapper FM.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create a new segment with the fields to populate the Longtext according to ur req. in WE31.
Add this segment to Extended IDOC type in WE30.
In exit fill the data.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.