2009 Apr 27 3:32 PM
Hello Guru ,
I am writing a program which can automaticatlly generate the material document .....
And i also need to update the material document header text ....
Has someone can tell me how to update the header text ?
I am using BAPI to generate the material document .
Thanks a lot .
Carlos Zhang
Hello Guru ,
I am writing a program which can automaticatlly generate the material document .....
And i also need to update the material document header text ....
Has someone can tell me how to update the header text ?
I am using BAPI to generate the material document .
Thanks a lot .
Carlos Zhang
2009 Apr 27 3:39 PM
Use the FM: SAVE_TEXT and COMMIT_TEXT to save the texts .
For this you need to find the text IDs for material document header texts (From the MB03 transaction)
Regards,
Ravi
2009 Apr 28 4:26 AM
Hi,
Use create_text to upload the material header text.
Regards
Kanishak
2009 Apr 28 4:54 AM
Hi,
Use SAVE_TEXT Function Module
The function module writes a text module to the text file or text memory, depending on the specific text object.
The module can be used to change existing texts and to create new texts. If it is clear that it is a new text, this can be specified via the parameter INSERT. The result is better performance as a test read is not performed.
2009 Apr 28 4:54 AM
The problem has been sloved .
In fact i want to update the MKPF-BKTXT this field ....
But in the other hand i can add this text when i create the material document through BAPI function ....
PROCESS EXECUTION WITH BAPI
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
GOODSMVT_HEADER = I_GOODSMVT_HEADER
GOODSMVT_CODE = '01'
TABLES
GOODSMVT_ITEM = I_GOODSMVT_ITEM
RETURN = I_GOODSMVT_RETURN.
It is in the goodsmvt_header parameter , i can assign the header-text .....
Thanks everyone .
Best Regards,
Carlos Zhang