Skip to Content

While creating or changing a purchase order,how to get the header texts value.

Hi,

There is a demand,While creating or changing a purchase order,when Payment Terms is a fixed value such as 'Z011', the header text -Terms of payment is to be required.

I know in MM06E005 Or BADI ME_PROCESS_PO_CUST ,I can get the PO header or items value which is entered by the user,but I have no idea about how to get the value of the texts such as Terms of payment or other header text.Is there some method be ignored?

Could U give any solutions to reselove this issue.

regards,

Mia.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Sep 04 at 04:58 AM

    Hi Sandra,

    Thank you for your reply.

    But I want to get the text that has not yet been stored in the databas ,maybe does not have a PO number.

    I have find a method in BADI ME_PROCESS_PO_CUST,I will check it:

    CALL METHOD im_header->if_longtexts_mm~get_text

    EXPORTING

    im_tdid = lv_id

    IMPORTING

    ex_textlines = it_lines

    ex_text_formatted = lv_tformat.

    regards,

    Mia.

    Add a comment
    10|10000 characters needed characters exceeded