Getting object value

koenraad.janssens@arcelor.com koenraad.janssens at arcelor.com
Mon Nov 7 05:12:44 EST 2005


??
data: h_document type swc_object,
           h_sold_to type swc_object,
           h_sold_to_nr type kna-kunnr.

swc_create_object h_document  'BUS2032' documentnr
swc_get_property  h_document 'Orderingparty' h_sold_to
swc_get_property h_sold_to 'CustomerNo' h_sold_to_nr
??

Met vriendelijke groeten,
Salutations,
Best regards,
Mit freundlichen Grüssen,
Atentos saludos, 


Koenraad Janssens
Sidmar N.V. - ISM
Leverage Team - Programmer 
Tel: +32 9 347 35 76
email: koenraad.janssens at arcelor.com 





write2ananth at gmail.com
Sent by: sap-wug-bounces at mit.edu
07/11/2005 11:00
Please respond to sap-wug

 
        To:     SAP-WUG at mit.edu
        cc: 
        Subject:        Getting object value


Hi All,

I need some pointers about getting the value of 'Sold to Party' of a
Sales Order business object (BUS2032).

When the Sales Order is blocked (ie) the credit limit has been
exceeded for that Customer. I need to send a workitem to the concerned
person to execute VKM1 transaction ( Blocked SD documents) with KUNNR
number of that Sales Order and that person will execute the
transaction and Release the Blocked Sales Order.

I need to know how I can send call VKM1 transaction with the Customer No.

One option is, I can do a select on VBAK table with the Sales Order
number and get the Customer Number.

But I would like to get the Customer Number from the BUS2032 business
object attributes, there is an attribute called OrderingParty, which
is  KNA1 object. Can someone let me know how I can get this attribute
value from BUS2032.

Thanks in advance,
Ananth

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug




***********************************************************************************
This message should only be read by those persons to whom it is 
addressed, and may contain confidential information, the disclosure 
of which is prohibited. This message is not intended to create rights 
or obligations without subsequent written confirmation of its contents. 
If you have received this message in error, please notify us immediately 
***********************************************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20051107/85d414a0/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 8723 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20051107/85d414a0/attachment.jpg


More information about the SAP-WUG mailing list