Hi there,
You only mentioned it works fine when you create via VA01 with option "Create via reference" and your condition type YBSC is copied successfully right?
{code}
Evethogh i create Normal VA01 order without reference the YBSC not copied
and if create VA01 with reference invoice it is getting copied. the customer is asking in the second way ? I thought I would like to pass the YBSC to BAPI he doesn't accepting the BAPI it self should create the YBSC automatically he is saying.. so I was struck here..
{code}
What I meant was to simulate the same thing programmatically using the COPY BAPI as SAP takes care of pricing part which actually saves you the pain of making the pricing correct via the other BAPIs.
Hope it makes sense now.