Skip to Content
author's profile photo Former Member
Former Member

BAPI

Hi,

iam working BAPI Vendor request.Already this object exits,Iam doint some validations.I have stuck up one point.Below i mentioned that point.

For Main Vendors Account Group (ZFELFA1-KTOKK = ‘0001’), if any of the following fields are null, populate that null field with the corresponding value below into the ZFELFM1 table. If the fields are not null, do not peform the following:

LFM1-INCO1 (Incoterms (Part 1) = ‘FOB’

LFM1-INCO2 (Incoterms (Part 2)) = ‘PLANTSITE’

LFM1-MEPRF (Price Deter.(Pricing) Date Control) = ‘3’

LFM1-KZAUT (Auto. Gen. of Purchase Order Allowed) = ‘X’

LFM1-LEBRE (Ind. for Service-Based Invoice Verif.) = ‘X’

Please exian what is the logic with code?

Thanks & Regards,

sudhakar goud

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on May 31, 2007 at 06:19 AM

    Hi,

    if ZFELFA1-KTOKK = ‘0001’.

    if LFM1-INCO1 = space.

    LFM1-INCO1 (Incoterms (Part 1) = ‘FOB’

    endif.

    if LFM1-INCO2= space.

    LFM1-INCO2 (Incoterms (Part 2)) = ‘PLANTSITE’

    endif.

    <b>.

    .

    .</b>

    endif.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 31, 2007 at 06:06 AM
    18

    hi,

    which bapi are you using?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.