on 12-16-2013 6:23 AM
Hi Gurus,
Requirement is, we have one material code of Spare Parts but plant wise difference PO text
Scenario is, one Spare Parts of material suppose ABC but this material technical specification is difference as per plant wise. This technical specification requires for when purchase the material, same text will be pickup in PR & PO for help the purchase dept.
Please guide me.
Devendra
Better Option is when we create a Purchase Requisition and in material description , we can add the things required and from that PR we can create PO .
In the PO , what the description we are maintaining in PR that will come in PO and also in the printing .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Moderator message:
Take help of an ABAPer or take an ABAP training.
If you want self study ABAP then you can find plenty stuff in the ABAP space and in help.sap.com and other web sites. But do not expect to get the ready to use coding here, or even a full ABAP training as a reply to a discussion.
Discussion locked.
the right place for plant specific text without need to change anything in output programs is the info record
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
this would require a modification, and a modification would have a negative impact on the performance of a MRP run.
Please read also OSS note 27136 - Purchase requisitions from planning: Text not copied
All long text is stored in table STXH and STXL. The key of this table is Text object , the text ID , the language, and a combination of material number and plant in case of material memo.
Just create one text manually, in the text editor choose from menu GOTO > header and you will see all those info that you need.
To fetch this data you have to make use of function module READ_TEXT
Hi,
You may use the FM: Read_text for fetching the text. You can use the FM using the text id: LTXT, Language: EN, Object: MDTXT and name as your material code (in 18 digit length) and plant as shown below:
Foe the "Name" field format, you may check the table STXH with object name MDTXT and ID: LTXT.
Regards,
AKPT
Hi,
We have gone through the reply given by you and our requirement is in MRP4 view of material master there is a button labelled material memo in this we can give the text required example specifications.
After that using Above mentioned Bapi we need to display that text automatically from material memo in purchase requisition material po text in item level.
Using the above given we can fetch the data using FM read_text by giving required fields and my requirement is how to make it display in that particular material po text field.Can you provide me a sample code to read text and then write in standard PR particularly.
Many Thanks,
Devendra.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for response,
As suggested, I have maintained the text in MRP4 view - Material Memo but that text isn’t pickup in PR in text tab. And which you have given FM: Read_text this is using for report / printout.
Info records also checked and maintained the text in purchase info records by vendor, plant and material number, but same text isn’t pickup in PR in text tab. Info record it isn’t work here because Vendor not fixed.
But client requirement, that text details it is pickup in PR in item text because putting the requirement they should be check.
Devendra
no way without modification, PR is internal, and if your material is already internally different, then you better create 2 different materials.
The memo field will not go to the PO without modification either
The info record text is taken in the PO, you may only check once if the info record is maintained properly, then you can usually trust your masterdata
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
14 | |
10 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.