Skip to Content
0
Former Member
Aug 22, 2007 at 06:00 PM

web dynpro Java BAPI_SALESORDER_GETLIST

31 Views

Hi Experts,

I have made a application in the webdynpro for java.

I uesd BAPI_SALESORDER_GETLIST , and i have selected filds as

1-Customer Name

2-Sales Organisation

when i depoly my application i got connected but my input field for customer name and sales orga is inactive thta time (<b>I have given hardcoded</b> ) , when i click button i got the result with out putting and input.

I have given hardcoded to get the result and i m getting the list with the defined user as

<b>public void Bapi_Salesorder_Getlist( )

{

//@@begin Bapi_Salesorder_Getlist()

Bapi_Salesorder_Getlist_Input bapi_obj = new Bapi_Salesorder_Getlist_Input ();

wdContext.nodeBapi_Salesorder_Getlist_Input(). bind(bapi_obj);

try{

bapi_obj.setCustomer_Number("0000000001");

bapi_obj.setSales_Organization("0001");

bapi_obj.execute();

wdContext.nodeOutput().invalidate();

}

catch (Exception e)

{

wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(e.toString());

e.getStackTrace();

}

//@@end</b>

Now , I want that i give any customer name like 2,3,4 , and i got the desired result.

so, where should i do the coding and what shoul be the coding as I have not the Java Background.

Thanks & regards,

Iqbal Ahmad